Skip to content

Commit 2499316

Browse files
authored
test(pubsub): disable flaky tests in PublisherImplTest (#13395)
This PR disables `PublisherImplTest.testResumePublish` and `PublisherImplTest.testPublishThrowExceptionForUnsubmittedOrderingKeyMessage` which causes 6-hour timeouts in release runs under Java 8 due to a deadlock. See Issue #13394 for more details.
1 parent e1e4059 commit 2499316

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

java-pubsub/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/PublisherImplTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
import org.easymock.EasyMock;
6565
import org.junit.After;
6666
import org.junit.Before;
67+
import org.junit.Ignore;
6768
import org.junit.Test;
6869
import org.junit.runner.RunWith;
6970
import org.junit.runners.JUnit4;
@@ -512,6 +513,7 @@ public void testEnableMessageOrdering_overwritesMaxAttempts() throws Exception {
512513
* <li>publish with key orderA, which should now succeed
513514
* </ol>
514515
*/
516+
@Ignore("https://github.com/googleapis/google-cloud-java/issues/13394")
515517
@Test
516518
public void testResumePublish() throws Exception {
517519
Publisher publisher =
@@ -591,6 +593,7 @@ public void testResumePublish() throws Exception {
591593
shutdownTestPublisher(publisher);
592594
}
593595

596+
@Ignore("https://github.com/googleapis/google-cloud-java/issues/13394")
594597
@Test
595598
public void testPublishThrowExceptionForUnsubmittedOrderingKeyMessage() throws Exception {
596599
Publisher publisher =

0 commit comments

Comments
 (0)