Removed redundant call to reap tombstone from unit test
This commit is contained in:
parent
996302c085
commit
1503d63595
|
@ -1081,9 +1081,6 @@ func TestStateStore_Watches_PrefixDelete(t *testing.T) {
|
|||
t.Fatalf("bad index: %d, expected %d", got, wantIndex)
|
||||
}
|
||||
|
||||
if err := s.ReapTombstones(7); err != nil {
|
||||
t.Fatalf("err: %s", err)
|
||||
}
|
||||
ws = memdb.NewWatchSet()
|
||||
// Set a different key to bump the index. This shouldn't fire the
|
||||
// watch since there's a different prefix.
|
||||
|
|
Loading…
Reference in New Issue