Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(usage_collection): expose a function to mock plugin start #8235

Merged

Conversation

ruanyl
Copy link
Member

@ruanyl ruanyl commented Sep 19, 2024

Description

Issues Resolved

Screenshot

Testing the changes

Changelog

  • skip

Check List

  • All tests pass
    • yarn test:jest
    • yarn test:jest_integration
  • New functionality includes testing.
  • New functionality has been documented.
  • Update CHANGELOG.md
  • Commits are signed per the DCO using --signoff

Copy link

codecov bot commented Sep 19, 2024

Codecov Report

Attention: Patch coverage is 33.33333% with 2 lines in your changes missing coverage. Please review.

Project coverage is 64.05%. Comparing base (636f399) to head (03613cf).
Report is 198 commits behind head on main.

Files with missing lines Patch % Lines
src/plugins/usage_collection/public/mocks.ts 33.33% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #8235   +/-   ##
=======================================
  Coverage   64.05%   64.05%           
=======================================
  Files        3741     3741           
  Lines       88683    88686    +3     
  Branches    13817    13817           
=======================================
+ Hits        56809    56811    +2     
- Misses      31262    31263    +1     
  Partials      612      612           
Flag Coverage Δ
Linux_1 30.05% <33.33%> (+<0.01%) ⬆️
Linux_2 58.85% <ø> (ø)
Linux_3 40.34% <33.33%> (?)
Linux_4 31.43% <ø> (ø)
Windows_1 30.06% <33.33%> (+<0.01%) ⬆️
Windows_2 58.80% <ø> (ø)
Windows_3 40.28% <33.33%> (-0.07%) ⬇️
Windows_4 31.43% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ruanyl ruanyl merged commit 9fd0f0b into opensearch-project:main Sep 24, 2024
70 of 71 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Sep 24, 2024
Signed-off-by: Yulong Ruan <[email protected]>
(cherry picked from commit 9fd0f0b)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
virajsanghvi pushed a commit to virajsanghvi/OpenSearch-Dashboards that referenced this pull request Sep 24, 2024
SuZhou-Joe pushed a commit that referenced this pull request Sep 25, 2024
#8314)

(cherry picked from commit 9fd0f0b)

Signed-off-by: Yulong Ruan <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
yubonluo pushed a commit to yubonluo/OpenSearch-Dashboards that referenced this pull request Sep 25, 2024
…earch-project#8235) (opensearch-project#8314)

(cherry picked from commit 9fd0f0b)

Signed-off-by: Yulong Ruan <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
yubonluo added a commit to yubonluo/OpenSearch-Dashboards that referenced this pull request Sep 25, 2024
@ananzh ananzh added the v2.18.0 label Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
all-star-contributor backport 2.x Skip-Changelog PRs that are too trivial to warrant a changelog or release notes entry v2.18.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants