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

Added unit tests in pkg/es/config #5819

Merged
merged 1 commit into from
Aug 8, 2024

Conversation

Nabil-Salah
Copy link
Contributor

@Nabil-Salah Nabil-Salah commented Aug 8, 2024

Which problem is this PR solving?

Part of: #5068

Description of the changes

  • This commit adds tests for the pkg/es/config package.

How was this change tested?

  • make test

Checklist

Copy link
Member

@yurishkuro yurishkuro left a comment

Choose a reason for hiding this comment

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

@yurishkuro yurishkuro added the changelog:test Change that's adding missing tests or correcting existing tests label Aug 8, 2024
@yurishkuro
Copy link
Member

Nit: avoid using description like partially fixes: #5068 - github reads it as fixes #5068 and closes the corresponding issue. Instead you can say "Part of: #5068`

@Nabil-Salah Nabil-Salah force-pushed the add_pkg_es_config_tests branch from 3490525 to 51713cd Compare August 8, 2024 20:33
@yurishkuro
Copy link
Member

looks like your new tests are leaking goroutines. Make sure you always close ES clients properly.

@Nabil-Salah Nabil-Salah force-pushed the add_pkg_es_config_tests branch from d546eaa to 360fa26 Compare August 8, 2024 21:28
@Nabil-Salah
Copy link
Contributor Author

Nabil-Salah commented Aug 8, 2024

looks like your new tests are leaking goroutines. Make sure you always close ES clients properly.

done now
sorry didn't close config.TLS D:
but it's closed and all running now

@yurishkuro yurishkuro merged commit f250716 into jaegertracing:main Aug 8, 2024
43 checks passed
@yurishkuro
Copy link
Member

Thanks!

JaredTan95 pushed a commit to JaredTan95/jaeger that referenced this pull request Aug 13, 2024
## Which problem is this PR solving?
Part of: jaegertracing#5068

## Description of the changes
- This commit adds tests for the `pkg/es/config` package.

## How was this change tested?
- `make 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: nabil salah <[email protected]>
Signed-off-by: Jared Tan <[email protected]>
JaredTan95 pushed a commit to JaredTan95/jaeger that referenced this pull request Aug 14, 2024
## Which problem is this PR solving?
Part of: jaegertracing#5068

## Description of the changes
- This commit adds tests for the `pkg/es/config` package.

## How was this change tested?
- `make 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: nabil salah <[email protected]>
Signed-off-by: Jared Tan <[email protected]>
JaredTan95 pushed a commit to JaredTan95/jaeger that referenced this pull request Aug 28, 2024
## Which problem is this PR solving?
Part of: jaegertracing#5068

## Description of the changes
- This commit adds tests for the `pkg/es/config` package.

## How was this change tested?
- `make 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: nabil salah <[email protected]>
Signed-off-by: Jared Tan <[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 enhancement storage/elasticsearch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants