mirror of https://github.com/status-im/consul.git
Removed redundant call to reap tombstone from unit test
This commit is contained in:
parent
ae443e21d6
commit
b772c477c2
|
@ -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