Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test oximeter metrics end to end #855

Merged
merged 15 commits into from
Mar 14, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
didn't ask clippy the right way the first time
  • Loading branch information
iximeow committed Feb 11, 2025
commit cea54ecc61f61787b2afdfaf62bd091889b135cb
5 changes: 2 additions & 3 deletions phd-tests/tests/src/stats.rs
Original file line number Diff line number Diff line change
@@ -32,8 +32,7 @@ use slog::Logger;
fn test_logger() -> Logger {
let dec = slog_term::PlainSyncDecorator::new(slog_term::TestStdoutWriter);
let drain = slog_term::FullFormat::new(dec).build().fuse();
let log = Logger::root(drain, slog::o!("component" => "fake-cleanup-task"));
log
Logger::root(drain, slog::o!("component" => "fake-cleanup-task"))
}

// Re-registration interval for tests. A long value here helps avoid log spew
@@ -274,7 +273,7 @@ impl FakeNexusContext {
}
}

if metrics.vcpus.len() == 0 {
if metrics.vcpus.is_empty() {
trace!("no vcpu metrics yet?");
return None;
}
Loading