From 64af23ec6cc8f828f619bbb90f06e0b472188ebf Mon Sep 17 00:00:00 2001 From: Cole Helbling Date: Mon, 27 Mar 2023 11:38:06 -0700 Subject: [PATCH] log_message_collector: assert that the log file exists if it has only started This will fail, because that is currently not the case. However, the following commit will make the tests pass. --- ofborg/src/tasks/log_message_collector.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/ofborg/src/tasks/log_message_collector.rs b/ofborg/src/tasks/log_message_collector.rs index be4113a..64f7b8e 100644 --- a/ofborg/src/tasks/log_message_collector.rs +++ b/ofborg/src/tasks/log_message_collector.rs @@ -398,6 +398,7 @@ mod tests { }) ); + assert!(p.path().join("routing-key-foo/attempt-id-foo").exists()); assert_eq!(vec![worker::Action::Ack], worker.consumer(&job)); logmsg.line_number = 5;