[jboss-jira] [JBoss JIRA] (WFLY-11896) Allow mixed domain tests to be ignored if no VM the legacy host can use is available
Brian Stansberry (Jira)
issues at jboss.org
Sat Mar 23 09:16:00 EDT 2019
Brian Stansberry created WFLY-11896:
---------------------------------------
Summary: Allow mixed domain tests to be ignored if no VM the legacy host can use is available
Key: WFLY-11896
URL: https://issues.jboss.org/browse/WFLY-11896
Project: WildFly
Issue Type: Enhancement
Components: Management, Test Suite
Reporter: Brian Stansberry
Assignee: Brian Stansberry
The mixed domain tests won't work properly if the VM running the testsuite is not usable by the legacy host controllers. If the test run is configured wit property java8.home set to the root of a JDK 8 installation, then the legacy hosts will be started with JDK 8, which may work. But this has flaws:
* Test jobs may not have java8.home configured, but this suite should still do something reasonable.
* Some legacy host versions it might be better to test with something other than 8, e.g. 11
* In the future some legacy host versions might not support 8, so we want a more complex mechanism.
To address the first point, the Version.AsVersion enum should include the min and max JVM versions acceptable for that host version. The testsuite in mixed-domain should be ignored if there is a mismatch and the following isn't configured:
The testsuite should check property jboss.test.legacy.host.javaX.home and if set configure the legacy slave to use the VM indicated by the value. The 'X' in 'javaX' is a value between the min and the max value the legacy host version supports. All should be tried until a match is found.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list