Skip to content

Commit

Permalink
Merge pull request #576 from JoelJ/patch-2
Browse files Browse the repository at this point in the history
[FIXED JENKINS-18626] - Test result page keeps identifying tests as age 1
  • Loading branch information
oleg-nenashev committed Jun 1, 2014
2 parents bab3176 + bffca9c commit 4af464a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/hudson/tasks/junit/CaseResult.java
Expand Up @@ -373,7 +373,7 @@ public int getFailedSince() {
if (failedSince==0 && getFailCount()==1) {
CaseResult prev = getPreviousResult();
if(prev!=null && !prev.isPassed())
this.failedSince = prev.failedSince;
this.failedSince = prev.getFailedSince();
else if (getOwner() != null) {
this.failedSince = getOwner().getNumber();
} else {
Expand Down

0 comments on commit 4af464a

Please sign in to comment.