grpc-java icon indicating copy to clipboard operation
grpc-java copied to clipboard

AbstractTransportTest is flaky.

Open madongfly opened this issue 11 years ago • 4 comments

I've seen several failures of Http2OkHttpTest.pingPong() on Travis, like this one: https://s3.amazonaws.com/archive.travis-ci.org/jobs/57879240/log.txt.

But I couldn't reproduce the same failure in ~30 runs in my local repository.

madongfly avatar Apr 10 '15 08:04 madongfly

It probably is. Travis is good at finding races because it is a much weaker machine than what we normally use. Simply because it is different things end up running in a different order, sometimes consistently.

ejona86 avatar Apr 10 '15 16:04 ejona86

Saw a similar failure for netty: io.grpc.testing.integration.Http2NettyTest > serverStreamingShouldBeFlowControlled FAILED

https://s3.amazonaws.com/archive.travis-ci.org/jobs/57969751/log.txt

madongfly avatar Apr 11 '15 03:04 madongfly

I tried --runs_per_test=5000 in internal but still couldn't reproduce the failure.

madongfly avatar Apr 11 '15 04:04 madongfly

Closing this issue because I didn't see the similar failure on Travis for a week after #302 was merged.

madongfly avatar Apr 21 '15 09:04 madongfly