Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-5148

Unstable test IgniteCachePartitionLossPolicySelfTest testReadWriteSafe() seems to be flaky in 2.0

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0
    • None
    • None

    Description

      Branch ignite 2.0:

      org.apache.ignite.internal.processors.cache.distributed.
      IgniteCachePartitionLossPolicySelfTest#testReadWriteSafe
      locally each 10th launch failed with

      junit.framework.AssertionFailedError: Failed to find expected lost partition [exp=0, lost=[]]
      
      	at junit.framework.Assert.fail(Assert.java:57)
      	at junit.framework.Assert.assertTrue(Assert.java:22)
      	at junit.framework.TestCase.assertTrue(TestCase.java:192)
      	at org.apache.ignite.internal.processors.cache.distributed.IgniteCachePartitionLossPolicySelfTest.verifyCacheOps(IgniteCachePartitionLossPolicySelfTest.java:234)
      	at org.apache.ignite.internal.processors.cache.distributed.IgniteCachePartitionLossPolicySelfTest.checkLostPartition(IgniteCachePartitionLossPolicySelfTest.java:181)
      	at org.apache.ignite.internal.processors.cache.distributed.IgniteCachePartitionLossPolicySelfTest.testReadWriteSafe(IgniteCachePartitionLossPolicySelfTest.java:131)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at junit.framework.TestCase.runTest(TestCase.java:176)
      	at org.apache.ignite.testframework.junits.GridAbstractTest.runTestInternal(GridAbstractTest.java:1930)
      	at org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:125)
      	at org.apache.ignite.testframework.junits.GridAbstractTest$5.run(GridAbstractTest.java:1845)
      	at java.lang.Thread.run(Thread.java:748)
      
      
      

      Attachments

        Issue Links

          Activity

            People

              pvinokurov Pavel Vinokurov
              dpavlov Dmitry Pavlov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: