-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- remove unnecessary throw in finalizeTest, simplify throws clause (TestRunnerAction already throws if the last attempt was unsuccessful) - remove finally block in executeTestAttempt; don't try to recover from non-SpawnExecException, they are catastrophic anyway - bubble up any IOException thrown in executeTestAttempt; the TestRunnerAction already has better handling for them - Move the prepareFileSystem call to the TestRunnerSpawn - Clean up createDirectoryAndParents calls - Move touchFile(out) out of the finally block; it can throw IOException, which would cause the original exception to be dropped - Add a prepareFileSystem overload - this is only called from Google's implementation of TestStrategy, but allows us increase consistency between the implementations Note that we no longer include test.xml generation in the runtime of the test process as measured locally (if the SpawnResult does not have wall time set, which should usually be the case). This is in preparation for async test execution. Progress on #6394. PiperOrigin-RevId: 238639508
- Loading branch information
1 parent
c602c41
commit d23e577
Showing
3 changed files
with
102 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters