chainntnfs: ensure previous test succeeded before running
This commit is contained in:
3 files changed
+20
-4
No files matched your search
@@ -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")
|
||||
|
||||
Reference in new issue
Block a user