Skip to content

Commit

Permalink
Wait a bit more for leader swap
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Castell committed Aug 31, 2015
1 parent 95873aa commit 6d380f7
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 @@ -137,7 +137,7 @@ func TestAgentCommandElectLeader(t *testing.T) {
t.Logf("Leader changed: %s", res.Node.Value)
}
stop <- true
case <-time.After(10 * time.Second):
case <-time.After(20 * time.Second):
t.Fatal("No leader swap occurred")
stop <- true
}
Expand Down

0 comments on commit 6d380f7

Please sign in to comment.