jenkinsci / jenkinsci/junit-plugin
[JENKINS-52633] TestReport URL randomly changes
- Dominant language
- Java
- Stars
- 87
- Forks
- 351
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 2
Description
TestReport URL randomly changes if there are multiple test results for tests with the same name.
How to reproduce:
1) create a job that imports 2 or more test results of the same test. The best results you will have if one of this test result failed and other were successful.
I'm using MSTest plugin and I'm importing *.trx files.
2) Import these test results and go see the output from failed test.
3) Refresh this url few times. You could notice that Jenkins from time to time change the output of test from the one that failed to the one that were successful and vice versa.
Please check attached video
---
Originally reported by zuljinsbk, imported from: TestReport URL randomly changes
Raw content of original issue
TestReport URL randomly changes if there are multiple test results for tests with the same name.
How to reproduce:
1) create a job that imports 2 or more test results of the same test. The best results you will have if one of this test result failed and other were successful.
I'm using MSTest plugin and I'm importing *.trx files.
2) Import these test results and go see the output from failed test.
3) Refresh this url few times. You could notice that Jenkins from time to time change the output of test from the one that failed to the one that were successful and vice versa.Please check attached video
environment
```
Jenkins 2.131
MSTest plugin 0.23
JUnit Plugin 1.24
```
1 attachment
- [testreport_issue.mov](https://issues.jenkins.io/secure/attachment/43425/testreport_issue.mov)
Contributor guide
Assessment
This issue has not been assessed yet.