Skip to content

Conversation

@pdolif
Copy link
Contributor

@pdolif pdolif commented Nov 6, 2025

Fixes #24909

Motivation

The test uses 5 threads and produces 10 messages. It happens frequently that the test fails because the rate limit is not triggered.

Modifications

To increase the probability of triggering the rate limit, the number of threads is increased from 5 to 10, and the number of messages produced is increased from 10 to 500.

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: pdolif#18

@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Nov 6, 2025
Copy link
Member

@lhotari lhotari left a comment

Choose a reason for hiding this comment

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

LGTM

@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.21%. Comparing base (c4f125c) to head (e334496).
⚠️ Report is 4 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@              Coverage Diff              @@
##             master   #24951       +/-   ##
=============================================
+ Coverage     38.77%   74.21%   +35.43%     
- Complexity    13380    33882    +20502     
=============================================
  Files          1856     1913       +57     
  Lines        145342   149505     +4163     
  Branches      16886    17372      +486     
=============================================
+ Hits          56353   110948    +54595     
+ Misses        81459    29699    -51760     
- Partials       7530     8858     +1328     
Flag Coverage Δ
inttests 26.27% <ø> (-0.15%) ⬇️
systests 22.77% <ø> (-0.08%) ⬇️
unittests 73.74% <ø> (+38.74%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 1410 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.

@lhotari lhotari added this to the 4.2.0 milestone Nov 6, 2025
@lhotari lhotari merged commit 7c343d0 into apache:master Nov 6, 2025
100 of 102 checks passed
lhotari pushed a commit that referenced this pull request Nov 11, 2025
lhotari pushed a commit that referenced this pull request Nov 11, 2025
lhotari pushed a commit that referenced this pull request Nov 11, 2025
nodece pushed a commit to nodece/pulsar that referenced this pull request Nov 12, 2025
manas-ctds pushed a commit to datastax/pulsar that referenced this pull request Nov 13, 2025
srinath-ctds pushed a commit to datastax/pulsar that referenced this pull request Nov 13, 2025
manas-ctds pushed a commit to datastax/pulsar that referenced this pull request Nov 13, 2025
srinath-ctds pushed a commit to datastax/pulsar that referenced this pull request Nov 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Flaky-test: NonPersistentTopicTest.testProducerRateLimit

3 participants