Community
Participate
Working Groups
junit.framework.AssertionFailedError: expected:<false> but was:<true> at org.eclipse.virgo.medic.dump.impl.HeapDumpContributorTests.dumpHeap(HeapDumpContributorTests.java:64) This line expects there NOT to be a dump file (heap.out), but org.eclipse.virgo.medic.dump.impl.heap.HeapDumpContributor in project org.eclipse.virgo.medic.core writes heap.out even if a heap dump is NOT generated.
Solution is to modify HeapDumpContributor to NOT generate a file called "heap.out" when it hasn't generated a heap file.
Solution (comment 1) implemented. Heap dump not reliably taken. Long term solution requires better heap dump implementation in multiple JVMs.
[Bug: 311858] was raised when this fix caused other tests to fail. That issue is now settled. This one can be closed.