This is an automated email from the ASF dual-hosted git repository.
btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git
The following commit(s) were added to refs/heads/master by this push:
new e84aef720f [Fix] DeleteAllIndexDocumentsCleanupStrategy should only
search on the working index, not all indexes (#2775)
e84aef720f is described below
commit e84aef720fc775a7981f2db1892ad3e5f5bae606
Author: Rene Cordier <[email protected]>
AuthorDate: Fri Jul 25 02:39:54 2025 +0700
[Fix] DeleteAllIndexDocumentsCleanupStrategy should only search on the
working index, not all indexes (#2775)
---
.../org/apache/james/backends/opensearch/DockerOpenSearchExtension.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/backends-common/opensearch/src/test/java/org/apache/james/backends/opensearch/DockerOpenSearchExtension.java
b/backends-common/opensearch/src/test/java/org/apache/james/backends/opensearch/DockerOpenSearchExtension.java
index 79b9efac2e..230876e289 100644
---
a/backends-common/opensearch/src/test/java/org/apache/james/backends/opensearch/DockerOpenSearchExtension.java
+++
b/backends-common/opensearch/src/test/java/org/apache/james/backends/opensearch/DockerOpenSearchExtension.java
@@ -62,12 +62,12 @@ public class DockerOpenSearchExtension implements
AfterEachCallback, BeforeEachC
.pollInterval(2, TimeUnit.SECONDS)
.ignoreExceptions()
.until(() -> {
- openSearch.flushIndices();
ReactorOpenSearchClient client = client(openSearch);
new DeleteByQueryPerformer(client, aliasName)
.perform(new MatchAllQuery.Builder().build().toQuery())
.block();
SearchRequest searchRequest = new SearchRequest.Builder()
+ .index(aliasName.getValue())
.query(new MatchAllQuery.Builder().build().toQuery())
.build();
openSearch.flushIndices();
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]