Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-3759

org.infinispan.cli.interpreter.UpgradeTest.testSynchronization fails on all environments

XMLWordPrintable

      There is a problem with ByteArrayKey class and we get
      java.lang.AssertionError: org/infinispan/util/ByteArrayKey
      at org.testng.AssertJUnit.fail(AssertJUnit.java:59)
      at org.testng.AssertJUnit.assertTrue(AssertJUnit.java:24)
      at org.testng.AssertJUnit.assertFalse(AssertJUnit.java:41)
      at org.infinispan.cli.interpreter.UpgradeTest.checkNoErrors(UpgradeTest.java:101)
      at org.infinispan.cli.interpreter.UpgradeTest.testSynchronization(UpgradeTest.java:87)

      In infinispan-cachestore-remote/pom.xml
      <dependency>
      <groupId>${project.groupId}</groupId>
      <artifactId>infinispan-adaptor52x</artifactId>
      <optional>true</optional> <<< this dependency is optional
      </dependency>
      So when test is running there is no ByteArrayKey under classpath and it fails

            ttarrant@redhat.com Tristan Tarrant
            vchepeli_jira Vitalii Chepeliuk (Inactive)
            Vitalii Chepeliuk Vitalii Chepeliuk (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: