Skip to content

[fix][test] Fix flaky DisabledCreateTopicToRemoteClusterForReplicationTest - #24141

Merged
crossoverJie merged 2 commits into
apache:masterfrom
3pacccccc:fixFlakyTest
Apr 7, 2025
Merged

crossoverJie merged 2 commits into
apache:masterfrom
3pacccccc:fixFlakyTest

Conversation

@3pacccccc

Copy link
Copy Markdown
Contributor

Fixes #23827

Motivation

fix flaky-test, I think the flaky-test is due to replication not complete yet within 10 seconds, so I added to 30 seconds and change the assertion into await().atMost(30, TimeUnit.SECONDS)

Verifying this change

  • Make sure that the change passes the CI checks.

Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

  • Dependencies (add or upgrade a dependency)
  • The public API
  • The schema
  • The default values of configurations
  • The threading model
  • The binary protocol
  • The REST endpoints
  • The admin CLI options
  • The metrics
  • Anything that affects deployment

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

Matching PR in forked repository

PR in forked repository: 3pacccccc#2

…licationTest.testCreatePartitionedTopicWithNsReplication
@github-actions github-actions Bot added the doc-not-needed Your PR changes do not impact docs label Mar 28, 2025
@3pacccccc

Copy link
Copy Markdown
Contributor Author

@lhotari

@3pacccccc
3pacccccc requested a review from lhotari March 28, 2025 13:47
@lhotari lhotari changed the title [fix][test]fix flaky-test of issue 23827 [fix][test] Fix flaky DisabledCreateTopicToRemoteClusterForReplicationTest Mar 28, 2025
@lhotari

lhotari commented Apr 1, 2025

Copy link
Copy Markdown
Member

It's possible that this doesn't address the flakiness. 10 seconds is already a long timeout so unless there's an explanation why it times out, it's not clear why increasing to 20 seconds would help.

@crossoverJie
crossoverJie merged commit ec196f4 into apache:master Apr 7, 2025
@3pacccccc
3pacccccc deleted the fixFlakyTest branch August 7, 2025 11:19
walkinggo pushed a commit to walkinggo/pulsar that referenced this pull request Oct 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc-not-needed Your PR changes do not impact docs ready-to-test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Flaky-test: DisabledCreateTopicToRemoteClusterForReplicationTest.testCreatePartitionedTopicWithNsReplication

3 participants