Esempio n. 1
0
func TestAll(t *testing.T) {
	kv, err := kvdb.New(Name, "pwx/test", nil, nil)
	if err != nil {
		t.Fatalf("Failed to initialize KVDB: %v", err)
	}

	err = kvdb.SetInstance(kv)
	if err != nil {
		t.Fatalf("Failed to set instance: %v", err)
	}

	test.Run(t)
}
Esempio n. 2
0
func TestAll(t *testing.T) {
	test.Run(New, t)
}
Esempio n. 3
0
func TestAll(t *testing.T) {
	test.Run(New, t)
	// Run the basic tests with an authenticated etcd
	// Uncomment if you have an auth enabled etcd setup. Checkout the test/kv.go for options
	//test.RunAuth(New, t)
}