Skip to content

[improve][test] Disable testMaxPendingChunkMessages to unblock the flaky test first - #18572

Merged
tisonkun merged 1 commit into
apache:masterfrom
RobertIndie:flaky-maxPending
Nov 23, 2022
Merged

tisonkun merged 1 commit into
apache:masterfrom
RobertIndie:flaky-maxPending

Conversation

@RobertIndie

@RobertIndie RobertIndie commented Nov 23, 2022 •

Copy link
Copy Markdown
Member

Master Issue: #18570

Motivation

Currently, the flaky test testMaxPendingChunkMessages has blocked many PRs. Although I have fixed some problems of this test, there are still other flaky issues. This PR disables this flaky test first. Then I will open a new PR to fix this flaky test.

Modifications

  • Disable the test testMaxPendingChunkMessages

Verifying this change

This change is a trivial rework / code cleanup without any test coverage.

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
  • Anything that affects deployment

Documentation

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

Matching PR in forked repository

PR in forked repository:

… test first

Motivation
Currently, the flaky test `testMaxPendingChunkMessages` has blocked many PRs. Although I have fixed some problems of this test, there are still other flaky issues. This PR disable this flaky test first. Then I will open a new PR to fix this flaky test.

Modification
* Disable the test `testMaxPendingChunkMessages`

Signed-off-by: Zike Yang <[email protected]>
@RobertIndie RobertIndie added type/bug The PR fixed a bug or issue reported a bug type/flaky-tests ready-to-test labels Nov 23, 2022
@RobertIndie RobertIndie added this to the 2.12.0 milestone Nov 23, 2022
@RobertIndie RobertIndie self-assigned this Nov 23, 2022
@github-actions github-actions Bot added the doc-not-needed Your PR changes do not impact docs label Nov 23, 2022
@RobertIndie RobertIndie changed the title [fix][flaky] Disable testMaxPendingChunkMessages to unblock the flaky test first [fix][test] Disable testMaxPendingChunkMessages to unblock the flaky test first Nov 23, 2022
@codecov-commenter

codecov-commenter commented Nov 23, 2022 •

Copy link
Copy Markdown

Codecov Report

Merging #18572 (e33e750) into master (67f9461) will increase coverage by 15.26%.
The diff coverage is n/a.

Impacted file tree graph

@@              Coverage Diff              @@
##             master   #18572       +/-   ##
=============================================
+ Coverage     31.98%   47.25%   +15.26%     
- Complexity     6813    10456     +3643     
=============================================
  Files           698      698               
  Lines         68060    68060               
  Branches       7277     7277               
=============================================
+ Hits          21772    32161    +10389     
+ Misses        43238    32325    -10913     
- Partials       3050     3574      +524     
Flag Coverage Δ
unittests 47.25% <ø> (+15.26%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...apache/pulsar/client/impl/AutoClusterFailover.java 73.33% <0.00%> (-2.78%) ⬇️
...va/org/apache/pulsar/client/impl/ProducerBase.java 32.69% <0.00%> (-1.93%) ⬇️
.../apache/pulsar/broker/namespace/LookupOptions.java 87.50% <0.00%> (ø)
.../apache/pulsar/common/naming/NamespaceBundles.java 69.87% <0.00%> (+1.20%) ⬆️
...roker/systopic/TopicPoliciesSystemTopicClient.java 57.14% <0.00%> (+1.29%) ⬆️
...pache/pulsar/proxy/server/ProxyServiceStarter.java 62.00% <0.00%> (+1.33%) ⬆️
...ulsar/utils/ConcurrentBitmapSortedLongPairSet.java 59.25% <0.00%> (+1.85%) ⬆️
...rg/apache/pulsar/broker/namespace/OwnedBundle.java 77.55% <0.00%> (+2.04%) ⬆️
...apache/pulsar/broker/namespace/OwnershipCache.java 70.52% <0.00%> (+2.10%) ⬆️
...ar/broker/loadbalance/impl/BundleSplitterTask.java 80.00% <0.00%> (+2.22%) ⬆️
... and 156 more

@tisonkun tisonkun left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Remember to file an issue to bring it back. We already has a number of disabled tests and they're effectively dead code.

An alternative is moved to the flaky group. But the fundamental work is fixing or removing them.

@RobertIndie

Copy link
Copy Markdown
Member Author

@tisonkun Thanks for your comment. I linked this PR to the issue: #18570

@tisonkun tisonkun left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Merging...

@tisonkun
tisonkun merged commit cd85a67 into apache:master Nov 23, 2022
@tisonkun tisonkun changed the title [fix][test] Disable testMaxPendingChunkMessages to unblock the flaky test first [improve][test] Disable testMaxPendingChunkMessages to unblock the flaky test first Nov 23, 2022
@RobertIndie
RobertIndie deleted the flaky-maxPending branch November 23, 2022 09:19
lifepuzzlefun pushed a commit to lifepuzzlefun/pulsar that referenced this pull request Dec 9, 2022
lifepuzzlefun pushed a commit to lifepuzzlefun/pulsar that referenced this pull request Jan 10, 2023
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 type/bug The PR fixed a bug or issue reported a bug type/flaky-tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants