← Commit list

7f4cfe13b6

Stefan Eissing
Stefan Eissing
2026-09-23
SUCCESS Duration: 396s

Subject

pytest: check server status without ssl verify

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

tests/http/testenv/h2o.py+4 -4
@@ -220,13 +220,13 @@ class H2o:
url = f"https://{self._domain}:{self._port}/"
while datetime.now(timezone.utc) < try_until:
if live:
- r = curl.http_get(
- url=url, extra_args=["--trace", "curl.trace", "--trace-time"]
- )
+ r = curl.http_get(url=url, extra_args=[
+ '--trace', 'curl.trace', '--trace-time', '--insecure'
+ ])
if r.exit_code == 0:
return True
else:
- r = curl.http_get(url=url)
+ r = curl.http_get(url=url, extra_args=['--insecure'])
if r.exit_code != 0:
return True
time.sleep(0.1)
tests/http/testenv/nghttpx.py+2 -2
@@ -182,7 +182,7 @@ class Nghttpx:
while datetime.now(timezone.utc) < try_until:
xargs = [
'--trace', 'curl.trace', '--trace-time',
- '--connect-timeout', '1'
+ '--connect-timeout', '1', '--insecure'
]
if self.port_is_quic:
xargs.extend(['--http3-only'])
@@ -330,7 +330,7 @@ class NghttpxFwd(Nghttpx):
try_until = datetime.now(timezone.utc) + timeout
while datetime.now(timezone.utc) < try_until:
check_url = f'https://{self.env.proxy_domain}:{self._port}/'
- r = curl.http_get(url=check_url)
+ r = curl.http_get(url=check_url, extra_args=['--insecure'])
if r.exit_code != 0:
return True
log.debug(f'waiting for nghttpx-fwd to stop responding: {r}')