diff --git a/tests/test_simple.py b/tests/test_simple.py index d9844fed..e13cf095 100644 --- a/tests/test_simple.py +++ b/tests/test_simple.py @@ -438,6 +438,19 @@ def test_pg_ctl_wait_option(self): nAttempt = 0 while True: if nAttempt == C_MAX_ATTEMPTS: + # + # [2025-03-11] + # We have an unexpected problem with this test in CI + # Let's get an additional information about this test failure. + # + logging.error("Node was not stopped.") + if not node.os_ops.path_exists(node.pg_log_file): + logging.warning("Node log does not exist.") + else: + logging.info("Let's read node log file [{0}]".format(node.pg_log_file)) + logFileData = node.os_ops.read(node.pg_log_file, binary=False) + logging.info("Node log file content:\n{0}".format(logFileData)) + raise Exception("Could not stop node.") nAttempt += 1 diff --git a/tests/test_simple_remote.py b/tests/test_simple_remote.py index cdad161c..d484f1e3 100755 --- a/tests/test_simple_remote.py +++ b/tests/test_simple_remote.py @@ -517,6 +517,19 @@ def test_pg_ctl_wait_option(self): nAttempt = 0 while True: if nAttempt == C_MAX_ATTEMPTS: + # + # [2025-03-11] + # We have an unexpected problem with this test in CI + # Let's get an additional information about this test failure. + # + logging.error("Node was not stopped.") + if not node.os_ops.path_exists(node.pg_log_file): + logging.warning("Node log does not exist.") + else: + logging.info("Let's read node log file [{0}]".format(node.pg_log_file)) + logFileData = node.os_ops.read(node.pg_log_file, binary=False) + logging.info("Node log file content:\n{0}".format(logFileData)) + raise Exception("Could not stop node.") nAttempt += 1
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: