]
William Burns updated ISPN-8930:
--------------------------------
Status: Pull Request Sent (was: Coding In Progress)
Git Pull Request:
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
Assignee: William Burns
Fix For: 9.2.1.Final, 9.3.0.Alpha1
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.