[
https://issues.jboss.org/browse/ISPN-5495?page=com.atlassian.jira.plugin....
]
Dan Berindei edited comment on ISPN-5495 at 2/19/16 12:15 PM:
--------------------------------------------------------------
Failures in {{ConcurrentStartTest.testConcurrentStart}} have been more frequent recently,
because of a change introduced in ISPN-5883. The first command received by NodeB from
NodeA is no longer a {{CacheTopologyControlCommand(POLICY_GET_STATUS)}}, but a
{{CacheTopologyControlCommand(GET_STATUS)}}.
The test was passing most of the time because the main thread was waiting for the command
with {{CheckPoint.await()}}, which doesn't throw an exception on timeout, but the then
the {{BlockingInboundInvocationHandler}} does use {{CheckPoint.awaitStrict()}} with the
same delay, and some of the time it was timing out.
was (Author: dan.berindei):
Failures in {{ConcurrentStartTest.testConcurrentStart}} have been more frequent recently,
because of a change introduced in ISPN-5883. The first command received by NodeB from
NodeA is no longer a {{CacheTopologyControlCommand(POLICY_GET_STATUS)}}, but a
{{CacheTopologyControlCommand(POLICY_GET_STATUS)}}.
The test was passing most of the time because the main thread was waiting for the command
with {{CheckPoint.await()}}, which doesn't throw an exception on timeout, but the then
the {{BlockingInboundInvocationHandler}} does use {{CheckPoint.awaitStrict()}} with the
same delay, and some of the time it was timing out.
ConcurrentStartTest.testConcurrentStart random failures
-------------------------------------------------------
Key: ISPN-5495
URL:
https://issues.jboss.org/browse/ISPN-5495
Project: Infinispan
Issue Type: Bug
Components: Core, Test Suite - Core
Affects Versions: 7.2.1.Final
Reporter: Dan Berindei
Priority: Blocker
Labels: testsuite_stability
Fix For: 8.2.0.CR1
{noformat}
org.testng.internal.thread.ThreadTimeoutException: Method
org.testng.internal.TestNGMethod.testConcurrentStart() didn't finish within the
time-out 60000
at sun.misc.Unsafe.park(Native Method)
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:338)
at org.infinispan.test.TestingUtil.waitForRehashToComplete(TestingUtil.java:253)
{noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)