[jboss-jira] [JBoss JIRA] (DROOLS-4764) Enhance test org.kie.hacep.PodAsLeaderTest.processOneSentMessageAsLeaderTest to not randomly fail

Marek Novotny (Jira) issues at jboss.org
Fri Nov 15 04:19:00 EST 2019


Marek Novotny created DROOLS-4764:
-------------------------------------

             Summary: Enhance test org.kie.hacep.PodAsLeaderTest.processOneSentMessageAsLeaderTest to not randomly fail
                 Key: DROOLS-4764
                 URL: https://issues.jboss.org/browse/DROOLS-4764
             Project: Drools
          Issue Type: Bug
            Reporter: Marek Novotny
            Assignee: Massimiliano Dessi


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/job/DailyBuild-prod/job/DailyBuild-prod-pipeline-7.26.x/22/



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list