[infinispan-issues] [JBoss JIRA] (ISPN-8930) RestOperationsTest#shouldPutImmortalEntryWithZeroTtlAndIdleTime random failure
William Burns (JIRA)
issues at jboss.org
Fri Mar 9 09:40:00 EST 2018
William Burns created ISPN-8930:
-----------------------------------
Summary: RestOperationsTest#shouldPutImmortalEntryWithZeroTtlAndIdleTime random failure
Key: ISPN-8930
URL: https://issues.jboss.org/browse/ISPN-8930
Project: Infinispan
Issue Type: Bug
Components: REST
Affects Versions: 9.2.0.Final
Reporter: William Burns
This test can fail randomly with a NPE
{code}
java.lang.NullPointerException
at org.infinispan.rest.BaseRestOperationsTest.shouldPutImmortalEntryWithZeroTtlAndIdleTime(BaseRestOperationsTest.java:853)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
... Removed 16 stack frames
{code}
This is caused by the thread being stalled for > 100 ms after the put but before reading. Thus the expiration is not being overridden properly.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the infinispan-issues
mailing list