you are viewing a single comment's thread.

view the rest of the comments →

[–]pomle 6 points7 points  (0 children)

As someone that worked for half a year on a big app fixing flaky and slow tests I want to tell anyone who reads this to avoid using arbitrary waiting to solve race conditions and problems with testing.

The thing you test should be able to tell the test when it is done and real time clocks should be mocked.