]
Massimiliano Dessi resolved DROOLS-4764.
----------------------------------------
Resolution: Done
Enhance test
org.kie.hacep.PodAsLeaderTest.processOneSentMessageAsLeaderTest to not randomly fail
-------------------------------------------------------------------------------------------------
Key: DROOLS-4764
URL:
https://issues.redhat.com/browse/DROOLS-4764
Project: Drools
Issue Type: Bug
Reporter: Marek Novotny
Assignee: Massimiliano Dessi
Priority: Major
There is randomly failing the test
{{org.kie.hacep.PodAsLeaderTest.processOneSentMessageAsLeaderTest}} with exception like:
{{noformat}}
java.lang.RuntimeException
at
org.kie.hacep.PodAsLeaderTest.processOneSentMessageAsLeaderTest(PodAsLeaderTest.java:99)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at
org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298)
at
org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.util.NoSuchElementException
at org.apache.kafka.common.utils.AbstractIterator.next(AbstractIterator.java:52)
at
org.kie.hacep.PodAsLeaderTest.processOneSentMessageAsLeaderTest(PodAsLeaderTest.java:82)
... 12 more
{{noformat}}
one of the reference
https://rhba-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/KIE/job/7.26.x/j...