@@ -287,7 +287,7 @@ class TestSuiteAutosign(TestSuiteBase):
foo = do_autosign(opts,mountpoint,mn_type='bip39',short=True)
ret = do_autosign(opts,mountpoint)
finally:
- stop_test_daemons(*network_ids)
+ stop_test_daemons(*[i for i in network_ids if i != 'btc'])
return ret
@@ -110,7 +110,7 @@ class TestSuiteRefAltcoin(TestSuiteRef,TestSuiteBase):
extra_desc = f'{proto.coin}{token_desc} {proto.network}')
t.read()
t.ok()
- if proto.sign_mode == 'daemon':
+ if proto.sign_mode == 'daemon' and not proto.network_id == 'btc':
stop_test_daemons(proto.network_id)
return 'ok'
@@ -297,6 +297,7 @@ class TestSuiteRegtest(TestSuiteBase,TestSuiteShared):
end_silence()
def setup(self):
+ stop_test_daemons(self.proto.network_id)
try: shutil.rmtree(joinpath(self.tr.data_dir,'regtest'))
except: pass
t = self.spawn('mmgen-regtest',['-n','setup'])