From b772c477c29c28d7afed3366ec40fbbb8e101411 Mon Sep 17 00:00:00 2001 From: Preetha Appan Date: Tue, 25 Jul 2017 19:39:05 -0500 Subject: [PATCH] Removed redundant call to reap tombstone from unit test --- agent/consul/state/kvs_test.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/agent/consul/state/kvs_test.go b/agent/consul/state/kvs_test.go index a278f7ca2c..6d5eca6443 100644 --- a/agent/consul/state/kvs_test.go +++ b/agent/consul/state/kvs_test.go @@ -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.