Skip to content

Commit

Permalink
fix: fmt and clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
WenyXu committed Sep 11, 2024
1 parent 4e6d6c4 commit c5d9aca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ reqwest = { version = "0.12", default-features = false, features = [
"stream",
"multipart",
] }
scopeguard = "1.2"
rskafka = { git = "https://github.com/influxdata/rskafka.git", rev = "75535b5ad9bae4a5dbb582c82e44dfd81ec10105", features = [
"transport-tls",
] }
Expand All @@ -162,6 +161,7 @@ rstest_reuse = "0.7"
rust_decimal = "1.33"
rustc-hash = "2.0"
schemars = "0.8"
scopeguard = "1.2"
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0", features = ["float_roundtrip"] }
serde_with = "3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ mod tests {
let mut ctx = env.context_factory().new_context(persistent_context);
ctx.volatile_ctx.operations_elapsed = ctx.persistent_ctx.timeout + Duration::from_secs(1);

let err = state.upgrade_region(&mut ctx).await.unwrap_err();
let err = state.upgrade_region(&ctx).await.unwrap_err();

assert_matches!(err, Error::ExceededDeadline { .. });
assert!(!err.is_retryable());
Expand Down

0 comments on commit c5d9aca

Please sign in to comment.