We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6d8b65 commit f163af2Copy full SHA for f163af2
tests/integration/tracing_test.go
@@ -70,7 +70,9 @@ func TestTracing(t *testing.T) {
70
71
select {
72
case <-etcdSrv.Server.ReadyNotify():
73
- case <-time.After(1 * time.Second):
+ case <-time.After(5 * time.Second):
74
+ // default randomized election timeout is 1 to 2s, single node will fast-forward 900ms
75
+ // change the timeout from 1 to 5 seconds to ensure de-flaking this test
76
t.Fatalf("failed to start embed.Etcd for test")
77
}
78
0 commit comments