bitcoindnotify: fix subtest closure in unit tests

This commit is contained in:
yyforyongyu committed 2023-01-19 21:06:23 +08:00
1 parent 48c8c1bf48
commit 1f67d6a548
3 files changed
+30 -6

No files matched your search

+9 -2
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")
})
}