فهرست منبع

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

Joe Betz 8 سال پیش
والد
کامیت
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)