Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-14134

Ignore OnOffOpenTracingTestCase

XMLWordPrintable

    • Hide

      $ cd testsuite/integration/basic
      $ mvn clean test -DallTests -Dmaven.test.failure.ignore=true -DfailIfNoTests=false -Dtest="SimpleRestClientTestCase,OnOffOpenTracingTestCase"
      ...
      [INFO]
      [ERROR] Errors:
      [ERROR] SimpleRestClientTestCase.clientRequestSpanJoinsServer:87 » IllegalState WELD-0...
      [INFO]
      [ERROR] Tests run: 2, Failures: 0, Errors: 1, Skipped: 0
      [INFO]
      [ERROR] There are test failures.

      Show
      $ cd testsuite/integration/basic $ mvn clean test -DallTests -Dmaven.test.failure.ignore=true -DfailIfNoTests=false -Dtest="SimpleRestClientTestCase,OnOffOpenTracingTestCase" ... [INFO] [ERROR] Errors: [ERROR] SimpleRestClientTestCase.clientRequestSpanJoinsServer:87 » IllegalState WELD-0... [INFO] [ERROR] Tests run: 2, Failures: 0, Errors: 1, Skipped: 0 [INFO] [ERROR] There are test failures.
    • Undefined
    • ---
    • ---

      While doing unrelated development, I noticed that I had a failure in SimpleRestClientTestCase that seems to come from the OnOffOpenTracingTestCase.

      It seems that the test code in OnOffOpenTracingTestCase make Weld get lost and the failure happens in the next test running...

      The code in OnOffOpenTracingTestCase is a bit convoluted (it reload the server 4 times!) and does not take into account that once the open tracing subsystem is removed, the deployment used by the test can not be deployed (as the subsystem was responsible for exposing the opentracing API to the deployment code).

              jmesnil1@redhat.com Jeff Mesnil
              jmesnil1@redhat.com Jeff Mesnil
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: