-
Bug
-
Resolution: Done
-
Critical
-
EAP_EWP 5.1.2 ER2, EAP_EWP 5.1.2 CR2
-
None
-
Not Required
There seems to be an issue in HornetQ test suite on Windows Server 2008 and Windows Server 2008 R2. From logs in hudson ci job for Windows:
https://hudson.qa.jboss.com/hudson/view/EAP-CI-Components/view/HornetQ-CI/job/ci-Windows-Server-2008-x86_64-SunJDK1.6-all-tests/
it looks that UnitTestCase.forceGC() method never ends because of never ending while cycle:
public static void forceGC()
{
logInstance.info("#test forceGC");
WeakReference<Object> dumbReference = new WeakReference<Object>(new Object());
// A loop that will wait GC, using the minimal time as possible
while (dumbReference.get() != null)
{
System.gc();
try
catch (InterruptedException e)
{
}
}
logInstance.info("#test forceGC Done");
}
I think that JVM does not have to start garbage collector when "System.gc()" is called. I'm setting higher priority because this issue block us in certification of EAP/HQ for Windows.
- is duplicated by
-
JBPAPP-4705 Failed tests in HornetQ testsuite on Windows platform
- Closed