Skip to content

Commit

Permalink
i guess we need to delete the MGS logs
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkw committed Aug 22, 2024
1 parent a62b2d4 commit d130a5b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nexus/tests/integration_tests/metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -681,6 +681,10 @@ async fn test_mgs_metrics(
let current_metrics =
get_timeseries(&cptestctx, "hardware_component:current").await;
check_all_serials_present(current_metrics);

// Because the `ControlPlaneTestContext` isn't managing the MGS we made for
// this test, we are responsible for removing its logs.
mgs.logctx.cleanup_successful();
}

/// Wait until a producer is registered with Oximeter.
Expand Down

0 comments on commit d130a5b

Please sign in to comment.