News for hackers. Stuff that matters.
Re:Where do Google's flaky tests come from? by sorokod on Saturday February 02, 2019 @01:38PM (#19064746)
In such cases it is better to await on some outcome of the asynchronous calculation. In Java ecosystem we have awaitility (https://github.com/awaitility/awaitility) which provides a bunch of utility methods in this spirit.
Re:Where do Google's flaky tests come from? by slavik81 on Saturday February 02, 2019 @06:28PM (#19066564)
That's how our tests worked, but you still must choose a timeout or you will wait forever when you do not receive the response you're listening for.

Setting up the CI system to report failure on the first error would have helped a lot too. Waiting on a single timeout was not too bad. The problem was waiting on hundreds of them.