Skip to content

Commit d6582ce

Browse files
committed
SOLR-18174 Ignore flaky test testSemaphoreLeakOnLBRetry
1 parent a3c387d commit d6582ce

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

solr/core/src/test/org/apache/solr/handler/component/AsyncTrackerSemaphoreLeakTest.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
import org.eclipse.jetty.client.api.Result;
4848
import org.junit.AfterClass;
4949
import org.junit.BeforeClass;
50+
import org.junit.Ignore;
5051
import org.junit.Test;
5152
import org.mockito.ArgumentMatchers;
5253
import org.mockito.Mockito;
@@ -114,11 +115,12 @@ public static void cleanup() {
114115
* org.apache.solr.client.solrj.impl.LBHttp2SolrClient} retrying a request synchronously inside a
115116
* {@link CompletableFuture#whenComplete} callback that runs on the Jetty IO selector thread.
116117
*
117-
* <p>This test <b>passes</b> with the {@code failureDispatchExecutor} fix in this branch. Without
118-
* the fix, the IO thread would block forever in {@code semaphore.acquire()} and this test would
119-
* time out.
118+
* <p>Without the {@code failureDispatchExecutor} fix (SOLR-18174), the IO thread would block
119+
* forever in {@code semaphore.acquire()} and this test would time out.
120120
*/
121121
@Test
122+
@Ignore(
123+
"SOLR-18174: Flaky due to timing-sensitive TCP RST simulation; kept for regression testing")
122124
@SuppressForbidden(
123125
reason =
124126
"Reflection needed to access Http2SolrClient's package-private getHttpClient() to force-stop it during timeout recovery")

0 commit comments

Comments
 (0)