Parse timestamp attr from testcase in junit xml. - #1328
Conversation
timestamp is just read as a string, as is already the case for the timestamp field on testsuite elements. A lot of test runners don't set this attribute, but some do, such as Terraform: https://developer.hashicorp.com/terraform/cli/commands/test
|
Hi @n-rook. Thanks for your PR. I'm waiting for a GoogleCloudPlatform member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: chases2, michelle192837, n-rook The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
639851f
into
GoogleCloudPlatform:main
timestamp is just read as a string, as is already the case for the timestamp field on testsuite elements. A lot of test runners don't set this attribute, but some do, such as Terraform:
https://developer.hashicorp.com/terraform/cli/commands/test
The goal here is to allow other software that uses the testgrid xml-parsing library to read this attribute. I do not anticipate this attribute being used by testgrid itself, since I do not think testgrid really operates on this small of a scale. Although of course it could be used someday.