From bf0c72693864be9de21f3bf2924569f7d0265f8c Mon Sep 17 00:00:00 2001 From: Dmitri Khokhlov Date: Thu, 17 Aug 2023 07:23:22 +0000 Subject: [PATCH] fix: added stderror printout in test --- bin/tests/it/cli.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/tests/it/cli.rs b/bin/tests/it/cli.rs index 07468c8aa..0c4e17701 100644 --- a/bin/tests/it/cli.rs +++ b/bin/tests/it/cli.rs @@ -2393,6 +2393,8 @@ fn test_fs_rescan_on_initial_log_dir_delete() { common::wait_for_event("rescanning stream", &mut reader); + consume_output(reader.into_inner()); + common::assert_agent_running(&mut agent_handle); agent_handle.kill().expect("Could not kill process"); @@ -2416,6 +2418,8 @@ fn test_fs_rescan_on_initial_log_dir_create() { common::wait_for_event("rescanning stream", &mut reader); + consume_output(reader.into_inner()); + common::assert_agent_running(&mut agent_handle); agent_handle.kill().expect("Could not kill process");