Skip to content

Commit

Permalink
fix: report min rps metric even if we failed
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanielc committed Feb 8, 2024
1 parent e41e152 commit 784e4d7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion runner/src/simulate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,10 @@ impl ScenarioState {
(CommandResult::Success, Some(min_peer_rps))
} else {
warn!(?errors, "FAILURE! Not all peers met the threshold");
(CommandResult::Failure(anyhow!(errors.join("\n"))), None)
(
CommandResult::Failure(anyhow!(errors.join("\n"))),
Some(min_peer_rps),
)
}
}
}
Expand Down

0 comments on commit 784e4d7

Please sign in to comment.