diff --git a/test/test-manager/src/main.rs b/test/test-manager/src/main.rs index e341759b1335..91b294fc1bcb 100644 --- a/test/test-manager/src/main.rs +++ b/test/test-manager/src/main.rs @@ -203,6 +203,15 @@ async fn main() -> Result<()> { verbose, test_report, } => { + let summary_logger = match test_report { + Some(path) => Some( + summary::SummaryLogger::new(&name, &path) + .await + .context("Failed to create summary logger")?, + ), + None => None, + }; + let mut config = config.clone(); config.runtime_opts.display = match (display, vnc.is_some()) { (false, false) => config::Display::None, @@ -232,15 +241,6 @@ async fn main() -> Result<()> { let skip_wait = vm_config.provisioner != config::Provisioner::Noop; - let summary_logger = match test_report { - Some(path) => Some( - summary::SummaryLogger::new(&name, &path) - .await - .context("Failed to create summary logger")?, - ), - None => None, - }; - let result = run_tests::run( tests::config::TestConfig { account_number: account,