mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
integration: bump up 'TestV3LeaseRequireLeader' timeout to 5-sec
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
This commit is contained in:
parent
0afc51c762
commit
29bbcdd110
@ -528,8 +528,8 @@ func TestV3LeaseRequireLeader(t *testing.T) {
|
||||
}
|
||||
}()
|
||||
select {
|
||||
case <-time.After(time.Duration(5*electionTicks) * tickDuration):
|
||||
t.Fatalf("did not receive leader loss error")
|
||||
case <-time.After(5 * time.Second):
|
||||
t.Fatal("did not receive leader loss error (in 5-sec)")
|
||||
case <-donec:
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user