Browse Source

Fix tests due to trace spans

master
Alex Mikhalev 4 years ago
parent
commit
794ecae2a1
  1. 2
      src/program_runner.rs
  2. 2
      src/section_runner.rs

2
src/program_runner.rs

@ -455,7 +455,7 @@ mod test { @@ -455,7 +455,7 @@ mod test {
yield_now().await;
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>) {

2
src/section_runner.rs

@ -514,7 +514,7 @@ mod test { @@ -514,7 +514,7 @@ mod test {
runner.quit().await.unwrap();
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>) {

Loading…
Cancel
Save