Skip to content

Commit

Permalink
test cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
davepacheco committed Mar 28, 2023
1 parent b4f62ad commit 672192d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion nexus/db-queries/src/db/datastore/dns.rs
Original file line number Diff line number Diff line change
Expand Up @@ -908,7 +908,7 @@ mod test {
#[tokio::test]
async fn test_dns_uniqueness() {
let logctx = dev::test_setup_log("test_dns_uniqueness");
let db = test_setup_database(&logctx.log).await;
let mut db = test_setup_database(&logctx.log).await;
let (_opctx, datastore) = datastore_test(&logctx, &db).await;
let now = Utc::now();

Expand Down Expand Up @@ -998,5 +998,8 @@ mod test {
.to_string()
.contains("duplicate key value violates unique constraint"));
}

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

0 comments on commit 672192d

Please sign in to comment.