-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
8.0.0
Assertion failure due to time range mis match.
[ERROR] Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 9.749 s <<< FAILURE! - in org.openjdk.jmc.flightrecorder.test.rules.jdk.TestRulesWithJfr
[ERROR] verifyAllResults(org.openjdk.jmc.flightrecorder.test.rules.jdk.TestRulesWithJfr) Time elapsed: 8.039 s <<< FAILURE!
java.lang.AssertionError:
Report: "wldf.jfr",
Rule: "Errors".
Description mismatch: "The program generated an average of 17 errors per minute during 9/24/2015 3:38:14 PM – 3:39:14 PM. 17 errors were thrown in total.<p>The most common error was 'java.lang.NoSuchMethodError', which was thrown 13 times.<p>Investigate the thrown errors to see if they can be avoided. Errors indicate that something went wrong with the code execution and should never be used for flow control. The following regular expression was used to exclude 381 errors from this rule: '(com.sun.el.parser.ELParser\$LookaheadSuccess)'." was not equal to "The program generated an average of 17 errors per minute during 9/24/2015 10:08:14 AM – 10:09:14 AM. 17 errors were thrown in total.<p>The most common error was 'java.lang.NoSuchMethodError', which was thrown 13 times.<p>Investigate the thrown errors to see if they can be avoided. Errors indicate that something went wrong with the code execution and should never be used for flow control. The following regular expression was used to exclude 381 errors from this rule: '(com.sun.el.parser.ELParser\$LookaheadSuccess)'.".
Message mismatch: "The program generated an average of 17 errors per minute during 9/24/2015 3:38:14 PM – 3:39:14 PM." was not equal to "The program generated an average of 17 errors per minute during 9/24/2015 10:08:14 AM – 10:09:14 AM.".
at org.openjdk.jmc.flightrecorder.test.rules.jdk.TestRulesWithJfr.verifyRuleResults(TestRulesWithJfr.java:159)
at org.openjdk.jmc.flightrecorder.test.rules.jdk.TestRulesWithJfr.verifyAllResults(TestRulesWithJfr.java:131)
[INFO] Running org.openjdk.jmc.flightrecorder.test.rules.jdk.TestSocketReadWriteRule
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 s - in org.openjdk.jmc.flightrecorder.test.rules.jdk.TestSocketReadWriteRule
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] TestRulesWithJfr.verifyAllResults:131->verifyRuleResults:159
Report: "wldf.jfr",
Rule: "Errors".
Description mismatch: "The program generated an average of 17 errors per minute during 9/24/2015 3:38:14 PM – 3:39:14 PM. 17 errors were thrown in total.<p>The most common error was 'java.lang.NoSuchMethodError', which was thrown 13 times.<p>Investigate the thrown errors to see if they can be avoided. Errors indicate that something went wrong with the code execution and should never be used for flow control. The following regular expression was used to exclude 381 errors from this rule: '(com.sun.el.parser.ELParser\$LookaheadSuccess)'." was not equal to "The program generated an average of 17 errors per minute during 9/24/2015 10:08:14 AM – 10:09:14 AM. 17 errors were thrown in total.<p>The most common error was 'java.lang.NoSuchMethodError', which was thrown 13 times.<p>Investigate the thrown errors to see if they can be avoided. Errors indicate that something went wrong with the code execution and should never be used for flow control. The following regular expression was used to exclude 381 errors from this rule: '(com.sun.el.parser.ELParser\$LookaheadSuccess)'.".
Message mismatch: "The program generated an average of 17 errors per minute during 9/24/2015 3:38:14 PM – 3:39:14 PM." was not equal to "The program generated an average of 17 errors per minute during 9/24/2015 10:08:14 AM – 10:09:14 AM.".
[INFO]
[ERROR] Tests run: 8, Failures: 1, Errors: 0, Skipped: 0
- duplicates
-
JMC-6961 Fix rules test
- Resolved