[
https://issues.jboss.org/browse/ISPN-7988?page=com.atlassian.jira.plugin....
]
Dan Berindei commented on ISPN-7988:
------------------------------------
From Radim: The thing that went wrong was that the compute command was
successful even if it did not match the criteria (absent/present). Also, compute command
has to send the whole new value from primary to originator and store it (if successful)
because originator does not know the previous value - it cannot generate it in order to
store that for backup.
ScatteredSyncFuncTest>DistSyncFuncTest.testComputeIfAbsentFromNonOwner fails with trace
logging enabled
-------------------------------------------------------------------------------------------------------
Key: ISPN-7988
URL:
https://issues.jboss.org/browse/ISPN-7988
Project: Infinispan
Issue Type: Bug
Components: Test Suite - Core
Reporter: Dan Berindei
Assignee: Radim Vansa
Priority: Critical
Labels: testsuite_stability
Every time I run the test I get this failure twice, with the same test parameters:
{noformat}
testComputeIfAbsentFromNonOwner[SCATTERED_SYNC, tx=false, numOwners=1,
l1=false](org.infinispan.scattered.ScatteredSyncFuncTest) Time elapsed: 0.159 sec
<<< FAILURE!
java.lang.AssertionError: expected [1] but found [0]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:494)
at org.testng.Assert.assertEquals(Assert.java:123)
at org.testng.Assert.assertEquals(Assert.java:370)
at org.testng.Assert.assertEquals(Assert.java:380)
at org.infinispan.scattered.Utils.assertOwnershipAndNonOwnership(Utils.java:49)
at
org.infinispan.scattered.ScatteredSyncFuncTest.assertOwnershipAndNonOwnership(ScatteredSyncFuncTest.java:20)
at
org.infinispan.distribution.BaseDistFunctionalTest.assertOnAllCachesAndOwnership(BaseDistFunctionalTest.java:162)
{noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)