Skip to content

Commit 7bbbee3

Browse files
committed
rustfmt
1 parent e42be60 commit 7bbbee3

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

phd-tests/framework/src/test_vm/metrics.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
44

55
use std::net::SocketAddr;
6-
use std::time::Duration;
76
use std::sync::{Arc, Mutex};
7+
use std::time::Duration;
88

99
use crate::log_config::{LogConfig, LogFormat};
1010
use dropshot::{

phd-tests/runner/src/main.rs

+6-3
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ mod fixtures;
88

99
use clap::Parser;
1010
use config::{ListOptions, ProcessArgs, RunOptions};
11-
use phd_tests::phd_testcase::{Framework, FrameworkParameters};
1211
use phd_framework::log_config::{LogConfig, LogFormat};
12+
use phd_tests::phd_testcase::{Framework, FrameworkParameters};
1313
use std::sync::Arc;
1414
use std::time::Duration;
1515
use tracing::{debug, info, warn};
@@ -47,7 +47,10 @@ async fn main() -> anyhow::Result<()> {
4747
Ok(())
4848
}
4949

50-
async fn run_tests(run_opts: &RunOptions, runner_args: &ProcessArgs) -> anyhow::Result<ExecutionStats> {
50+
async fn run_tests(
51+
run_opts: &RunOptions,
52+
runner_args: &ProcessArgs,
53+
) -> anyhow::Result<ExecutionStats> {
5154
let ctx_params = FrameworkParameters {
5255
propolis_server_path: run_opts.propolis_server_cmd.clone(),
5356
crucible_downstairs: run_opts.crucible_downstairs()?,
@@ -65,7 +68,7 @@ async fn run_tests(run_opts: &RunOptions, runner_args: &ProcessArgs) -> anyhow::
6568
LogFormat::Bunyan
6669
} else {
6770
LogFormat::Plain
68-
}
71+
},
6972
},
7073
default_guest_cpus: run_opts.default_guest_cpus,
7174
default_guest_memory_mib: run_opts.default_guest_memory_mib,

phd-tests/tests/src/stats.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@ use std::collections::HashMap;
66
use std::str::FromStr;
77
use std::time::Duration;
88

9-
use propolis_client::types::HyperVFeatureFlag;
10-
119
use phd_framework::test_vm::{FakeOximeterSampler, MetricsLocation};
10+
use propolis_client::types::HyperVFeatureFlag;
1211

1312
use chrono::{DateTime, Utc};
1413
use oximeter::types::{ProducerResults, ProducerResultsItem, Sample};

0 commit comments

Comments
 (0)