Uploaded image for project: 'HAL'
  1. HAL
  2. HAL-1798

It is not possible to compile testsuite with HAL 3.6.x

XMLWordPrintable

      Compiles fine:

      mvn install -Pall,firefox,standalone,domain,restoreConfig,jdk-9 -Dmaven.repo.local=$PWD/foobar -Dtest=HomePageTest#noTest -DfailIfNoTests=false -Dhal.version=3.5.12.Final
      

      Doesn't compile:

      mvn install -Pall,firefox,standalone,domain,restoreConfig,jdk-9 -Dmaven.repo.local=$PWD/foobar -Dtest=HomePageTest#noTest -DfailIfNoTests=false -Dhal.version=3.6.0.Final
      

      results in

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:testCompile (default-testCompile) on project hal-testsuite-tests-keycloak: Compilation failure: Compilation failure: 
      [ERROR] /home/jkasik/projects/rhat/testsuite.next/tests/keycloak/src/test/java/org/jboss/hal/testsuite/test/keycloak/KeycloakOperations.java:[58,58] cannot find symbol
      [ERROR]   symbol:   variable SECURITY_REALM
      [ERROR]   location: class org.jboss.hal.testsuite.test.keycloak.KeycloakOperations
      [ERROR] /home/jkasik/projects/rhat/testsuite.next/tests/keycloak/src/test/java/org/jboss/hal/testsuite/test/keycloak/KeycloakOperations.java:[59,58] cannot find symbol
      [ERROR]   symbol:   variable SECURITY_REALM
      [ERROR]   location: class org.jboss.hal.testsuite.test.keycloak.KeycloakOperations
      [ERROR] /home/jkasik/projects/rhat/testsuite.next/tests/keycloak/src/test/java/org/jboss/hal/testsuite/test/keycloak/KeycloakOperations.java:[64,17] cannot find symbol
      [ERROR]   symbol:   variable SECURITY_REALM
      [ERROR]   location: class org.jboss.hal.testsuite.test.keycloak.KeycloakOperations
      
      mvn install -Pall,firefox,standalone,domain,restoreConfig,jdk-9 -Dmaven.repo.local=$PWD/foobar -Dtest=HomePageTest#noTest -DfailIfNoTests=false -Dhal.version=3.6.1.Final
      

      results in

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project hal-testsuite-common: Compilation failure: Compilation failure: 
      [ERROR] /home/jkasik/projects/rhat/testsuite.next/common/src/main/java/org/jboss/hal/testsuite/page/configuration/MessagingServerHaPolicyPage.java:[30,1] cannot find symbol
      [ERROR]   symbol:   static MESSAGING_HA_REPLICATION_MASTER
      [ERROR]   location: interface org.jboss.hal.resources.Ids
      [ERROR] /home/jkasik/projects/rhat/testsuite.next/common/src/main/java/org/jboss/hal/testsuite/page/configuration/MessagingServerHaPolicyPage.java:[31,1] cannot find symbol
      [ERROR]   symbol:   static MESSAGING_HA_REPLICATION_SLAVE
      [ERROR]   location: interface org.jboss.hal.resources.Ids
      [ERROR] /home/jkasik/projects/rhat/testsuite.next/common/src/main/java/org/jboss/hal/testsuite/page/configuration/MessagingServerHaPolicyPage.java:[33,1] cannot find symbol
      [ERROR]   symbol:   static MESSAGING_HA_SHARED_STORE_MASTER
      [ERROR]   location: interface org.jboss.hal.resources.Ids
      [ERROR] /home/jkasik/projects/rhat/testsuite.next/common/src/main/java/org/jboss/hal/testsuite/page/configuration/MessagingServerHaPolicyPage.java:[34,1] cannot find symbol
      [ERROR]   symbol:   static MESSAGING_HA_SHARED_STORE_SLAVE
      [ERROR]   location: interface org.jboss.hal.resources.Ids
      [ERROR] /home/jkasik/projects/rhat/testsuite.next/common/src/main/java/org/jboss/hal/testsuite/page/configuration/MessagingServerHaPolicyPage.java:[41,18] cannot find symbol
      [ERROR]   symbol:   variable MESSAGING_HA_REPLICATION_MASTER
      [ERROR]   location: class org.jboss.hal.testsuite.page.configuration.MessagingServerHaPolicyPage
      [ERROR] /home/jkasik/projects/rhat/testsuite.next/common/src/main/java/org/jboss/hal/testsuite/page/configuration/MessagingServerHaPolicyPage.java:[42,18] cannot find symbol
      [ERROR]   symbol:   variable MESSAGING_HA_REPLICATION_SLAVE
      [ERROR]   location: class org.jboss.hal.testsuite.page.configuration.MessagingServerHaPolicyPage
      [ERROR] /home/jkasik/projects/rhat/testsuite.next/common/src/main/java/org/jboss/hal/testsuite/page/configuration/MessagingServerHaPolicyPage.java:[44,18] cannot find symbol
      [ERROR]   symbol:   variable MESSAGING_HA_SHARED_STORE_MASTER
      [ERROR]   location: class org.jboss.hal.testsuite.page.configuration.MessagingServerHaPolicyPage
      [ERROR] /home/jkasik/projects/rhat/testsuite.next/common/src/main/java/org/jboss/hal/testsuite/page/configuration/MessagingServerHaPolicyPage.java:[45,18] cannot find symbol
      [ERROR]   symbol:   variable MESSAGING_HA_SHARED_STORE_SLAVE
      [ERROR]   location: class org.jboss.hal.testsuite.page.configuration.MessagingServerHaPoli
      

            jkasik@redhat.com Jan Kašík
            jkasik@redhat.com Jan Kašík
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: