Fix tests due to trace spans
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
9122bd8755
commit
794ecae2a1
@ -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>) {
|
||||||
|
@ -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>) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user