Skip to content

Successful retry on failure attempts are reported as failure #290

@nandodelauni

Description

@nandodelauni

We have enabled retry on failure mechanism in test plans for our CI. Whenever there is a flaky test that requires more than one iteration to succeed, the output is an unstable build on the CI (we are using Jenkins). This is the command we run:

xcodebuild test ... | xcbeautify --report junit --preserve-unbeautified --report-path some_path

The junit.xml output file from xcbeautify doesn't filter out failures if there is a retry.

I don't know the codebase but at a glance I guess that we could add some retry regex/logic here to filter out previous attempts if there was a successful retry.

I'm happy to contribute to the project if you think this is a valid issue. Any hint would also be appreciated. Wdyt?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions