Skip to content

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 <pushkarmishra029@gmail.com>
@pushkarm029 pushkarm029 requested a review from a team as a code owner May 2, 2024 09:09
@pushkarm029 pushkarm029 requested a review from albertteoh 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 <pushkarmishra029@gmail.com>
@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 <pushkarmishra029@gmail.com>
Signed-off-by: Pushkar Mishra <pushkarmishra029@gmail.com>
Signed-off-by: Pushkar Mishra <pushkarmishra029@gmail.com>
@yurishkuro yurishkuro enabled auto-merge (squash) May 2, 2024 17:13
@yurishkuro yurishkuro merged commit 14aa43d into jaegertracing:main May 2, 2024
@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 <pushkarmishra029@gmail.com>
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