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

Add timeout for httpTestBase #3318

Merged
merged 6 commits into from
Jun 27, 2023

Conversation

shalevr
Copy link
Member

@shalevr shalevr commented May 23, 2023

Description

Add timeout for HttpTestBase so the test won't wait forever or until the manual cancelation.
Like it was here: open-telemetry/opentelemetry-python-contrib#1806

@shalevr shalevr requested a review from a team as a code owner May 23, 2023 12:47
@srikanthccv
Copy link
Member

Could we make this timeout set in the dependent tests instead?

@shalevr
Copy link
Member Author

shalevr commented Jun 1, 2023

Could we make this timeout set in the dependent tests instead?

Sure but I think it will be better to set it once and all the tests that use httpTestBase just get it.
Instead of setting this for each test and avoiding situations the test did not set timeout.
3 seconds is long enough for a single request, I don't see a reason to wait any longer than that

@srikanthccv
Copy link
Member

That is a fair point

@shalevr shalevr added the PR:please merge This PR is ready to be merged by a Maintainer (has enough valid approvals, successful build, etc.) label Jun 25, 2023
@ocelotl ocelotl merged commit 251b74a into open-telemetry:main Jun 27, 2023
111 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR:please merge This PR is ready to be merged by a Maintainer (has enough valid approvals, successful build, etc.) Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants