2> junit.framework.AssertionFailedError: Unexpected exception type, expected ElasticsearchTimeoutException but got org.elasticsearch.search.query.SearchTimeoutException: Wait for seq_no [0] refreshed timed out [75ms]
at __randomizedtesting.SeedInfo.seed([7AC555CCB6E2E0F7:CBFD9EFA3DB5002F]:0)
at org.apache.lucene.tests.util.LuceneTestCase.expectThrows(LuceneTestCase.java:2894)
at org.apache.lucene.tests.util.LuceneTestCase.expectThrows(LuceneTestCase.java:2875)
at org.elasticsearch.search.SearchServiceTests.testWaitOnRefreshTimeout(SearchServiceTests.java:2619)
Caused by:
org.elasticsearch.search.query.SearchTimeoutException: Wait for seq_no [0] refreshed timed out [75ms]
at app//org.elasticsearch.search.SearchService.lambda$ensureAfterSeqNoRefreshed$4(SearchService.java:608)
at app//org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:956)
at app//org.elasticsearch.threadpool.ThreadPool$1.run(ThreadPool.java:514)
at java.base@22.0.2/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
at java.base@22.0.2/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base@22.0.2/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
at java.base@22.0.2/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base@22.0.2/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
CI Link
https://gradle-enterprise.elastic.co/s/kwj5ep3e5vymm
Repro line
./gradlew ":server:test" --tests "org.elasticsearch.search.SearchServiceTests.testWaitOnRefreshTimeout" -Dtests.seed=7AC555CCB6E2E0F7 -Dtests.locale=as-IN -Dtests.timezone=America/St_Kitts -Druntime.java=22
Does it reproduce?
Yes
Applicable branches
main
Failure history
No response
Failure excerpt