Mercurial > hg > ThermostatQA
changeset 195:5aa76ad23f06
Updated heap dump search
author | Zdenek Zambersky <zzambers@redhat.com> |
---|---|
date | Mon, 27 Jul 2015 16:51:33 +0200 |
parents | c62d6e63c538 |
children | b4fc34288ffd |
files | src/org/thermostat/qa2/framework/utils/ThermostatUtilities.java |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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<String> 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; } }