We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e64d38b commit b9abebeCopy full SHA for b9abebe
test/test_device.py
@@ -96,6 +96,10 @@ def get_free_port():
96
cookie_path = os.path.join(self.datadir, "regtest", ".cookie")
97
while not os.path.exists(cookie_path):
98
time.sleep(0.5)
99
+ # Prevent CI from lingering until timeout:
100
+ if self.bitcoind_proc.poll() is not None:
101
+ raise f"bitcoind failed with exit code #{self.bitcoind_proc.poll()}"
102
+
103
# Read .cookie file to get user and pass
104
with open(cookie_path) as f:
105
self.userpass = f.readline().lstrip().rstrip()
0 commit comments