OpenLiberty / ci.maven

Maven plugins for managing Liberty profile servers #devops
Apache License 2.0
130 stars 91 forks source link

Change warnings to info or debug #1785

Closed cherylking closed 10 months ago

cherylking commented 10 months ago

Fixes #1782

cherylking commented 10 months ago

Unrelated to my changes, a test case started failing on Linux (it is not run on Windows). I spent much of Wednesday looking into this test failure.

So I found that if I ran the failing test locally by itself (MultiModuleRunInstallEarTest in dev-it), I could recreate the problem. Basically, the test expects the ear to have been installed in .m2/repository. However, the run goal does not install it. The test was erroneously depending on some other part of dev-it that installs the ear. If I run all of dev-it locally, the test passes.

So I modified the test to handle the case where the ear is not already installed in .m2/repository.