Skip to content

Commit

Permalink
Fix result collection if spawn is immediately done
Browse files Browse the repository at this point in the history
Another small fix that I discovered running our existing tests.

Progress on #6394.

PiperOrigin-RevId: 239390890
  • Loading branch information
ulfjack authored and copybara-github committed Mar 20, 2019
1 parent 6c46f36 commit 32f6001
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -788,6 +788,8 @@ public TestAttemptContinuation execute()
return new BazelXmlCreationContinuation(
resolvedPaths, xmlSpawnOutErr, builder, spawnResults, xmlContinuation);
}
spawnResults = new ArrayList<>(spawnResults);
spawnResults.addAll(xmlContinuation.get());
}

TestCase details = parseTestResult(xmlOutputPath);
Expand Down

0 comments on commit 32f6001

Please sign in to comment.