Skip to content

Commit

Permalink
fix for updating version numbers for deprecation messages (tests) (op…
Browse files Browse the repository at this point in the history
  • Loading branch information
reta authored Apr 1, 2023
1 parent 28a7903 commit 4b0acb3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1033,7 +1033,7 @@ public void testSyncedFlushIndex() throws Exception {

// tag::flush-synced-execute
SyncedFlushResponse flushSyncedResponse = client.indices().flushSynced(request, expectWarnings(
"Synced flush is deprecated and will be removed in 8.0. Use flush at _/flush or /{index}/_flush instead."
"Synced flush is deprecated and will be removed in 3.0. Use flush at _/flush or /{index}/_flush instead."
));
// end::flush-synced-execute

Expand Down Expand Up @@ -1079,7 +1079,7 @@ public void onFailure(Exception e) {

// tag::flush-synced-execute-async
client.indices().flushSyncedAsync(request, expectWarnings(
"Synced flush is deprecated and will be removed in 8.0. Use flush at _/flush or /{index}/_flush instead."
"Synced flush is deprecated and will be removed in 3.0. Use flush at _/flush or /{index}/_flush instead."
), listener); // <1>
// end::flush-synced-execute-async

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
wait_for_status: green
- do:
allowed_warnings:
- Synced flush is deprecated and will be removed in 8.0. Use flush at _/flush or /{index}/_flush instead.
- Synced flush is deprecated and will be removed in 3.0. Use flush at _/flush or /{index}/_flush instead.
indices.flush_synced:
index: testing

Expand Down

0 comments on commit 4b0acb3

Please sign in to comment.