Dan Berindei created ISPN-10313:
-----------------------------------
Summary: EvictInvalidatedNearCacheTest.testEvictAfterReachingMax random
failures
Key: ISPN-10313
URL:
https://issues.jboss.org/browse/ISPN-10313
Project: Infinispan
Issue Type: Bug
Components: Test Suite - Server
Affects Versions: 10.0.0.Beta3
Reporter: Dan Berindei
Assignee: Will Burns
Fix For: 10.0.0.Beta4
From the log, it looks like the near cache may ignore put requests,
and {{EvictInvalidatedNearCacheTest}} doesn't expect that:
{noformat}
22:02:29,709 TRACE (testng-Test:[]) [RetryOnFailureOperation] About to start executing
operation GetWithMetadataOperation{(default), key=[B0x034B00000002, flags=0} on [id:
0x2ca8c2fb, L:/127.0.0.1:40582 - R:127.0.0.1/127.0.0.1:33741]
22:02:29,709 TRACE (testng-Test:[]) [Codec] [] Wrote header for messageId=5085 to
PooledUnsafeDirectByteBuf(ridx: 0, widx: 13, cap: 21). Operation code: 0x1b(UNKNOWN).
Flags: 0x0. Topology id: -1
22:02:29,710 TRACE (Test-Client-Async-108-1:[]) [HeaderDecoder] Response 5085 belongs to
GetWithMetadataOperation{(default), key=[B0x034B00000002, flags=0} on [id: 0x2ca8c2fb,
L:/127.0.0.1:40582 - R:127.0.0.1/127.0.0.1:33741]
22:02:29,710 TRACE (Test-Client-Async-108-1:[]) [NearCacheService] Conditionally put key=2
and value=MetadataValueImpl [created=-1, lifespan=-1, lastUsed=-1, maxIdle=-1,
getVersion()=2, getValue()=v1] if absent in near cache
(listenerId=[B0xD532F51E0F6632E1..[16])
22:02:29,725 ERROR (testng-Test:[]) [TestSuiteProgress] Test failed:
org.infinispan.client.hotrod.near.EvictInvalidatedNearCacheTest.testEvictAfterReachingMax
java.lang.AssertionError: expected:<v1> but was:<null>
at org.testng.AssertJUnit.fail(AssertJUnit.java:59) ~[testng-6.14.3.jar:?]
at org.testng.AssertJUnit.failNotEquals(AssertJUnit.java:364) ~[testng-6.14.3.jar:?]
at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:80) ~[testng-6.14.3.jar:?]
at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:88) ~[testng-6.14.3.jar:?]
at
org.infinispan.client.hotrod.near.AssertsNearCache.assertGetKeyValue(AssertsNearCache.java:235)
~[test-classes/:?]
at
org.infinispan.client.hotrod.near.AssertsNearCache.expectNearGetValue(AssertsNearCache.java:130)
~[test-classes/:?]
at
org.infinispan.client.hotrod.near.EvictInvalidatedNearCacheTest.testEvictAfterReachingMax(EvictInvalidatedNearCacheTest.java:39)
~[test-classes/:?]
{noformat}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)