From 77b803c12b496d7116930e5305e1d3a029c63e05 Mon Sep 17 00:00:00 2001 From: James Phillips Date: Thu, 27 Apr 2017 17:08:06 -0700 Subject: [PATCH] Removes panic repro test. --- consul/state/tombstone_gc_test.go | 15 --------------- 1 file changed, 15 deletions(-) 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) - } -}