From e156a58b9543d84ae37adf300819125e4e22ee50 Mon Sep 17 00:00:00 2001 From: James Phillips Date: Thu, 27 Apr 2017 16:41:42 -0700 Subject: [PATCH] Cleans up some bad unit test failure cases. --- consul/state/tombstone_gc_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/consul/state/tombstone_gc_test.go b/consul/state/tombstone_gc_test.go index 44ca19874a..24b318bf16 100644 --- a/consul/state/tombstone_gc_test.go +++ b/consul/state/tombstone_gc_test.go @@ -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)