diff --git a/raft/node_test.go b/raft/node_test.go index d24b3c707..a0da4f26d 100644 --- a/raft/node_test.go +++ b/raft/node_test.go @@ -99,8 +99,8 @@ func TestNodeStepUnblock(t *testing.T) { n.done = make(chan struct{}) default: } - case <-time.After(time.Millisecond * 100): - t.Errorf("#%d: failed to unblock step", i) + case <-time.After(1 * time.Second): + t.Fatalf("#%d: failed to unblock step", i) } } }