mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #4298 from heyitsanthony/fix-testapplysnapshot-race
etcdserver/test: synchronously wait on TestApplySnapshotAndCommittedE…
This commit is contained in:
@@ -1019,7 +1019,7 @@ func TestRecvSnapshot(t *testing.T) {
|
||||
// first and then committed entries.
|
||||
func TestApplySnapshotAndCommittedEntries(t *testing.T) {
|
||||
n := newNopReadyNode()
|
||||
st := store.NewRecorder()
|
||||
st := store.NewRecorderStream()
|
||||
cl := newCluster("abc")
|
||||
cl.SetStore(store.New())
|
||||
storage := raft.NewMemoryStorage()
|
||||
|
||||
Reference in New Issue
Block a user