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

Test hangs if the launch request gets no response #170

Closed
lorjala opened this issue Feb 16, 2022 · 2 comments
Closed

Test hangs if the launch request gets no response #170

lorjala opened this issue Feb 16, 2022 · 2 comments
Assignees
Labels

Comments

@lorjala
Copy link

lorjala commented Feb 16, 2022

Describe the bug
Test hangs on ReportPortalService.start_launch() if report portal service is accessible but cannot handle launch POST request.

r = self.session.post(url=url, json=data, verify=self.verify_ssl)
never timeouts in that instance.

This issue is caused by no response from the service-api but the client should handle even that case.

Steps to Reproduce

  1. Deploy report portal stack.
  2. Fill the disk where the stack is running.
  3. Start test from different machine with the rp_endpoint set.

Expected behavior
service-api sends a fail/success response normally or the python client timeouts if no response.

Actual behavior
Test hangs on the launch POST request.

Package versions
pytest-reportportal==5.0.11
reportportal-client==5.1.0

Additional context
Related service-api issue: reportportal/service-api#1546

@lorjala lorjala added the bug label Feb 16, 2022
@HardNorth
Copy link
Member

HardNorth commented Feb 16, 2022

Well, OKay, we need a fix :-/

@HardNorth
Copy link
Member

Should be fixed with timeouts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants