Skip to content

Commit

Permalink
fix log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
faithanalog committed Aug 18, 2023
1 parent a93b11d commit 4885fb2
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions nexus/db-queries/src/db/datastore/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,7 @@ mod test {
/// deterministic by generating deterministic *dataset* Uuids. The sled and
/// pool IDs should not matter.
async fn test_region_allocation_strat_random() {
let logctx = dev::test_setup_log("test_region_allocation");
let logctx = dev::test_setup_log("test_region_allocation_strat_random");
let mut db = test_setup_database(&logctx.log).await;
let (opctx, datastore) = datastore_test(&logctx, &db).await;
create_test_datasets_for_region_allocation(
Expand Down Expand Up @@ -808,7 +808,9 @@ mod test {
/// It should always pick datasets where no two datasets are on the same
/// zpool and no two zpools are on the same sled.
async fn test_region_allocation_strat_random_with_distinct_sleds() {
let logctx = dev::test_setup_log("test_region_allocation");
let logctx = dev::test_setup_log(
"test_region_allocation_strat_random_with_distinct_sleds",
);
let mut db = test_setup_database(&logctx.log).await;
let (opctx, datastore) = datastore_test(&logctx, &db).await;

Expand Down Expand Up @@ -884,7 +886,9 @@ mod test {
/// Ensure the [`RegionAllocationStrategy::RandomWithDistinctSleds`]
/// strategy fails when there aren't enough distinct sleds.
async fn test_region_allocation_strat_random_with_distinct_sleds_fails() {
let logctx = dev::test_setup_log("test_region_allocation");
let logctx = dev::test_setup_log(
"test_region_allocation_strat_random_with_distinct_sleds_fails",
);
let mut db = test_setup_database(&logctx.log).await;
let (opctx, datastore) = datastore_test(&logctx, &db).await;

Expand Down

0 comments on commit 4885fb2

Please sign in to comment.