Skip to content

Commit

Permalink
db.cleanup()
Browse files Browse the repository at this point in the history
  • Loading branch information
jmpesp committed Dec 4, 2023
1 parent 6da3cd3 commit be89459
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nexus/db-queries/src/db/datastore/disk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@ mod tests {
let logctx =
dev::test_setup_log("test_undelete_disk_set_faulted_idempotent");
let log = logctx.log.new(o!());
let db = test_setup_database(&log).await;
let mut db = test_setup_database(&log).await;
let (opctx, db_datastore) = datastore_test(&logctx, &db).await;

let silo_id = opctx.authn.actor().unwrap().silo_id().unwrap();
Expand Down Expand Up @@ -937,6 +937,7 @@ mod tests {
);
}

db.cleanup().await.unwrap();
logctx.cleanup_successful();
}
}

0 comments on commit be89459

Please sign in to comment.