Skip to content

Commit

Permalink
Merge pull request #7955 from gyuho/timeout
Browse files Browse the repository at this point in the history
integration: bump up 'TestV3LeaseRequireLeader' timeout to 5-sec
  • Loading branch information
gyuho authored May 19, 2017
2 parents 0afc51c + 29bbcdd commit b82ef00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions integration/v3_lease_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:
}
}
Expand Down

0 comments on commit b82ef00

Please sign in to comment.