Skip to content

chore(pubsub): disable PublisherImplTest.testPermanentErrorOnHedgedAttemptDiscarded - #15009

Open
blakeli0 wants to merge 1 commit into
googleapis:mainfrom
blakeli0:chore/pubsub-disable-hedged-attempt-discarded-test
Open

blakeli0 wants to merge 1 commit into
googleapis:mainfrom
blakeli0:chore/pubsub-disable-hedged-attempt-discarded-test

Conversation

@blakeli0

Copy link
Copy Markdown
Contributor

PublisherImplTest.testPermanentErrorOnHedgedAttemptDiscarded fails intermittently with:

Timeout Waited 1 seconds (plus 90711 nanoseconds delay) for com.google.api.core.AbstractApiFuture$InternalSettableFuture@36074e47[status=PENDING]

The cause is a deadlock in publish hedging, tracked in #15008. It is a bug in the library, not a timing problem in the test, so raising the test's timeout would not help. Looping the unmodified test locally reproduced it about once in 1,900 runs, with a JVM-reported deadlock each time.

This PR only adds @Ignore so the test stops failing unrelated changes. It does not address the deadlock. The test should be re-enabled together with the change that does.

With this change PublisherImplTest runs 49 tests with 3 skipped (this one plus the two that were already ignored), and fmt-maven-plugin:check is clean for google-cloud-pubsub.

Seen in ci / split-units (java-pubsub, 8): https://github.com/googleapis/google-cloud-java/actions/runs/41114451056/job/124265733068

b/580634974

…temptDiscarded

The test intermittently times out because of a deadlock in publish
hedging, tracked in
googleapis#15008. It is a bug
in the library rather than a timing problem in the test.

Disable the test until the deadlock is resolved so that it stops failing
unrelated changes. It should be re-enabled together with that change.

b/580634974
@blakeli0
blakeli0 requested review from a team as code owners November 13, 2026 21:53

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request disables the testPermanentErrorOnHedgedAttemptDiscarded test in PublisherImplTest.java by adding the @Ignore annotation, citing an intermittent deadlock issue in publish hedging. I have no feedback to provide on this change.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant