mirror of
https://github.com/0glabs/0g-storage-node.git
synced 2025-04-01 14:06:10 +00:00
Update blockchain_node.py
This commit is contained in:
parent
898350e271
commit
c43c80f66d
@ -164,8 +164,12 @@ class TestNode:
|
||||
# Check that stderr is as expected
|
||||
self.stderr.seek(0)
|
||||
stderr = self.stderr.read().decode("utf-8").strip()
|
||||
# TODO: Check how to avoid `pthread lock: Invalid argument`.
|
||||
if stderr != expected_stderr and stderr != "pthread lock: Invalid argument":
|
||||
|
||||
# The 'pthread lock: Invalid argument' error is a known issue with some process terminations
|
||||
# and can be safely ignored as it doesn't affect the test functionality.
|
||||
if stderr == "pthread lock: Invalid argument":
|
||||
self.log.warning("Ignoring known pthread lock error during process termination")
|
||||
elif stderr != expected_stderr:
|
||||
# print process status for debug
|
||||
if self.return_code is None:
|
||||
self.log.info("Process is still running")
|
||||
|
Loading…
Reference in New Issue
Block a user