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

MVCC: Tests invariants are violated sometimes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8
    • mvcc

    Description

      Sometimes tests are failed by violated invariants errors. For example, when total sum on accounts is not as expected.

      Muted tests:

      • CacheMvccPartitionedCoordinatorFailoverTest
        • testUpdate_N_Objects_Servers_Backups0__PutGet_CoordinatorFails_Persistence
        • testUpdate_N_Objects_SingleNode__PutGet_CoordinatorFails
        • testUpdate_N_Objects_ClientServer_Backups1_PutGet_CoordinatorFails_Persistence
        • testAccountsTxGet_SingleNode_CoordinatorFails
        • testAccountsTxGet_Server_Backups1_CoordinatorFails
        • testAccountsTxGet_ClientServer_Backups2_CoordinatorFails_Persistence
        • testAccountsTxScan_Server_Backups1_CoordinatorFails_Persistence
        • testAccountsTxScan_Server_Backups0_CoordinatorFails
        • testGetReadInProgressCoordinatorFails
        • testGetReadInsideTxInProgressCoordinatorFails_ReadDelay
      • CacheMvccReplicatedCoordinatorFailoverTest
        • testAccountsTxGet_SingleNode_CoordinatorFails
        • testAccountsTxGet_Server_Backups0_CoordinatorFails_Persistence
        • testUpdate_N_Objects_SingleNode__PutGet_CoordinatorFails
      • CacheMvccTransactionsTest.testMvccCoordinatorChangeSimple
      • DataStreamProcessorMvccPersistenceSelfTest.testTryFlush
      • IgniteCacheGroupsTest.testCreateDestroyCachesMvccTxReplicated
      • CacheMvccReplicatedSqlCoordinatorFailoverTest.testUpdate_N_Objects_ClientServer_Backups0_Sql_Persistence
      • CacheMvccPartitionedSqlCoordinatorFailoverTest
        • testUpdate_N_Objects_ClientServer_Backups2_Sql
        • testUpdate_N_Objects_ClientServer_Backups1_Sql_Persistence
        • testUpdate_N_Objects_SingleNode_Sql_Persistence
        • testUpdate_N_Objects_ClientServer_Backups0_Sql_Persistence
        • testPutAllGetAll_ClientServer_Backups1_SinglePartition_RestartRandomSrv_SqlDml
        • testPutAllGetAll_Server_Backups1_SinglePartition_RestartRandomSrv_SqlDml
        • testPutAllGetAll_ClientServer_Backups3_RestartCoordinator_ScanDml
        • testAccountsTxSql_Server_Backups0_CoordinatorFails
        • testAccountsTxSql_Server_Backups1_CoordinatorFails_Persistence
      junit.framework.AssertionFailedError: Unexpected error: junit.framework.AssertionFailedError: expected:<0> but was:<4>
      	at junit.framework.Assert.fail(Assert.java:57)
      	at junit.framework.TestCase.fail(TestCase.java:227)
      	at org.apache.ignite.internal.processors.cache.mvcc.CacheMvccAbstractTest$10.call(CacheMvccAbstractTest.java:1362)
      	at org.apache.ignite.internal.processors.cache.mvcc.CacheMvccAbstractTest$10.call(CacheMvccAbstractTest.java:1350)
      	at org.apache.ignite.testframework.GridTestThread.run(GridTestThread.java:84)
      

      Attachments

        Issue Links

          Activity

            People

              gvvinblade Igor Seliverstov
              rkondakov Roman Kondakov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m