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

Update micronaut versions

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Done
    • None
    • 3.0.0-beta2
    • build

    Description

      IDEA test runner puts all of the different versions of the same artifact in the test classpath. Apparently, if version in the versions file is lower than in some transitive dependency, IDEA adds both versions to the libraries list and puts them on the classpath, leading to all sorts of problems.

      One example of this is running org.apache.ignite.internal.cli.commands.ItClusterCommandTest#initClusterWithNodesOfDifferentRoles from IDEA leading to the failure due to the exception:

      Caused by: java.nio.file.FileSystemAlreadyExistsException
      	at jdk.zipfs/jdk.nio.zipfs.ZipFileSystemProvider.newFileSystem(ZipFileSystemProvider.java:102)
      	at java.base/java.nio.file.FileSystems.newFileSystem(FileSystems.java:337)
      	at java.base/java.nio.file.FileSystems.newFileSystem(FileSystems.java:286)
      	at io.micronaut.core.io.IOUtils.eachFile(IOUtils.java:88)
      	at io.micronaut.core.io.service.SoftServiceLoader.computeServiceTypeNames(SoftServiceLoader.java:277)
      	at io.micronaut.core.io.service.SoftServiceLoader.access$1100(SoftServiceLoader.java:68)
      	at io.micronaut.core.io.service.SoftServiceLoader$MicronautMetaServicesLoader.compute(SoftServiceLoader.java:565)
      	at java.base/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:189)
      	... 5 more 

      Let's update micronaut and netty versions to upper common version.

      Attachments

        Issue Links

          Activity

            People

              vpakhnushev Vadim Pakhnushev
              vpakhnushev Vadim Pakhnushev
              Votes:
              0 Vote for this issue
              Watchers:
              2 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