]
Mircea Markus resolved ISPN-2603.
---------------------------------
Resolution: Done
Fixed as part of ISPN-2552
Intermittent test failure: AsyncAPITest
---------------------------------------
Key: ISPN-2603
URL:
https://issues.jboss.org/browse/ISPN-2603
Project: Infinispan
Issue Type: Feature Request
Affects Versions: 5.2.0.Beta5
Reporter: Mircea Markus
Assignee: Mircea Markus
Labels: test
Fix For: 5.2.0.Beta6
AsyncAPITest.testAsyncMethodWithLifespanAndMaxIdle has this logic:
{code:java}
// putIfAbsent lifespan only
f = c.putAsync("k", "v3");
assertNull(f.get());
f = c.putIfAbsentAsync("k", "v4", 1000,
TimeUnit.MILLISECONDS);
markStartTime();
assert f != null;
assert !f.isCancelled();
assertEquals("v3", f.get()); //here's the problem!!
{code}
the test assumes that the first put(v3_ executes before the second one (v4) which is not
correct.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: