Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-1256

jbossts-branch417-EAP61-ipv6-dualstack is running the DB QA tests

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.17.0, 5.0.0.M2
    • None
    • Testing
    • None

      jbossts-branch417-EAP61-ipv6-dualstack is running junit-jdbc-ncl-testsuite, which I beleive it should not as we don't have any IPv6 databases.

      http://172.17.131.2/view/Narayana+BlackTie/job/jbossts-branch417-EAP61-ipv6-dualstack/72/console

            [JBTM-1256] jbossts-branch417-EAP61-ipv6-dualstack is running the DB QA tests

            The problem was due to the ordering of the clauses in the following statement:

            [ -z "${IPV6_OPTS+x}" ] || target="junit-testsuite" && target="ci-tests"
            

            The 'true' clause (preceded by &&) must come first; otherwise it will always trigger, even if the test returns false. This is because '[ false ] || echo blah' will return true, thus triggering the code after the && to fire.

            Paul Robinson added a comment - The problem was due to the ordering of the clauses in the following statement: [ -z "${IPV6_OPTS+x}" ] || target= "junit-testsuite" && target= "ci-tests" The 'true' clause (preceded by &&) must come first; otherwise it will always trigger, even if the test returns false. This is because '[ false ] || echo blah' will return true, thus triggering the code after the && to fire.

              paul.robinson@redhat.com Paul Robinson
              paul.robinson@redhat.com Paul Robinson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: