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

[v2] Add e2e test with memory store #5751

Merged
merged 5 commits into from
Jul 16, 2024

Conversation

yurishkuro
Copy link
Member

Which problem is this PR solving?

  • Even though we were using memory storage in v2-e2e-grpc test, we never had an e2e that would validate cmd/jaeger/config.yaml config, which uses memory storage in-process

Description of the changes

  • Add the new test workflow an e2e test
  • Rename other test files for more readable file names / test names

How was this change tested?

  • build cmd/jaeger binary
  • $ STORAGE=memory go test ./cmd/jaeger/internal/integration

Signed-off-by: Yuri Shkuro <github@ysh.us>
@yurishkuro yurishkuro added v2 changelog:ci Change related to continuous integration / testing labels Jul 16, 2024
@yurishkuro yurishkuro requested a review from a team as a code owner July 16, 2024 02:05
Copy link

codecov bot commented Jul 16, 2024

Codecov Report

Attention: Patch coverage is 0% with 7 lines in your changes missing coverage. Please review.

Project coverage is 96.66%. Comparing base (8d2aab6) to head (dd3a266).
Report is 1 commits behind head on main.

Files Patch % Lines
plugin/storage/memory/memory.go 0.00% 4 Missing ⚠️
plugin/storage/memory/factory.go 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5751      +/-   ##
==========================================
- Coverage   96.69%   96.66%   -0.03%     
==========================================
  Files         341      341              
  Lines       16444    16451       +7     
==========================================
+ Hits        15900    15902       +2     
- Misses        355      361       +6     
+ Partials      189      188       -1     
Flag Coverage Δ
badger_v1 8.05% <0.00%> (-0.01%) ⬇️
badger_v2 1.90% <0.00%> (-0.01%) ⬇️
cassandra-3.x-v1 16.61% <0.00%> (-0.02%) ⬇️
cassandra-3.x-v2 1.82% <0.00%> (-0.01%) ⬇️
cassandra-4.x-v1 16.61% <0.00%> (-0.02%) ⬇️
cassandra-4.x-v2 1.82% <0.00%> (-0.01%) ⬇️
elasticsearch-6.x-v1 18.77% <0.00%> (-0.03%) ⬇️
elasticsearch-7.x-v1 18.84% <0.00%> (-0.02%) ⬇️
elasticsearch-8.x-v1 19.03% <0.00%> (-0.01%) ⬇️
elasticsearch-8.x-v2 1.90% <0.00%> (-0.01%) ⬇️
grpc_v1 9.52% <0.00%> (-0.01%) ⬇️
grpc_v2 7.47% <0.00%> (-0.01%) ⬇️
kafka 9.74% <0.00%> (-0.01%) ⬇️
memory_v2 1.90% <0.00%> (?)
opensearch-1.x-v1 18.89% <0.00%> (-0.02%) ⬇️
opensearch-2.x-v1 18.89% <0.00%> (-0.02%) ⬇️
opensearch-2.x-v2 1.88% <0.00%> (-0.02%) ⬇️
unittests 95.08% <0.00%> (-0.03%) ⬇️

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.

Signed-off-by: Yuri Shkuro <github@ysh.us>
Signed-off-by: Yuri Shkuro <github@ysh.us>
Signed-off-by: Yuri Shkuro <github@ysh.us>
Signed-off-by: Yuri Shkuro <github@ysh.us>
Copy link
Contributor

@jkowall jkowall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@yurishkuro yurishkuro merged commit 67ddb2c into jaegertracing:main Jul 16, 2024
42 of 43 checks passed
@yurishkuro yurishkuro deleted the v2-e2e-memstore branch July 16, 2024 16:06
FlamingSaint pushed a commit to FlamingSaint/jaeger that referenced this pull request Jul 20, 2024
## Which problem is this PR solving?
- Even though we were using memory storage in v2-e2e-grpc test, we never
had an e2e that would validate `cmd/jaeger/config.yaml` config, which
uses memory storage in-process

## Description of the changes
- Add the new test workflow an e2e test
- Rename other test files for more readable file names / test names

## How was this change tested?
- build cmd/jaeger binary
- `$ STORAGE=memory go test ./cmd/jaeger/internal/integration`

---------

Signed-off-by: Yuri Shkuro <github@ysh.us>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/storage changelog:ci Change related to continuous integration / testing v2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants