2020-05-15 17:59:37 +03:00
|
|
|
// +build kvdb_etcd
|
|
|
|
|
2020-02-18 21:40:08 +03:00
|
|
|
package etcd
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
|
|
|
|
"github.com/btcsuite/btcwallet/walletdb/walletdbtest"
|
|
|
|
)
|
|
|
|
|
|
|
|
// TestWalletDBInterface performs the WalletDB interface test suite for the
|
|
|
|
// etcd database driver.
|
|
|
|
func TestWalletDBInterface(t *testing.T) {
|
|
|
|
f := NewEtcdTestFixture(t)
|
|
|
|
defer f.Cleanup()
|
|
|
|
walletdbtest.TestInterface(t, dbType, f.BackendConfig())
|
|
|
|
}
|