Fix tests due to trace spans
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Alex Mikhalev 2020-09-27 21:12:10 -06:00
parent 9122bd8755
commit 794ecae2a1
2 changed files with 2 additions and 2 deletions

View File

@ -455,7 +455,7 @@ mod test {
yield_now().await; yield_now().await;
assert_eq!(quit_msg.get_count(), 1); assert_eq!(quit_msg.get_count(), 1);
assert_eq!(task_span.get_exit_count(), 1); assert!(task_span.get_exit_count() > 1);
} }
fn make_sections_and_runner() -> (Sections, SectionRunner, Arc<MockSectionInterface>) { fn make_sections_and_runner() -> (Sections, SectionRunner, Arc<MockSectionInterface>) {

View File

@ -514,7 +514,7 @@ mod test {
runner.quit().await.unwrap(); runner.quit().await.unwrap();
assert_eq!(quit_msg.get_count(), 1); assert_eq!(quit_msg.get_count(), 1);
assert_eq!(task_span.get_exit_count(), 1); assert!(task_span.get_exit_count() > 1);
} }
fn make_sections_and_interface() -> (Sections, Arc<MockSectionInterface>) { fn make_sections_and_interface() -> (Sections, Arc<MockSectionInterface>) {