commit | 4c47d52cefdf73a3097f5061e53421e10c35a314 | [log] [tgz] |
---|---|---|
author | Zhongpeng Lin <zplin@uber.com> | Tue Feb 11 09:30:31 2025 -0800 |
committer | GitHub <noreply@github.com> | Tue Feb 11 17:30:31 2025 +0000 |
tree | 7502877e4a34bad7ff56af7ac33e9b7884c65046 | |
parent | 4d0ddb791edc5fa52a39be6968684da76e575594 [diff] |
Populate timestamp in test.xml (#4259) **What type of PR is this?** Feature **What does this PR do? Why is it needed?** The `<testsuite>` element in JUnit XML has a `timestamp` attribute, but the `<testcase>` doesn't, while Go test's json has the timestamp for every event. This PR find the smallest timestamp in the json events and use that as the `timestamp` of `<testsuite>`. **Test plan** * Unit test * Verify that the timestamps are different with `--runs_per_test=10`