Explorar o código

mvcc: fix watchable store test for 3.2 cherrypick of #9281

Joe Betz %!s(int64=8) %!d(string=hai) anos
pai
achega
33633da64c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      mvcc/watchable_store_test.go

+ 1 - 1
mvcc/watchable_store_test.go

@@ -310,7 +310,7 @@ func TestWatchRestore(t *testing.T) {
 			defer cleanup(newStore, newBackend, newPath)
 
 			w := newStore.NewWatchStream()
-			w.Watch(0, testKey, nil, rev-1)
+			w.Watch(testKey, nil, rev-1)
 
 			time.Sleep(delay)