diff --git a/channeldb/kvdb/etcd/walletdb_interface_test.go b/channeldb/kvdb/etcd/walletdb_interface_test.go new file mode 100644 index 00000000..fe674acd --- /dev/null +++ b/channeldb/kvdb/etcd/walletdb_interface_test.go @@ -0,0 +1,15 @@ +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()) +} diff --git a/go.sum b/go.sum index f52981d8..3ab92e2a 100644 --- a/go.sum +++ b/go.sum @@ -44,7 +44,6 @@ github.com/btcsuite/btcwallet/wallet/txrules v1.0.0/go.mod h1:UwQE78yCerZ313EXZw github.com/btcsuite/btcwallet/wallet/txsizes v1.0.0 h1:6DxkcoMnCPY4E9cUDPB5tbuuf40SmmMkSQkoE8vCT+s= github.com/btcsuite/btcwallet/wallet/txsizes v1.0.0/go.mod h1:pauEU8UuMFiThe5PB3EO+gO5kx87Me5NvdQDsTuq6cs= github.com/btcsuite/btcwallet/walletdb v1.0.0/go.mod h1:bZTy9RyYZh9fLnSua+/CD48TJtYJSHjjYcSaszuxCCk= -github.com/btcsuite/btcwallet/walletdb v1.2.0 h1:E0+M4jHOToAvGWZ27ew5AaDAHDi6fUiXkjUJUnoEOD0= github.com/btcsuite/btcwallet/walletdb v1.2.0/go.mod h1:9cwc1Yyg4uvd4ZdfdoMnALji+V9gfWSMfxEdLdR5Vwc= github.com/btcsuite/btcwallet/walletdb v1.3.1 h1:lW1Ac3F1jJY4K11P+YQtRNcP5jFk27ASfrV7C6mvRU0= github.com/btcsuite/btcwallet/walletdb v1.3.1/go.mod h1:9cwc1Yyg4uvd4ZdfdoMnALji+V9gfWSMfxEdLdR5Vwc=