From 34328690dc2090fd9282337aca1df74cbf837cab Mon Sep 17 00:00:00 2001 From: Nayeem Rahman Date: Thu, 4 Aug 2022 17:38:40 +0100 Subject: fix(test): output parallel test results independently (#15399) --- cli/lsp/testing/execution.rs | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'cli/lsp') diff --git a/cli/lsp/testing/execution.rs b/cli/lsp/testing/execution.rs index 7c0552a0a..8d789b20e 100644 --- a/cli/lsp/testing/execution.rs +++ b/cli/lsp/testing/execution.rs @@ -374,13 +374,12 @@ impl TestRun { .buffer_unordered(concurrent_jobs) .collect::, tokio::task::JoinError>>>(); - let mut reporter: Box = - Box::new(LspTestReporter::new( - self, - client.clone(), - maybe_root_uri, - self.tests.clone(), - )); + let mut reporter = Box::new(LspTestReporter::new( + self, + client.clone(), + maybe_root_uri, + self.tests.clone(), + )); let handler = { tokio::task::spawn(async move { @@ -653,9 +652,7 @@ impl LspTestReporter { }, )); } -} -impl test::TestReporter for LspTestReporter { fn report_plan(&mut self, _plan: &test::TestPlan) {} fn report_register(&mut self, desc: &test::TestDescription) { -- cgit v1.2.3