Removed redundant call to reap tombstone from unit test

This commit is contained in:
Preetha Appan 2017-07-25 19:39:05 -05:00
parent 996302c085
commit 1503d63595
1 changed files with 0 additions and 3 deletions

View File

@ -1081,9 +1081,6 @@ func TestStateStore_Watches_PrefixDelete(t *testing.T) {
t.Fatalf("bad index: %d, expected %d", got, wantIndex) t.Fatalf("bad index: %d, expected %d", got, wantIndex)
} }
if err := s.ReapTombstones(7); err != nil {
t.Fatalf("err: %s", err)
}
ws = memdb.NewWatchSet() ws = memdb.NewWatchSet()
// Set a different key to bump the index. This shouldn't fire the // Set a different key to bump the index. This shouldn't fire the
// watch since there's a different prefix. // watch since there's a different prefix.