From be8945976555fbd1ed4d9d23f7a663546e37ebdb Mon Sep 17 00:00:00 2001 From: James MacMahon Date: Mon, 4 Dec 2023 15:07:56 -0500 Subject: [PATCH] db.cleanup() --- nexus/db-queries/src/db/datastore/disk.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nexus/db-queries/src/db/datastore/disk.rs b/nexus/db-queries/src/db/datastore/disk.rs index 4292bf9d7e..26d439b350 100644 --- a/nexus/db-queries/src/db/datastore/disk.rs +++ b/nexus/db-queries/src/db/datastore/disk.rs @@ -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(); @@ -937,6 +937,7 @@ mod tests { ); } + db.cleanup().await.unwrap(); logctx.cleanup_successful(); } }