chainntnfs: ensure previous test succeeded before running

This commit is contained in:
yyforyongyu committed 2024-12-10 19:56:01 +08:00
1 parent fb429d658b
commit f03e242515
3 files changed
+20 -4

No files matched your search

+5 -1
View File
@@ -12,11 +12,15 @@ import (
// TestInterfaces executes the generic notifier test suite against a bitcoind
// powered chain notifier.
func TestInterfaces(t *testing.T) {
t.Run("bitcoind", func(st *testing.T) {
success := t.Run("bitcoind", func(st *testing.T) {
st.Parallel()
chainntnfstest.TestInterfaces(st, "bitcoind")
})
if !success {
return
}
t.Run("bitcoind rpc polling", func(st *testing.T) {
st.Parallel()
chainntnfstest.TestInterfaces(st, "bitcoind-rpc-polling")