You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/derp
Josh Bleecher Snyder 3759fb8987 derp: deflake TestSendFreeze
On about 1 out of 500 runs, TestSendFreeze failed:

    derp_test.go:416: bob: unexpected message type derp.PeerGoneMessage

Closing alice before bob created a race.
If bob closed promptly, the test passed.
If bob closed slowly, and alice's disappearance caused
bob to receive a PeerGoneMessage before closing, the test failed.

Deflake the test by closing bob first.
With this fix, the test passed 12,000 times locally.

Fixes #2668

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
3 years ago
..
derphttp cmd/derper: mesh over VPC network 3 years ago
testdata derp: add debug traffic handler 3 years ago
derp.go derp: add new health update and server restarting frame types 3 years ago
derp_client.go derp: add new health update and server restarting frame types 3 years ago
derp_server.go metrics: move currentFDs code to the metrics package 3 years ago
derp_test.go derp: deflake TestSendFreeze 3 years ago
dropreason_string.go derp: accept dup clients without closing prior's connection 3 years ago