bitcoindnotify: fix subtest closure in unit tests

This commit is contained in:
yyforyongyu
2023-01-18 15:51:25 +08:00
parent 48c8c1bf48
commit 1f67d6a548
3 changed files with 30 additions and 6 deletions

View File

@@ -12,6 +12,13 @@ import (
// TestInterfaces executes the generic notifier test suite against a bitcoind
// powered chain notifier.
func TestInterfaces(t *testing.T) {
chainntnfstest.TestInterfaces(t, "bitcoind")
chainntnfstest.TestInterfaces(t, "bitcoind-rpc-polling")
t.Run("bitcoind", func(st *testing.T) {
st.Parallel()
chainntnfstest.TestInterfaces(st, "bitcoind")
})
t.Run("bitcoind rpc polling", func(st *testing.T) {
st.Parallel()
chainntnfstest.TestInterfaces(st, "bitcoind-rpc-polling")
})
}