[jboss-jira] [JBoss JIRA] (LOGMGR-208) Missing -Djava.util.logging.manager=org.jboss.logmanager.LogManager for tests on IBM JDK
Nikoleta Žiaková (Jira)
issues at jboss.org
Wed Oct 31 11:08:00 EDT 2018
Nikoleta Žiaková created LOGMGR-208:
---------------------------------------
Summary: Missing -Djava.util.logging.manager=org.jboss.logmanager.LogManager for tests on IBM JDK
Key: LOGMGR-208
URL: https://issues.jboss.org/browse/LOGMGR-208
Project: JBoss Log Manager
Issue Type: Bug
Affects Versions: 2.1.5.Final
Reporter: Nikoleta Žiaková
There are several test failures on IBM JDK with following error:
{quote}
The LogManager was not properly installed (you must set the "java.util.logging.manager" system property to "org.jboss.logmanager.LogManager")
{quote}
This is similar to WFCORE-3797 but profile for IBM cannot be added since Maven is run with different JDK than the tests themselves - build requires JDK11 and the tests are run on IBM JDK 1.8 using {{java8.home}} property.
Simple fix is to add "-Djava.util.logging.manager=org.jboss.logmanager.LogManager" to surefire argLine like at https://github.com/nziakova/jboss-logmanager/commit/ae67e8b517866b80f77970c068c54dca5b468806
[~jamezp] WDYT?
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list