|
A clean checkout on Windows results in two test failures. They're actually both the same test; it just runs twice (in a base class and a derived class):
CommandExtractorServiceTest. testImportFile MultiLineImportFileTest. testImportFile
The full test output is:
org.junit.ComparisonFailure: Multi-line string inserted incorrectly expected:<...-line comment line 1[
-- line 2'
]
/* line 3 */> but was:<...-line comment line 1[
-- line 2']
/* line 3 */>
at org.junit.Assert.assertEquals(Assert.java:125)
at org.hibernate.test.fileimport.MultiLineImportFileTest.testImportFile(MultiLineImportFileTest.java:83)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at org.hibernate.testing.junit4.ExtendedFrameworkMethod.invokeExplosively(ExtendedFrameworkMethod.java:63)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:62)
This isn't a problem on the CI server, but I'm not the only person to encounter it. See, for example, this comment
I've fixed this locally myself. Pull request coming shortly...
|