test: Remove --noshutdown flag

This commit is contained in:
MarcoFalke
2025-01-08 11:02:46 +01:00
parent fad441fba0
commit fa0dc09b90
2 changed files with 4 additions and 13 deletions

View File

@@ -159,7 +159,6 @@ class TestNode():
self.rpc = None
self.url = None
self.log = logging.getLogger('TestFramework.node%d' % i)
self.cleanup_on_exit = True # Whether to kill the node when this object goes away
# Cache perf subprocesses here by their data output filename.
self.perf_subprocesses = {}
@@ -201,7 +200,7 @@ class TestNode():
def __del__(self):
# Ensure that we don't leave any bitcoind processes lying around after
# the test ends
if self.process and self.cleanup_on_exit:
if self.process:
# Should only happen on test failure
# Avoid using logger, as that may have already been shutdown when
# this destructor is called.