Skip to content

Commit

Permalink
Revert "[test] Assert Traceback during daemon restart checks"
Browse files Browse the repository at this point in the history
This reverts commit 9a97df9.
  • Loading branch information
cgalibern committed Sep 27, 2021
1 parent 953a6bd commit ebd3ef3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions opensvc/tests/commands/daemon/test_daemon.py
Expand Up @@ -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
Expand Down Expand Up @@ -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')
Expand Down

0 comments on commit ebd3ef3

Please sign in to comment.