diff --git a/integ-test/src/test/java/org/opensearch/sql/ppl/IPFunctionIT.java b/integ-test/src/test/java/org/opensearch/sql/ppl/IPFunctionIT.java index 8ee3e0046f..2d4f3837b8 100644 --- a/integ-test/src/test/java/org/opensearch/sql/ppl/IPFunctionIT.java +++ b/integ-test/src/test/java/org/opensearch/sql/ppl/IPFunctionIT.java @@ -49,7 +49,8 @@ public void test_cidrmatch() throws IOException { result = executeQuery( String.format( - "source=%s | where cidrmatch(host, '1.2.3.0/24') | fields host", TEST_INDEX_WEBLOG)); + "source=%s | where cidrmatch(host, '1.2.3.0/24') | fields host", + TEST_INDEX_WEBLOG)); verifySchema(result, schema("host", null, "ip")); verifyDataRows(result, rows("1.2.3.4"), rows("1.2.3.5")); } diff --git a/integ-test/src/test/java/org/opensearch/sql/ppl/SortCommandIT.java b/integ-test/src/test/java/org/opensearch/sql/ppl/SortCommandIT.java index d3dae856c7..d5de24cbf6 100644 --- a/integ-test/src/test/java/org/opensearch/sql/ppl/SortCommandIT.java +++ b/integ-test/src/test/java/org/opensearch/sql/ppl/SortCommandIT.java @@ -135,7 +135,7 @@ public void testSortStringField() throws IOException { @Test public void testSortIpField() throws IOException { final JSONObject result = - executeQuery(String.format("source=%s | sort host | fields host", TEST_INDEX_WEBLOG)); + executeQuery(String.format("source=%s | fields host | sort host", TEST_INDEX_WEBLOG)); verifyOrder( result, rows("::1"),