test: Remove --noshutdown flag

This commit is contained in:
MarcoFalke committed 2025-01-08 11:02:10 +01:00
1 parent fad441fba0
commit fa0dc09b90
2 files changed
+4 -13

No files matched your search

+1 -2
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.