-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
False
-
None
-
False
-
-
-
-
-
-
-
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.
- is cloned by
-
WFLY-19773 Intermittent failures in MP OpenAPI TCK
- Pull Request Sent
- is incorporated by
-
JBEAP-28074 (xp-5.0.z) Upgrade MP OpenAPI TCK to 3.1.2
- New