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 b5994ed381..8ee3e0046f 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,7 @@ public void test_cidrmatch() throws IOException { result = executeQuery( String.format( - "source=%s | where cidrmatch(host, '1.2.3.0/8') | 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")); }