# HG changeset patch # User Zdenek Zambersky # Date 1438008693 -7200 # Node ID 5aa76ad23f0677e194bd3ae0f97f4f24096eb572 # Parent c62d6e63c538c11d6b91b5d78d2d4488975fcf5e Updated heap dump search diff -r c62d6e63c538 -r 5aa76ad23f06 src/org/thermostat/qa2/framework/utils/ThermostatUtilities.java --- a/src/org/thermostat/qa2/framework/utils/ThermostatUtilities.java Mon Jul 27 13:41:51 2015 +0200 +++ b/src/org/thermostat/qa2/framework/utils/ThermostatUtilities.java Mon Jul 27 16:51:33 2015 +0200 @@ -369,7 +369,7 @@ List lines = getListHeapDumpsOutput(target); int start = 0; for (String currentLine : lines) { - if (currentLine.contains("HOST ID") && currentLine.contains("VM ID") && currentLine.contains("HEAP ID")) { + if (currentLine.contains("VM ID") && currentLine.contains("HEAP ID")) { break; } ++start; @@ -377,7 +377,7 @@ int size = lines.size(); for (int i = size - 1; i > start; --i) { String line = lines.get(i); - if (line.contains(hostId) && line.contains(vmId)) { + if (line.contains(vmId)) { return line; } }