mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
mvcc: fix watchable store test for 3.2 cherrypick of #9281
This commit is contained in:
parent
b6373f1625
commit
087b9aa3dc
@ -310,7 +310,7 @@ func TestWatchRestore(t *testing.T) {
|
|||||||
defer cleanup(newStore, newBackend, newPath)
|
defer cleanup(newStore, newBackend, newPath)
|
||||||
|
|
||||||
w := newStore.NewWatchStream()
|
w := newStore.NewWatchStream()
|
||||||
w.Watch(0, testKey, nil, rev-1)
|
w.Watch(testKey, nil, rev-1)
|
||||||
|
|
||||||
time.Sleep(delay)
|
time.Sleep(delay)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user