A promise that resolves with random delays for testing purposes.