]> Cypherpunks repositories - gostls13.git/commit
net: deflake lookup tests
authorJosh Bleecher Snyder <josharian@gmail.com>
Sun, 25 Mar 2018 05:09:51 +0000 (22:09 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Sun, 25 Mar 2018 05:44:39 +0000 (05:44 +0000)
commit5ce92d0384ecc8aa0247a9c280acbb6a65e4585e
tree5cce59265a4e1daf3ad3cf5b9c170794e80145f9
parent6f08b9faf2f92752b3246cf52a1f3be76c3882a9
net: deflake lookup tests

The build dashboard is dotted with net test failures.
We cannot declare all builders to have flaky networks,
although all fundamentally do.

Instead, add a simple retry/backoff loop to the ones that
show up most commonly on the dashboard at this moment.

If this approach works well in practice, we can
incrementally apply it to other flaky net tests.

Change-Id: I69c1ca6ce5b347ad549c7eb18d0438373f6e2489
Reviewed-on: https://go-review.googlesource.com/102397
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/net/lookup_test.go