Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions bd-resilient-kv/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ bd-client-stats-store = { path = "../bd-client-stats-store" }
bd-error-reporter = { path = "../bd-error-reporter" }
bd-log = { path = "../bd-log" }
bd-proto = { path = "../bd-proto" }
bd-stats-common = { path = "../bd-stats-common" }
bd-time = { path = "../bd-time" }
bd-workspace-hack.workspace = true
bytes.workspace = true
Expand Down
1 change: 1 addition & 0 deletions bd-resilient-kv/src/tests/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
use bd_proto::protos::state;

pub mod versioned_kv_store_dynamic_growth_test;
pub mod versioned_kv_store_metrics_test;
pub mod versioned_kv_store_test;
pub mod versioned_recovery_error_test;
pub mod versioned_recovery_test;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ async fn insert_triggers_rotation_on_capacity_exceeded() -> anyhow::Result<()> {
#[tokio::test]
async fn insert_fails_when_exceeding_max_capacity() -> anyhow::Result<()> {
use bd_client_stats_store::test::StatsHelper;
use std::collections::BTreeMap;
use bd_stats_common::labels;

let setup = Setup::new();

Expand Down Expand Up @@ -398,8 +398,8 @@ async fn insert_fails_when_exceeding_max_capacity() -> anyhow::Result<()> {
// Verify the metric was incremented
setup.collector.assert_counter_eq(
1,
"test:kv:capacity_exceeded_unrecoverable",
BTreeMap::new(),
"test:kv:capacity_exceeded",
labels!("recoverable" => "false"),
);

Ok(())
Expand Down
Loading
Loading