mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #5556 from xiang90/r_test
raft: fix TestNodeStepUnblock
This commit is contained in:
commit
6187d812da
@ -99,8 +99,8 @@ func TestNodeStepUnblock(t *testing.T) {
|
|||||||
n.done = make(chan struct{})
|
n.done = make(chan struct{})
|
||||||
default:
|
default:
|
||||||
}
|
}
|
||||||
case <-time.After(time.Millisecond * 100):
|
case <-time.After(1 * time.Second):
|
||||||
t.Errorf("#%d: failed to unblock step", i)
|
t.Fatalf("#%d: failed to unblock step", i)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user