diff --git a/consul/state/tombstone_gc_test.go b/consul/state/tombstone_gc_test.go index 7e59411f4..24b318bf1 100644 --- a/consul/state/tombstone_gc_test.go +++ b/consul/state/tombstone_gc_test.go @@ -102,18 +102,3 @@ func TestTombstoneGC_Expire(t *testing.T) { case <-time.After(20 * time.Millisecond): } } - -func TestTombstoneGC_TimerAfterShutdown(t *testing.T) { - ttl := 2 * time.Microsecond - gran := 1 * time.Microsecond - gc, err := NewTombstoneGC(ttl, gran) - if err != nil { - t.Fatalf("err: %v", err) - } - - for i := 0; i < 1000; i++ { - gc.SetEnabled(true) - gc.Hint(100 + uint64(i)) - gc.SetEnabled(false) - } -}