Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Also add the duration as the test process time.
Technically, this code is incorrect, because we're calling into spawn strategy, which might do any amount of additional waiting (e.g., to acquire local resources). We should change spawn strategy to return structured information about the subprocess execution, including the wall time, and use that to set the test information. But for now, this seems good enough. Fixes bazelbuild#1748. Effectively a rollback of the rollback, but with a manual fix. The problem was that the code was assuming exactly one process time, which is incorrect in at least the case where the proto comes from a previous Bazel version, because that didn't set the process time at all. We're now copying over all the values, which should work in all cases. -- PiperOrigin-RevId: 144425125 MOS_MIGRATED_REVID=144425125
- Loading branch information