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

Add Purge method for ES/OS #5407

Merged
merged 5 commits into from
May 2, 2024

Conversation

Pushkarm029
Copy link
Member

Which problem is this PR solving?

Description of the changes

  • Added Purge method for ES/OS
  • optimized integration test for es/os storage

How was this change tested?

  • STORAGE=elasticsearch make storage-integration-test

Checklist

Signed-off-by: Pushkar Mishra <[email protected]>
@Pushkarm029 Pushkarm029 requested a review from a team as a code owner May 2, 2024 09:09
Copy link

codecov bot commented May 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.21%. Comparing base (55e991a) to head (dcf21a0).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5407      +/-   ##
==========================================
+ Coverage   95.19%   95.21%   +0.01%     
==========================================
  Files         346      346              
  Lines       16908    16925      +17     
==========================================
+ Hits        16096    16115      +19     
+ Misses        611      609       -2     
  Partials      201      201              
Flag Coverage Δ
badger_v1 10.45% <5.55%> (-0.03%) ⬇️
badger_v2 ?
cassandra-3.x 18.33% <0.00%> (-0.04%) ⬇️
cassandra-4.x 18.33% <0.00%> (-0.04%) ⬇️
elasticsearch-5.x 21.27% <94.44%> (+0.37%) ⬆️
elasticsearch-6.x 21.27% <94.44%> (+0.38%) ⬆️
elasticsearch-7.x 21.31% <94.44%> (+0.32%) ⬆️
elasticsearch-8.x 21.50% <94.44%> (+0.37%) ⬆️
grpc_v1 12.59% <0.00%> (-0.03%) ⬇️
grpc_v2 11.52% <0.00%> (-0.02%) ⬇️
kafka 10.16% <0.00%> (-0.02%) ⬇️
opensearch-1.x 21.37% <94.44%> (+0.36%) ⬆️
opensearch-2.x 21.36% <94.44%> (+0.36%) ⬆️
unittests 91.49% <47.61%> (-0.04%) ⬇️

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.

@Pushkarm029
Copy link
Member Author

Pushkarm029 commented May 2, 2024

adding unit tests

EDIT : I dont think we need it.

Signed-off-by: Pushkar Mishra <[email protected]>
@yurishkuro yurishkuro added the changelog:test Change that's adding missing tests or correcting existing tests label May 2, 2024
Signed-off-by: Pushkar Mishra <[email protected]>
Signed-off-by: Pushkar Mishra <[email protected]>
Signed-off-by: Pushkar Mishra <[email protected]>
@yurishkuro yurishkuro enabled auto-merge (squash) May 2, 2024 17:13
@yurishkuro yurishkuro merged commit 14aa43d into jaegertracing:main May 2, 2024
38 checks passed
@Pushkarm029 Pushkarm029 deleted the v1_storage_integ branch May 2, 2024 17:22
Pushkarm029 added a commit to Pushkarm029/jaeger that referenced this pull request May 4, 2024
## Which problem is this PR solving?
- part of jaegertracing#5345

## Description of the changes
- Added Purge method for ES/OS
- optimized integration test for es/os storage

## How was this change tested?
- `STORAGE=elasticsearch make storage-integration-test`

## Checklist
- [x] I have read
https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md
- [x] I have signed all commits
- [x] I have added unit tests for the new functionality
- [x] I have run lint and test steps successfully
  - for `jaeger`: `make lint test`
  - for `jaeger-ui`: `yarn lint` and `yarn test`

---------

Signed-off-by: Pushkar Mishra <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:test Change that's adding missing tests or correcting existing tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants