func TestConsulStore(t *testing.T) { kv := makeConsulClient(t) backup := makeConsulClient(t) testutils.RunTestCommon(t, kv) testutils.RunTestAtomic(t, kv) testutils.RunTestWatch(t, kv) testutils.RunTestLock(t, kv) testutils.RunTestTTL(t, kv, backup) }
func TestEtcdStore(t *testing.T) { kv := makeEtcdClient(t) backup := makeEtcdClient(t) testutils.RunTestCommon(t, kv) testutils.RunTestAtomic(t, kv) testutils.RunTestWatch(t, kv) testutils.RunTestLock(t, kv) testutils.RunTestTTL(t, kv, backup) testutils.RunCleanup(t, kv) }
func TestZkStore(t *testing.T) { kv := makeZkClient(t) ttlKV := makeZkClient(t) testutils.RunTestCommon(t, kv) testutils.RunTestAtomic(t, kv) testutils.RunTestWatch(t, kv) testutils.RunTestLock(t, kv) testutils.RunTestTTL(t, kv, ttlKV) testutils.RunCleanup(t, kv) }