mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
deflake TestTracing
Signed-off-by: Chao Chen <chaochn@amazon.com>
This commit is contained in:
parent
c6d8b65ea7
commit
f163af2bc8
@ -70,7 +70,9 @@ func TestTracing(t *testing.T) {
|
||||
|
||||
select {
|
||||
case <-etcdSrv.Server.ReadyNotify():
|
||||
case <-time.After(1 * time.Second):
|
||||
case <-time.After(5 * time.Second):
|
||||
// default randomized election timeout is 1 to 2s, single node will fast-forward 900ms
|
||||
// change the timeout from 1 to 5 seconds to ensure de-flaking this test
|
||||
t.Fatalf("failed to start embed.Etcd for test")
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user