update condition to align with source change

This commit is contained in:
Peter Zhang 2025-04-30 15:30:18 +08:00
parent 17cb7657cd
commit a6e0be5e12

View File

@ -162,7 +162,7 @@ class TestNode:
self.stderr.seek(0) self.stderr.seek(0)
stderr = self.stderr.read().decode("utf-8").strip() stderr = self.stderr.read().decode("utf-8").strip()
# TODO: Check how to avoid `pthread lock: Invalid argument`. # TODO: Check how to avoid `pthread lock: Invalid argument`.
if stderr != expected_stderr and stderr != "pthread lock: Invalid argument": if stderr != expected_stderr and stderr != "pthread lock: Invalid argument" and "pthread_mutex_lock" not in stderr:
# print process status for debug # print process status for debug
if self.return_code is None: if self.return_code is None:
self.log.info("Process is still running") self.log.info("Process is still running")