Bug 1202959
Summary: | (6.4.z) [SET] Ignore subset of unsupported mixed-domain tests when running on JDK8 | ||
---|---|---|---|
Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Dominik Pospisil <dpospisi> |
Component: | Testsuite | Assignee: | Dominik Pospisil <dpospisi> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Petr Kremensky <pkremens> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.4.0 | CC: | bbaranow, cdewolf, jawilson, mkopecky, ozizka, rsvoboda |
Target Milestone: | CR1 | ||
Target Release: | EAP 6.4.2 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-01-17 10:12:05 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1219165 |
Description
Dominik Pospisil
2015-03-17 19:22:44 UTC
Verified on EAP 6.4.1.CP.CR2 Only 6.3.0 is started now even on JDK.version < 1.8 SystemUtils.JAVA_VERSION_INT returns version in format like [160,170,180] not [600,700,800] thus this should be ... static MixedDomainTestSupport getSupport(Class<?> testClass) { if (! testClass.getAnnotation(Version.class).value().equals(Version.AsVersion.EAP_6_3_0)) - Assume.assumeTrue((SystemUtils.JAVA_VERSION_INT >= 600) && (SystemUtils.JAVA_VERSION_INT < 800)); + Assume.assumeTrue((SystemUtils.JAVA_VERSION_INT >= 160) && (SystemUtils.JAVA_VERSION_INT < 180)); Version.AsVersion version = getVersion(testClass); ... Unfortunately I looked only at JDK 1.8 results back in the day (only 6.3.0 was started as expected) so I miss this :/ Verified on EAP 6.4.2.CP.CR1 Retroactively bulk-closing issues from released EAP 6.4 cumulative patches. |