mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 10:59:13 +00:00
fix(test): output parallel test results independently (#15399)
This commit is contained in:
parent
e1297b1a28
commit
34328690dc
9 changed files with 160 additions and 111 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue