An AssertionError was found in
org.drools.modelcompiler.TypeCoercionTest#testDoubleNaN
when the constraint is jitted:
Log
22:18:44 [ERROR] Tests run: 42, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 5.7 s <<< FAILURE! - in org.drools.modelcompiler.TypeCoercionTest 22:18:44 [ERROR] testDoubleNaN[STANDARD_FROM_DRL](org.drools.modelcompiler.TypeCoercionTest) Time elapsed: 0.029 s <<< FAILURE! 22:18:44 java.lang.AssertionError: expected:<0> but was:<1> 22:18:44 at org.junit.Assert.fail(Assert.java:88) 22:18:44 at org.junit.Assert.failNotEquals(Assert.java:834) 22:18:44 at org.junit.Assert.assertEquals(Assert.java:645) 22:18:44 at org.junit.Assert.assertEquals(Assert.java:631) 22:18:44 at org.drools.modelcompiler.TypeCoercionTest.testDoubleNaN(TypeCoercionTest.java:321) 22:18:44 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 22:18:44 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 22:18:44 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 22:18:44 at java.lang.reflect.Method.invoke(Method.java:498) 22:18:44 at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) 22:18:44 at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) 22:18:44 at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) 22:18:44 at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) 22:18:44 at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) 22:18:44 at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) 22:18:44 at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) 22:18:44 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) 22:18:44 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) 22:18:44 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) 22:18:44 at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) 22:18:44 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) 22:18:44 at org.junit.runners.ParentRunner.run(ParentRunner.java:363) 22:18:44 at org.junit.runners.Suite.runChild(Suite.java:128) 22:18:44 at org.junit.runners.Suite.runChild(Suite.java:27) 22:18:44 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) 22:18:44 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) 22:18:44 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) 22:18:44 at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) 22:18:44 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) 22:18:44 at org.junit.runners.ParentRunner.run(ParentRunner.java:363) 22:18:44 at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) 22:18:44 at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) 22:18:44 at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) 22:18:44 at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) 22:18:44 at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) 22:18:44 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) 22:18:44 at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) 22:18:44 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
The failing test testDoubleNaN() was added recently (06/10/2020 - DROOLS-5692)