forked from jaegertracing/jaeger
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add go leak check to Cassandra and Kafka e2e tests (jaegertracing#6336)
## Which problem is this PR solving? Fixes a part of jaegertracing#5006 ## Description of the changes 1) Cassandra factory is closed in the test manually after the test, not doing so will fail the leak test probably due to CleanUp function is not closing factory properly and returning in the test leading to end it that further fails the leak test. 2) Kafka Producer and Consumer was not closed before leading to failure of leak test which is fixed in this PR. ## How was this change tested? - By running integartion tests manually ## 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: Manik2708 <[email protected]> Signed-off-by: Manik Mehta <[email protected]> Co-authored-by: Yuri Shkuro <[email protected]>
- Loading branch information
1 parent
8f612a8
commit 53a8053
Showing
3 changed files
with
31 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters