Browse Source

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

Joe Betz 8 years ago
parent
commit
33633da64c
1 changed files with 1 additions and 1 deletions
  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)
 			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)