-
Bug
-
Resolution: Done
-
Major
-
7.52.0.Final
-
None
-
2021 Week 13-15 (from Mar 29)
-
3
-
Undefined
-
NEW
-
NEW
During the test migration, I added setIdentity(), setStreamMode() to KieBaseTestConfiguration but it was my bad. KieBaseTestConfiguration has to be immutable. Luckily, we haven't hit issues in drools-test-coverage/test-compiler-integration but issues can be easily reproduced if you set surefire.forkCount=1 in pom.xml.
<surefire.forkCount>1</surefire.forkCount>
[ERROR] Failures: [ERROR] NullTest.testNullValuesIndexing:76 Indexing with null values is not working correctly. expected:<OK> but was:<null> [ERROR] PropertyReactivityBlockerTest.testUpdateRewrittenWithCorrectBitMaskAndCorrectClass:271 expected:<1> but was:<0> [ERROR] QueryTest.testNonCloningQueryListener:869->runQueryListenerTest:898 expected:<5000> but was:<1> [ERROR] QueryTest.testStandardQueryListener:864->runQueryListenerTest:898 expected:<5000> but was:<1> [ERROR] Errors: [ERROR] org.drools.mvel.integrationtests.WindowTest.testDeclaredLengthWindowInQuery[KieBase type=STREAM_IDENTITY](org.drools.mvel.integrationtests.WindowTest) [ERROR] Run 1: WindowTest.initialization:135 » Runtime The requested KieBase "KieBaseModelNam... [ERROR] Run 2: WindowTest.clean:148 NullPointer [INFO] [ERROR] org.drools.mvel.integrationtests.WindowTest.testDeclaredLengthWindowInRule[KieBase type=STREAM_IDENTITY](org.drools.mvel.integrationtests.WindowTest) [ERROR] Run 1: WindowTest.initialization:135 » Runtime The requested KieBase "KieBaseModelNam... [ERROR] Run 2: WindowTest.clean:148 NullPointer [INFO] [ERROR] org.drools.mvel.integrationtests.WindowTest.testDeclaredTimeWindowInQuery[KieBase type=STREAM_IDENTITY](org.drools.mvel.integrationtests.WindowTest) [ERROR] Run 1: WindowTest.initialization:135 » Runtime The requested KieBase "KieBaseModelNam... [ERROR] Run 2: WindowTest.clean:148 NullPointer [INFO] [ERROR] org.drools.mvel.integrationtests.WindowTest.testDeclaredTimeWindowInRule[KieBase type=STREAM_IDENTITY](org.drools.mvel.integrationtests.WindowTest) [ERROR] Run 1: WindowTest.initialization:135 » Runtime The requested KieBase "KieBaseModelNam... [ERROR] Run 2: WindowTest.clean:148 NullPointer [INFO] [ERROR] org.drools.mvel.integrationtests.WindowTest.testLengthWindow[KieBase type=STREAM_IDENTITY](org.drools.mvel.integrationtests.WindowTest) [ERROR] Run 1: WindowTest.initialization:135 » Runtime The requested KieBase "KieBaseModelNam... [ERROR] Run 2: WindowTest.clean:148 NullPointer [INFO] [ERROR] org.drools.mvel.integrationtests.WindowTest.testTimeWindow[KieBase type=STREAM_IDENTITY](org.drools.mvel.integrationtests.WindowTest) [ERROR] Run 1: WindowTest.initialization:135 » Runtime The requested KieBase "KieBaseModelNam... [ERROR] Run 2: WindowTest.clean:148 NullPointer [INFO] [INFO] [ERROR] Tests run: 5939, Failures: 4, Errors: 6, Skipped: 80
- is incorporated by
-
RHDM-1682 Fix drools-test-coverage for KieBaseTestConfiguration manipulation
- Closed