Skip to content

Commit

Permalink
[tests] Fix tests due to change in log string
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Townsend committed Apr 12, 2024
1 parent c39895e commit 8ac8d93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/qemu/test_qemu_backend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ TEST_F(QemuBackend, force_shutdown_kills_process_and_logs)
logger_scope.mock_logger->expect_log(mpl::Level::info, "process program");
logger_scope.mock_logger->expect_log(mpl::Level::info, "process arguments");
logger_scope.mock_logger->expect_log(mpl::Level::info, "process started");
logger_scope.mock_logger->expect_log(mpl::Level::info, "Forced shutdown");
logger_scope.mock_logger->expect_log(mpl::Level::info, "Forcing shutdown");
logger_scope.mock_logger->expect_log(mpl::Level::info, "Killing process");
logger_scope.mock_logger->expect_log(mpl::Level::error, "Killed");
logger_scope.mock_logger->expect_log(mpl::Level::error, "Force stopped");
Expand Down Expand Up @@ -446,7 +446,7 @@ TEST_F(QemuBackend, force_shutdown_no_process_logs)

auto logger_scope = mpt::MockLogger::inject();
logger_scope.mock_logger->screen_logs(mpl::Level::info);
logger_scope.mock_logger->expect_log(mpl::Level::info, "Forced shutdown");
logger_scope.mock_logger->expect_log(mpl::Level::info, "Forcing shutdown");
logger_scope.mock_logger->expect_log(mpl::Level::info, "No process to kill");

mpt::StubVMStatusMonitor stub_monitor;
Expand Down

0 comments on commit 8ac8d93

Please sign in to comment.