diff --git a/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/OfflineClusterIntegrationTest.java b/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/OfflineClusterIntegrationTest.java index be6f1c1931ab..37942ec0b487 100644 --- a/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/OfflineClusterIntegrationTest.java +++ b/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/OfflineClusterIntegrationTest.java @@ -3569,7 +3569,7 @@ public void testExplainPlanQueryV2() // needed because both OfflineClusterIntegrationTest and MultiNodesOfflineClusterIntegrationTest run this test // case with different number of documents in the segment. response1 = response1.replaceAll("docs:[0-9]+", "docs:*") - .replaceAll("Time: \\d+\\.\\d+", "Time:*"); + .replaceAll("Time: \\d+\\.\\d+(?:[eE][-+]?\\d+)?", "Time:*"); JsonNode response1Json = JsonUtils.stringToJsonNode(response1); assertEquals(response1Json.get("dataSchema").get("columnNames").get(0).asText(), "SQL"); @@ -3605,7 +3605,7 @@ public void testExplainPlanQueryV2() // language=sql String query2 = "EXPLAIN PLAN WITHOUT IMPLEMENTATION FOR SELECT * FROM mytable WHERE FlightNum < 0"; String response2 = postQuery(query2).get("resultTable").toString() - .replaceAll("Time: \\d+\\.\\d+", "Time: *"); + .replaceAll("Time: \\d+\\.\\d+(?:[eE][-+]?\\d+)?", "Time: *"); JsonNode response2Json = JsonUtils.stringToJsonNode(response2); assertEquals(response2Json.get("dataSchema").get("columnNames").get(0).asText(), "SQL");