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

Intermittent failures in MP OpenAPI TCK

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • MP OpenAPI
    • None

      The ModelConstructionTest, OASFactoryErrorTest test classes do not behave as independent tests with the Wildfly / EAP implementation of OpenAPI. They require initialization performed by other tests in the module in order to pass.

      The result is these tests fail if the tests happen to run in a wrong order, also fail when the tests are run alone.

      The specific problem that breaks the tests is that the OASFactoryResolver.instance() call returns null rather than an instance in case when the deployed application doesn't indicate that it needs OpenAPI functionality (no OpenAPI config, annotations, etc).

      The OpenAPI team agreed to modify the test classes to use more typical scenario when the deployed application contains OpenAPI config so the app server has an indication that OpenAPI should be initialized.

      More details about the issue can be seen at https://github.com/eclipse/microprofile-open-api/issues/655.

              thofman Tomas Hofman
              thofman Tomas Hofman
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: