You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ja...@apache.org on 2026/06/07 01:29:49 UTC

(solr) branch branch_9x updated: SOLR-18174 Ignore flaky test testSemaphoreLeakOnLBRetry

This is an automated email from the ASF dual-hosted git repository.

janhoy pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/branch_9x by this push:
     new d6582ce4266 SOLR-18174 Ignore flaky test testSemaphoreLeakOnLBRetry
d6582ce4266 is described below

commit d6582ce4266fbd048952b5a352f81d3b51f46a0b
Author: Jan Høydahl <ja...@cominvent.com>
AuthorDate: Sun Jun 7 03:25:09 2026 +0200

    SOLR-18174 Ignore flaky test testSemaphoreLeakOnLBRetry
---
 .../solr/handler/component/AsyncTrackerSemaphoreLeakTest.java     | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/solr/core/src/test/org/apache/solr/handler/component/AsyncTrackerSemaphoreLeakTest.java b/solr/core/src/test/org/apache/solr/handler/component/AsyncTrackerSemaphoreLeakTest.java
index f8e2a31cba5..f68a7592a1c 100644
--- a/solr/core/src/test/org/apache/solr/handler/component/AsyncTrackerSemaphoreLeakTest.java
+++ b/solr/core/src/test/org/apache/solr/handler/component/AsyncTrackerSemaphoreLeakTest.java
@@ -47,6 +47,7 @@ import org.eclipse.jetty.client.api.Response;
 import org.eclipse.jetty.client.api.Result;
 import org.junit.AfterClass;
 import org.junit.BeforeClass;
+import org.junit.Ignore;
 import org.junit.Test;
 import org.mockito.ArgumentMatchers;
 import org.mockito.Mockito;
@@ -114,11 +115,12 @@ public class AsyncTrackerSemaphoreLeakTest extends SolrCloudTestCase {
    * org.apache.solr.client.solrj.impl.LBHttp2SolrClient} retrying a request synchronously inside a
    * {@link CompletableFuture#whenComplete} callback that runs on the Jetty IO selector thread.
    *
-   * <p>This test <b>passes</b> with the {@code failureDispatchExecutor} fix in this branch. Without
-   * the fix, the IO thread would block forever in {@code semaphore.acquire()} and this test would
-   * time out.
+   * <p>Without the {@code failureDispatchExecutor} fix (SOLR-18174), the IO thread would block
+   * forever in {@code semaphore.acquire()} and this test would time out.
    */
   @Test
+  @Ignore(
+      "SOLR-18174: Flaky due to timing-sensitive TCP RST simulation; kept for regression testing")
   @SuppressForbidden(
       reason =
           "Reflection needed to access Http2SolrClient's package-private getHttpClient() to force-stop it during timeout recovery")