Skip to content

Commit 37676ff

Browse files
committed
Fix: delete test doc with refresh
Signed-off-by: Yuanchun Shen <yuanchu@amazon.com>
1 parent 5f36a75 commit 37676ff

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

integ-test/src/test/java/org/opensearch/sql/calcite/remote/CalciteExpandCommandIT.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,8 @@ public void testExpandEmptyArray() throws Exception {
395395

396396
verifyNumOfRows(response, 12);
397397
Request deleteRequest =
398-
new Request("DELETE", String.format("/%s/_doc/%d", TEST_INDEX_NESTED_SIMPLE, docId));
398+
new Request(
399+
"DELETE", String.format("/%s/_doc/%d?refresh=true", TEST_INDEX_NESTED_SIMPLE, docId));
399400
client().performRequest(deleteRequest);
400401
}
401402
}

0 commit comments

Comments
 (0)