Skip to content

Commit

Permalink
fix clippy complains
Browse files Browse the repository at this point in the history
  • Loading branch information
drmingdrmer committed Jun 1, 2021
1 parent e9f4045 commit 22cd1a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions async-raft/tests/metrics_state_machine_consistency.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ async fn metrics_state_machine_consistency() -> Result<()> {
Duration::from_micros(100),
"n0.state -> Leader",
)
.await;
.await?;

tracing::info!("--- add one non-voter");
router.add_non_voter(0, 1).await?;
Expand All @@ -60,7 +60,7 @@ async fn metrics_state_machine_consistency() -> Result<()> {
Duration::from_micros(100),
&format!("n{}.last_applied -> {}", node_id, want),
)
.await;
.await?;

let sto = router.get_storage_handle(&node_id).await?;
assert!(sto.get_state_machine().await.client_status.get("foo").is_some());
Expand Down

0 comments on commit 22cd1a0

Please sign in to comment.