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

Run all integration tests against Cassandra #4773

Merged
merged 3 commits into from Sep 24, 2023

Conversation

yurishkuro
Copy link
Member

Which problem is this PR solving?

  • Turns out we don't run most tests against Cassandra

Description of the changes

  • Enable all tests

How was this change tested?

  • CI

Signed-off-by: Yuri Shkuro <github@ysh.us>
@yurishkuro yurishkuro requested a review from a team as a code owner September 24, 2023 02:55
@codecov
Copy link

codecov bot commented Sep 24, 2023

Codecov Report

Patch coverage is 26.66% of modified lines.

Files Changed Coverage
plugin/storage/integration/integration.go 26.66%

📢 Thoughts on this report? Let us know!.

Signed-off-by: Yuri Shkuro <github@ysh.us>
Signed-off-by: Yuri Shkuro <github@ysh.us>
@yurishkuro yurishkuro merged commit 7604158 into jaegertracing:main Sep 24, 2023
30 of 31 checks passed
@yurishkuro yurishkuro deleted the cassandra-tests branch September 24, 2023 03:53
yurishkuro pushed a commit that referenced this pull request Sep 29, 2023
## Which problem is this PR solving?

Resolves #4782
## Description of the changes
- Recently a [PR](#4773) was
raised to run all integration tests against Cassandra while checking
it's [CI for
cassandra](https://github.com/jaegertracing/jaeger/actions/runs/6287799686/job/17072619668)
I found that the some test where failing but CI passed.
- Fixed the script so that if the test fail we get exit code as
non-zero.
- Fixed `TestCassandraStorage/GetLargeSpans` test which was failing due
to older traces not getting cleanup from db.

## How was this change tested?
- run the cassandra script to test it.

## 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: slayer321 <sachin.maurya7666@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant