Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-15270

WriteSkewConsistencyTest random failures

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Failure:

      ERROR (testng-WriteSkewConsistencyTest) [org.infinispan.commons.test.TestSuiteProgress] Test failed: org.infinispan.container.versioning.WriteSkewConsistencyTest.testValidationOnlyInPrimaryOwner\[REPL_SYNC\]
      java.lang.AssertionError: Wrong version in the primary owner expected:<EQUAL> but was:<BEFORE>
              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.infinispan.container.versioning.WriteSkewConsistencyTest.assertSameVersion(WriteSkewConsistencyTest.java:168) ~[test-classes/:?]
              at org.infinispan.container.versioning.WriteSkewConsistencyTest.testValidationOnlyInPrimaryOwner(WriteSkewConsistencyTest.java:105) ~[test-classes/:?]
      
      

      Reason: the test does not ensure that the primary owner has receives and processed the commit request before checking if the version stored is the expected.

              pruivo@redhat.com Pedro Ruivo
              pruivo@redhat.com Pedro Ruivo
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: