+++ This bug was initially created as a clone of Bug #1180522 +++
building engine master 040a8bb on fc21 I have:
Failed tests:
testJsonNullDiskDescription(org.ovirt.engine.core.bll.ImagesHandlerTest): Should be map of disk alias and disk description
testJsonDiskDescription(org.ovirt.engine.core.bll.ImagesHandlerTest): Should be map of disk alias and disk description
testJsonEmptyDiskDescription(org.ovirt.engine.core.bll.ImagesHandlerTest): Should be map of disk alias and disk description
See: http://jenkins.ovirt.org/job/manual-build-tarball/449/label=fc21/console for build logs.
Maybe something similar to http://gerrit.ovirt.org/36282 will solve the issue.
--- Additional comment from Allon Mureinik on 2015-01-11 16:04:48 IST ---
Indeed. The code in the test implicitly assumes the order in which a HashMap is iterated over. This assumption definitely breaks when transition from JDK7 to JDK8, as evident by this BZ, but may very well happen in a numerous number of other slight changes in the environment.
=============================================================================
Although 3.5.1 does not need to support JDK8, this test is WAY too delicate to leave in this state - any minor update to the JDK may break the unit test suite.
(In reply to Eyal Edri from comment #3)
> this ovirt bug was fixed during 3.5.1 cycle and is included in the build,
> and therefore should be verified.
The fact that the build passes verifies this bug.