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

TableManagerRecoveryTest.workDir hides a field from superclass

    XMLWordPrintableJSON

Details

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

    Description

      TableManagerRecoveryTest.workDir hides a field from superclass, which prevents junit version update:

      org.apache.ignite.internal.table.distributed.TableManagerRecoveryTest
        org.apache.ignite.internal.table.distributed.TableManagerRecoveryTest.initializationError
          java.lang.IllegalStateException: Test class must have a single field of type 'java.nio.file.Path' annotated with '@WorkDirectory', but 2 fields have been found
          java.lang.IllegalStateException: Test class must have a single field of type 'java.nio.file.Path' annotated with '@WorkDirectory', but 2 fields have been found
            at org.apache.ignite.internal.testframework.WorkDirectoryExtension.getWorkDirField(WorkDirectoryExtension.java:331)
            at org.apache.ignite.internal.testframework.WorkDirectoryExtension.beforeAll(WorkDirectoryExtension.java:110)
            at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
            Suppressed: java.lang.NullPointerException
              at org.apache.ignite.internal.configuration.testframework.ConfigurationExtension.afterAll(ConfigurationExtension.java:133)
      

      https://ci.ignite.apache.org/buildConfiguration/ApacheIgnite3xGradle_Test_RunAllTests/8455628?expandBuildDeploymentsSection=false&hideTestsFromDependencies=false&hideProblemsFromDependencies=false&expandCode+Inspection=true&expandBuildProblemsSection=true&expandBuildTestsSection=true

      Attachments

        Issue Links

          Activity

            People

              ptupitsyn Pavel Tupitsyn
              ptupitsyn Pavel Tupitsyn
              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 - 40m
                  40m