Skip to content

Commit

Permalink
only log nodes started when there are nodes starting
Browse files Browse the repository at this point in the history
  • Loading branch information
bfish713 committed Sep 24, 2024
1 parent a81ad8f commit 70c994b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions crates/testing/src/spinning_task.rs
Original file line number Diff line number Diff line change
Expand Up @@ -339,8 +339,11 @@ where
};
start_futs.push(fut);
}
join_all(start_futs).await;
tracing::error!("nodes all started");
if !start_futs.is_empty() {
join_all(start_futs).await;
tracing::error!("nodes all started");
}

// update our latest view
self.latest_view = Some(view_number);
}
Expand Down

0 comments on commit 70c994b

Please sign in to comment.