diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2022-08-04 17:38:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-04 12:38:40 -0400 |
commit | 34328690dc2090fd9282337aca1df74cbf837cab (patch) | |
tree | e2a266d39f6ab9326b10946f18c4c73a02f97185 /cli/lsp/testing/execution.rs | |
parent | e1297b1a285801f3c3ee911ddbd0afde153a8b6f (diff) |
fix(test): output parallel test results independently (#15399)
Diffstat (limited to 'cli/lsp/testing/execution.rs')
-rw-r--r-- | cli/lsp/testing/execution.rs | 15 |
1 files changed, 6 insertions, 9 deletions
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::<Vec<Result<Result<(), AnyError>, tokio::task::JoinError>>>(); - let mut reporter: Box<dyn test::TestReporter + Send> = - 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) { |