mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-03 20:46:04 +02:00
bitcoindnotify: fix subtest closure in unit tests
This commit is contained in:
@@ -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")
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user