consul: Fixing the KVS tests

This commit is contained in:
Armon Dadgar 2015-01-05 15:06:53 -08:00
parent d842b6da74
commit 3d45d76930
1 changed files with 3 additions and 0 deletions

View File

@ -1472,6 +1472,7 @@ func TestKVSDelete(t *testing.T) {
if err != nil {
t.Fatalf("err: %v", err)
}
gc.SetEnabled(true)
store.gc = gc
// Create the entry
@ -1934,6 +1935,7 @@ func TestKVSDeleteTree(t *testing.T) {
if err != nil {
t.Fatalf("err: %v", err)
}
gc.SetEnabled(true)
store.gc = gc
// Should not exist
@ -2015,6 +2017,7 @@ func TestReapTombstones(t *testing.T) {
if err != nil {
t.Fatalf("err: %v", err)
}
gc.SetEnabled(true)
store.gc = gc
// Should not exist