Skip to content

Commit

Permalink
fixes from merging main
Browse files Browse the repository at this point in the history
  • Loading branch information
jgallagher committed Feb 26, 2024
1 parent f264f51 commit 16d749f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
6 changes: 5 additions & 1 deletion nexus/blueprint-execution/src/datasets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,11 @@ mod tests {
},
rack_id,
);
datastore.sled_upsert(sled).await.expect("failed to upsert sled");
datastore
.sled_upsert(sled)
.await
.expect("failed to upsert sled")
.unwrap();

for zone in &config.zones.zones {
let OmicronZoneType::Crucible { dataset, .. } = &zone.zone_type
Expand Down
8 changes: 6 additions & 2 deletions nexus/db-queries/src/db/datastore/dataset.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ impl DataStore {
#[cfg(test)]
mod test {
use super::*;
use crate::db::datastore::datastore_test;
use crate::db::datastore::test_utils::datastore_test;
use nexus_db_model::SledBaseboard;
use nexus_db_model::SledSystemHardware;
use nexus_db_model::SledUpdate;
Expand Down Expand Up @@ -228,7 +228,11 @@ mod test {
},
Uuid::new_v4(),
);
datastore.sled_upsert(sled).await.expect("failed to upsert sled");
datastore
.sled_upsert(sled)
.await
.expect("failed to upsert sled")
.unwrap();

// Create a fake zpool that backs our fake datasets.
let zpool_id = Uuid::new_v4();
Expand Down

0 comments on commit 16d749f

Please sign in to comment.