webperf_core icon indicating copy to clipboard operation
webperf_core copied to clipboard

Set custom timeout for http_validator

Open marcusosterberg opened this issue 3 years ago • 2 comments

https://github.com/Webperf-se/webperf_core/blob/9ed002b276f01b4fd19dce3b5e95cb2aad59ed62/tests/http_validator.py#L356

Suggesting: dns_record = dns.resolver.query(hostname, record_type, timeout = 30)

Perhaps to reuse some timeout value already set in the config file.

marcusosterberg avatar Jul 20 '22 22:07 marcusosterberg

Tried the suggested code on my really slow 4G connection but it still cannot do the test. Now it's complaining about InsecureRequestWarning instead.

Ideas?

marcusosterberg avatar Jul 21 '22 21:07 marcusosterberg

@marcusosterberg can you please describe more about your problem? maybe some screenshot of your test and expected results

7h3Rabbit avatar Aug 05 '22 11:08 7h3Rabbit

This issue is stale because it has been open for 730 days with no activity.

github-actions[bot] avatar Aug 05 '24 02:08 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Aug 19 '24 02:08 github-actions[bot]