Skip to content

[cleanup] Convert 12 test classes to SharedPulsarBaseTest#25392

Merged
merlimat merged 4 commits intoapache:masterfrom
merlimat:shared-tests-convert-13c
Mar 24, 2026
Merged

[cleanup] Convert 12 test classes to SharedPulsarBaseTest#25392
merlimat merged 4 commits intoapache:masterfrom
merlimat:shared-tests-convert-13c

Conversation

@merlimat
Copy link
Copy Markdown
Contributor

Summary

  • Convert 12 test classes from ProducerConsumerBase/BrokerTestBase to SharedPulsarBaseTest
  • Converted classes: ClientGetSchemaTest, ConsumerRedeliveryTest, DeadLetterTopicTest, DispatcherBlockConsumerTest, MaxUnackedMessagesTest, MessagePayloadProcessorTest, PatternMultiTopicsConsumerTest, ProducerCloseTest, ResourceGroupUsageAggregationTest, RGUsageMTAggrWaitForAllMsgsTest, TopicDoesNotExistsTest, UnloadSubscriptionTest
  • Disable dedup on namespace in MessagePayloadProcessorTest since CustomBatchProducer writes directly to managed ledger without producer name/sequence ID

Documentation

  • doc-not-needed

Matching PR in forked repository

PR in forked repository:


The tests were verified with invocationCount=100 (96 tests total, 0 failures).

ClientGetSchemaTest, ConsumerRedeliveryTest, DeadLetterTopicTest,
DispatcherBlockConsumerTest, MaxUnackedMessagesTest, MessagePayloadProcessorTest,
PatternMultiTopicsConsumerTest, ProducerCloseTest,
ResourceGroupUsageAggregationTest, RGUsageMTAggrWaitForAllMsgsTest,
TopicDoesNotExistsTest, UnloadSubscriptionTest
@github-actions github-actions Bot added the doc-not-needed Your PR changes do not impact docs label Mar 23, 2026
This test modifies broker-level settings (maxUnackedMessagesPerBroker,
blockedDispatchers) that leak across retries in the shared cluster,
causing "Run 1: PASS, Run 2: FAILURE".
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Mar 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 72.73%. Comparing base (08d89a2) to head (61a5bba).
⚠️ Report is 118 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##             master   #25392      +/-   ##
============================================
- Coverage     72.81%   72.73%   -0.09%     
+ Complexity    34347    34276      -71     
============================================
  Files          1954     1954              
  Lines        154878   154878              
  Branches      17742    17742              
============================================
- Hits         112771   112645     -126     
- Misses        33088    33178      +90     
- Partials       9019     9055      +36     
Flag Coverage Δ
inttests 25.78% <ø> (?)
systests 22.46% <ø> (-0.05%) ⬇️
unittests 73.71% <ø> (-0.16%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 111 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

BookieClientsStatsGeneratorTest, MessageIdTest,
PerMessageUnAcknowledgedRedeliveryTest
@merlimat merlimat merged commit 0163ce8 into apache:master Mar 24, 2026
53 checks passed
@merlimat merlimat deleted the shared-tests-convert-13c branch March 24, 2026 15:05
@lhotari lhotari added this to the 4.2.0 milestone Mar 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/test 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.

3 participants