Cleans up some bad unit test failure cases.

This commit is contained in:
James Phillips 2017-04-27 16:41:42 -07:00
parent 48bdf48003
commit e156a58b95
No known key found for this signature in database
GPG Key ID: 77183E682AC5FC11
1 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ func TestTombstoneGC(t *testing.T) {
gran := 5 * time.Millisecond
gc, err := NewTombstoneGC(ttl, gran)
if err != nil {
t.Fatalf("should fail")
t.Fatalf("err: %v", err)
}
gc.SetEnabled(true)
@ -81,7 +81,7 @@ func TestTombstoneGC_Expire(t *testing.T) {
gran := 5 * time.Millisecond
gc, err := NewTombstoneGC(ttl, gran)
if err != nil {
t.Fatalf("should fail")
t.Fatalf("err: %v", err)
}
gc.SetEnabled(true)