Просмотр исходного кода

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

Joe Betz 8 лет назад
Родитель
Сommit
33633da64c
1 измененных файлов с 1 добавлено и 1 удалено
  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)