Skip to content

Conversation

@poorbarcode
Copy link
Contributor

Motivation

#24651 changed the behaviour, which allows creating partitions if the partitioned topic metadata exists. Then the test PartitionCreationTest.testCreateMissedPartitions is not suitable anymore.

It can pass when merging #24651 because the test has another issue: it calls createPartitionedTopicAsync, but never waits for it to be finished, which leads to the next check passing because the creation may not have completed.

Modifications

Improve the test

Documentation

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

Matching PR in forked repository

PR in forked repository: x

@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.16%. Comparing base (90a70db) to head (3dd8eeb).
⚠️ Report is 3 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@              Coverage Diff              @@
##             master   #24679       +/-   ##
=============================================
+ Coverage     38.55%   74.16%   +35.60%     
- Complexity    12898    32991    +20093     
=============================================
  Files          1828     1893       +65     
  Lines        142888   147772     +4884     
  Branches      16456    17089      +633     
=============================================
+ Hits          55097   109600    +54503     
+ Misses        80299    29413    -50886     
- Partials       7492     8759     +1267     
Flag Coverage Δ
inttests 26.59% <ø> (+<0.01%) ⬆️
systests 22.66% <ø> (+0.02%) ⬆️
unittests 73.64% <ø> (+39.17%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 1402 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 merged commit f795bf8 into apache:master Aug 28, 2025
97 of 100 checks passed
poorbarcode added a commit that referenced this pull request Aug 29, 2025
manas-ctds pushed a commit to datastax/pulsar that referenced this pull request Sep 1, 2025
…titions (apache#24679)

(cherry picked from commit f795bf8)
(cherry picked from commit 8c56b71)
Technoboy- pushed a commit to Technoboy-/pulsar that referenced this pull request Sep 10, 2025
srinath-ctds pushed a commit to datastax/pulsar that referenced this pull request Sep 12, 2025
…titions (apache#24679)

(cherry picked from commit f795bf8)
(cherry picked from commit 8c56b71)
nborisov pushed a commit to nborisov/pulsar that referenced this pull request Sep 12, 2025
KannarFr pushed a commit to CleverCloud/pulsar that referenced this pull request Sep 22, 2025
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants