Closed pavloshchepan closed 10 months ago
@pavloshchepan Hmm, it seems we missed some configuration options. OK, I'll add them in the next release.
@HardNorth could you please tell me when the next release is planned? About config options do you mean option for specifying read/write timeout option?
@pavloshchepan Next week, yes, timeout options.
thanks) I'll check)
@HardNorth now I see the next behavior:
I pass a new config params in pytest.ini file: rp_connect_timeout = 60 rp_read_timeout = 60
And run tests with rp option. I see that on init session my increased timeouts works - 60 sec. But in the request it is still (10, 10):
print(f'RP response - {self.http_timeout}')
return RPResponse(self.session_method(self.url, data=self.data, json=self.json, files=self.files,
verify=self.verify_ssl, timeout=self.http_timeout))
>>>
RP response - (10, 10)
Could you please check? Maybe I just missed smth?
@pavloshchepan Missed that in our client library, should be fixed in the latest version. If you uninstall and install the agent again it should get the latest version of this library.
Describe the bug Connection error with timeout during adding attachment files with size KB-MB (txt, pcap, mp4)
Steps to Reproduce Steps to reproduce the behavior:
Expected behavior No timeout error
Actual behavior Timeout error (default value is 10sec, 10sec) according to this code:
Package versions pytest-reportportal==5.2.1 reportportal-client==5.4.0
Additional context Maybe there is some configurable timeout for rp requests?