Skip to content

[fix][test] correct AfterClass usage - #18707

Merged
Technoboy- merged 1 commit into
apache:masterfrom
labuladong:fix-test
Dec 2, 2022
Merged

Technoboy- merged 1 commit into
apache:masterfrom
labuladong:fix-test

Conversation

@labuladong

@labuladong labuladong commented Dec 2, 2022 •

Copy link
Copy Markdown
Contributor

Modifications

Some tests use BeforeClass twice. I think this is a mistake.

Verifying this change

  • Make sure that the change passes the CI checks.

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

Documentation

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

Matching PR in forked repository

PR in forked repository: labuladong#14

@github-actions

github-actions Bot commented Dec 2, 2022

Copy link
Copy Markdown

@labuladong Please add the following content to your PR description and select a checkbox:

- [ ] `doc` <!-- Your PR contains doc changes -->
- [ ] `doc-required` <!-- Your PR changes impact docs and you will update later -->
- [ ] `doc-not-needed` <!-- Your PR changes do not impact docs -->
- [ ] `doc-complete` <!-- Docs have been already added -->

@labuladong labuladong reopened this Dec 2, 2022
@labuladong labuladong changed the title [fix] AfterClass [fix][test] correct AfterClass usage Dec 2, 2022
@github-actions github-actions Bot added doc-not-needed Your PR changes do not impact docs and removed doc-label-missing labels Dec 2, 2022
@nodece

nodece commented Dec 2, 2022

Copy link
Copy Markdown
Member

/pulsarbot rerun-failure-checks

@codecov-commenter

codecov-commenter commented Dec 2, 2022 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 46.81%. Comparing base (bbc7a25) to head (52b3600).
⚠️ Report is 3218 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##             master   #18707      +/-   ##
============================================
- Coverage     48.34%   46.81%   -1.54%     
- Complexity     9368    10425    +1057     
============================================
  Files           618      698      +80     
  Lines         58586    68326    +9740     
  Branches       6097     7331    +1234     
============================================
+ Hits          28326    31989    +3663     
- Misses        27078    32744    +5666     
- Partials       3182     3593     +411     
Flag Coverage Δ
unittests 46.81% <ø> (-1.54%) ⬇️

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

@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.

Good catch! +1 to merge.

@labuladong

Copy link
Copy Markdown
Contributor Author

/pulsarbot rerun-failure-checks

1 similar comment
@labuladong

Copy link
Copy Markdown
Contributor Author

/pulsarbot rerun-failure-checks

@Technoboy-
Technoboy- merged commit dba1166 into apache:master Dec 2, 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

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.

5 participants