hungphan227 commented on code in PR #2048: URL: https://github.com/apache/james-project/pull/2048#discussion_r1502005171
########## server/protocols/jmap-rfc-8621-integration-tests/postgres-jmap-rfc-8621-integration-tests/src/test/java/org/apache/james/jmap/rfc8621/postgres/PostgresThreadGetTest.java: ########## @@ -88,31 +60,11 @@ public class PostgresThreadGetTest extends PostgresBase implements ThreadGetCont .overrideWith(new TestJMAPServerModule())) .build(); - @AfterEach - void tearDown() throws IOException { - client.close(); - } - @Override public void awaitMessageCount(List<MailboxId> mailboxIds, SearchQuery query, long messageCount) { - awaitForOpenSearch(queryConverter.from(mailboxIds, query), messageCount); } @Override public void initOpenSearchClient() { - client = MailboxIndexCreationUtil.prepareDefaultClient( - openSearch.getDockerOpenSearch().clientProvider().get(), - openSearch.getDockerOpenSearch().configuration()); - } - - private void awaitForOpenSearch(Query query, long totalHits) { Review Comment: In postgres implementation, Thread feature use postgres instead of opensearch -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For additional commands, e-mail: notifications-h...@james.apache.org