diff --git a/finish/src/test/java/it/io/openliberty/guides/metrics/MetricsIT.java b/finish/src/test/java/it/io/openliberty/guides/metrics/MetricsIT.java index 77ad665..6b17b4c 100644 --- a/finish/src/test/java/it/io/openliberty/guides/metrics/MetricsIT.java +++ b/finish/src/test/java/it/io/openliberty/guides/metrics/MetricsIT.java @@ -206,7 +206,7 @@ private Map getIntMetrics(List metrics, String metricNa Map output = new HashMap(); for (String metric : metrics) { if (metric.startsWith(metricName)) { - String[] mSplit = metric.split("\\s+"); + String[] mSplit = metric.split(" "); String key = mSplit[0]; Integer value = Integer.parseInt(mSplit[mSplit.length - 1]); output.put(key, value);