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

JVM crash in ignite-metastorage:integrationTest test suite

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0
    • None

    Description

      TC failure link

      Likely the reason of the failure is the same as in https://issues.apache.org/jira/browse/IGNITE-22986: incorrect storage and raft stop order. E.g. in the ItMetaStorageServicePersistenceTest we first stop the storage 

      @AfterEach
      void tearDown() throws Exception {
          IgniteUtils.closeAll(storageByName.values().stream().map(storage -> storage::close));
      } 

      and then in the base class ItAbstractListenerSnapshotTest stop the raft 

      @AfterEach
      public void afterTest() throws Exception {
          Stream<AutoCloseable> stopRaftGroups = servers.stream().map(s -> () -> s.stopRaftNodes(raftGroupId())); 

      I didn't check whether it's the only test with the problem or not.

      Attachments

        Issue Links

          Activity

            People

              ksizov  Kirill Sizov
              alapin Alexander Lapin
              Votes:
              0 Vote for this issue
              Watchers:
              1 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