Skip to content

[fix][test] Fix PrometheusMetricsTest.testBrokerConnection - #18539

Merged
Technoboy- merged 2 commits into
apache:masterfrom
coderzc:fix_testBrokerConnection
Nov 19, 2022
Merged

[fix][test] Fix PrometheusMetricsTest.testBrokerConnection#18539
Technoboy- merged 2 commits into
apache:masterfrom
coderzc:fix_testBrokerConnection

Conversation

@coderzc

@coderzc coderzc commented Nov 18, 2022

Copy link
Copy Markdown
Member

Fixes #18535

Motivation

in #17905, we enable transaction coordinator in the broker, this will lead to opening a connection in broker, so connection_count should recalculate.

Modifications

Enable transaction coordinator in broker only in testDuplicateMetricTypeDefinitions.

Documentation

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

Matching PR in forked repository

PR in forked repository: coderzc#33

@github-actions github-actions Bot added the doc-not-needed Your PR changes do not impact docs label Nov 18, 2022
@codecov-commenter

codecov-commenter commented Nov 18, 2022

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 47.05%. Comparing base (aeb4503) to head (4362c4b).
⚠️ Report is 3300 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@              Coverage Diff              @@
##             master   #18539       +/-   ##
=============================================
+ Coverage     31.39%   47.05%   +15.66%     
- Complexity     6651    10422     +3771     
=============================================
  Files           697      697               
  Lines         68015    68023        +8     
  Branches       7285     7284        -1     
=============================================
+ Hits          21353    32010    +10657     
+ Misses        43667    32447    -11220     
- Partials       2995     3566      +571     
Flag Coverage Δ
unittests 47.05% <ø> (+15.66%) ⬆️

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

@coderzc

coderzc commented Nov 18, 2022

Copy link
Copy Markdown
Member Author

/pulsarbot run-failure-checks

@Technoboy-
Technoboy- merged commit 3d88585 into apache:master Nov 19, 2022
lifepuzzlefun pushed a commit to lifepuzzlefun/pulsar that referenced this pull request Dec 9, 2022
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 type/flaky-tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Flaky-test: PrometheusMetricsTest.testBrokerConnection

5 participants