Carte Project created SUREFIRE-1395: ---------------------------------------
Summary: Surefire plugin reports bogus test failure Key: SUREFIRE-1395 URL: https://issues.apache.org/jira/browse/SUREFIRE-1395 Project: Maven Surefire Issue Type: Bug Components: Maven Surefire Plugin Affects Versions: 2.20, 2.19 Environment: Windows 10 (1607) on x86_64 platform. JRE 1.8.0_141-b15 (tested with 1.8.0_131 too). Reporter: Carte Project Priority: Minor Surefire plugin reports a bogus test failure when building and running the tests for an open source project. This is the report: {noformat} Tests run: 13, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 10.211 s <<< FAILURE! - in io.sf.carte.doc.html.DOMNodeTest compareDocumentPosition1(io.sf.carte.doc.html.DOMNodeTest) Time elapsed: 0.047 s <<< FAILURE! java.lang.AssertionError: expected:<10> but was:<10> at io.sf.carte.doc.html.DOMNodeTest.compareDocumentPosition1(DOMNodeTest.java:56) {noformat} The test is an integer comparison, and completes successfully when launched from Eclipse. If anyone is interested in trying to reproduce it, just download the code from [https://sourceforge.net/projects/carte/files/css4j/0.32/css4j-0.32.zip/download] and run 'mvn' at the directory. In principle my software setup is relatively simple, an up-to-date Windows 10-1607 with latest JDK8. -- This message was sent by Atlassian JIRA (v6.4.14#64029)