Skip to content

Commit

Permalink
fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
jgallagher committed Feb 28, 2024
1 parent ff4da77 commit c8a2201
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion nexus/src/app/background/blueprint_execution.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ mod test {
use nexus_db_model::{
ByteCount, SledBaseboard, SledSystemHardware, SledUpdate,
};
use nexus_db_queries::authn;
use nexus_db_queries::context::OpContext;
use nexus_test_utils_macros::nexus_test;
use nexus_types::deployment::OmicronZonesConfig;
Expand Down Expand Up @@ -158,8 +159,10 @@ mod test {
// Set up the test.
let nexus = &cptestctx.server.apictx().nexus;
let datastore = nexus.datastore();
let opctx = OpContext::for_tests(
let opctx = OpContext::for_background(
cptestctx.logctx.log.clone(),
nexus.authz.clone(),
authn::Context::internal_api(),
datastore.clone(),
);

Expand Down

0 comments on commit c8a2201

Please sign in to comment.