Skip to content

Commit

Permalink
Increase failover time in test
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Castell committed Mar 11, 2016
1 parent a15a34f commit 62b1856
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dkron/agent_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ func TestAgentCommand_runForElection(t *testing.T) {
shutdownCh <- struct{}{}

// Wait until test2 steps as leader
time.Sleep(2 * time.Second)
time.Sleep(5 * time.Second)

kv, _ = client.Get("dkron/leader")
leader = string(kv.Value)
Expand Down

0 comments on commit 62b1856

Please sign in to comment.