From ebd3ef3faad59a51f00eb7864db73e7861f34e18 Mon Sep 17 00:00:00 2001 From: Cyril Galibern Date: Mon, 27 Sep 2021 10:43:32 +0200 Subject: [PATCH] Revert "[test] Assert Traceback during daemon restart checks" This reverts commit 9a97df92187e3e90c17d77c826b5d3203f63399d. --- opensvc/tests/commands/daemon/test_daemon.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/opensvc/tests/commands/daemon/test_daemon.py b/opensvc/tests/commands/daemon/test_daemon.py index b4d8fc69f..afed475d0 100644 --- a/opensvc/tests/commands/daemon/test_daemon.py +++ b/opensvc/tests/commands/daemon/test_daemon.py @@ -205,7 +205,7 @@ def test_run_join(daemon_join): class TestNodemgrDaemonActions: @staticmethod @pytest.mark.slow - def test_start_status_restart_stop_with_running_check(mocker, osvc_path_tests, capture_stdout, tmp_file): + def test_start_status_restart_stop_with_running_check(mocker, capture_stdout, tmp_file): wait_time_for_osvcd_ready = 8 if 'OPENSVC_CI_EXTRA_TIME_OSVCD_STARTUP' in os.environ: # give extra time when slow ci @@ -298,9 +298,6 @@ def daemon_start_native(_): print('daemon is not running...') assert commands.daemon.main(argv=["running", "--debug"]) > 0 - with open(os.path.join(str(osvc_path_tests), "log", "node.log"), "r") as log_file: - assert "Traceback" not in log_file.read() - @pytest.mark.ci @pytest.mark.usefixtures('osvc_path_tests', 'has_node_config', 'has_euid_0')