diff --git a/java-pubsub/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/PublisherImplTest.java b/java-pubsub/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/PublisherImplTest.java index 175694ae1573..44737b8f78ca 100644 --- a/java-pubsub/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/PublisherImplTest.java +++ b/java-pubsub/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/PublisherImplTest.java @@ -1698,6 +1698,9 @@ public void testNoHedgingIfOriginalFailsImmediately() throws Exception { shutdownTestPublisher(publisher); } + // Disabled because it intermittently hits a deadlock in publish hedging. That is a bug in the + // library, not a timing problem in this test, so raising the timeout below would not help. + @Ignore("https://github.com/googleapis/google-cloud-java/issues/15008") @Test public void testPermanentErrorOnHedgedAttemptDiscarded() throws Exception { Publisher publisher = getPublisherWithHedge(Duration.ofMillis(100), 0.2f, 20);