Skip to content

[improve][test] Improve websocket.proxy tests based on Awaitility - #18216

Merged
nodece merged 1 commit into
apache:masterfrom
nodece:improve-websocket-proxy-tests
Oct 28, 2022
Merged

nodece merged 1 commit into
apache:masterfrom
nodece:improve-websocket-proxy-tests

Conversation

@nodece

@nodece nodece commented Oct 27, 2022

Copy link
Copy Markdown
Member

Motivation

Fix flaky tests.

Modifications

Based on Awaitility to assert.

Documentation

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

Matching PR in forked repository

PR in forked repository:

@github-actions github-actions Bot added the doc-not-needed Your PR changes do not impact docs label Oct 27, 2022
@codelipenghui codelipenghui added this to the 2.12.0 milestone Oct 27, 2022
@codecov-commenter

codecov-commenter commented Oct 27, 2022 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 39.06%. Comparing base (6c65ca0) to head (21e58da).
⚠️ Report is 3516 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##             master   #18216      +/-   ##
============================================
+ Coverage     34.91%   39.06%   +4.14%     
- Complexity     5707     8315    +2608     
============================================
  Files           607      683      +76     
  Lines         53396    67269   +13873     
  Branches       5712     7215    +1503     
============================================
+ Hits          18644    26278    +7634     
- Misses        32119    37979    +5860     
- Partials       2633     3012     +379     
Flag Coverage Δ
unittests 39.06% <ø> (+4.14%) ⬆️

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

@nodece

nodece commented Oct 27, 2022

Copy link
Copy Markdown
Member Author

/pulsarbot rerun-failure-checks

@nodece
nodece merged commit d86a50c into apache:master Oct 28, 2022
@labuladong

Copy link
Copy Markdown
Contributor

I think this flaky test still exists, see #18683

@nodece

nodece commented Dec 1, 2022

Copy link
Copy Markdown
Member Author

I think this flaky test still exists, see #18683

Right, do you have any ideas?

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.

4 participants