Removes panic repro test.

This commit is contained in:
James Phillips 2017-04-27 17:08:06 -07:00
parent e9606c225a
commit 77b803c12b
No known key found for this signature in database
GPG Key ID: 77183E682AC5FC11
1 changed files with 0 additions and 15 deletions

View File

@ -102,18 +102,3 @@ func TestTombstoneGC_Expire(t *testing.T) {
case <-time.After(20 * time.Millisecond): 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)
}
}