From d279eff4db5222d9868b314971f7ec1e6920e7e4 Mon Sep 17 00:00:00 2001 From: yhirose Date: Thu, 12 Mar 2026 23:15:10 -0400 Subject: [PATCH] Fix the proxy test error --- .github/workflows/test_proxy.yaml | 6 +++++- test/proxy/docker-compose.ci.yml | 8 ++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 test/proxy/docker-compose.ci.yml diff --git a/.github/workflows/test_proxy.yaml b/.github/workflows/test_proxy.yaml index f21b148..cf09432 100644 --- a/.github/workflows/test_proxy.yaml +++ b/.github/workflows/test_proxy.yaml @@ -28,6 +28,10 @@ jobs: - name: Run proxy tests (OpenSSL) if: matrix.tls_backend == 'openssl' run: cd test && make proxy + env: + COMPOSE_FILE: docker-compose.yml:docker-compose.ci.yml - name: Run proxy tests (Mbed TLS) if: matrix.tls_backend == 'mbedtls' - run: cd test && make proxy_mbedtls \ No newline at end of file + run: cd test && make proxy_mbedtls + env: + COMPOSE_FILE: docker-compose.yml:docker-compose.ci.yml \ No newline at end of file diff --git a/test/proxy/docker-compose.ci.yml b/test/proxy/docker-compose.ci.yml new file mode 100644 index 0000000..d99197b --- /dev/null +++ b/test/proxy/docker-compose.ci.yml @@ -0,0 +1,8 @@ +services: + squid_basic: + extra_hosts: + - "host.docker.internal:host-gateway" + + squid_digest: + extra_hosts: + - "host.docker.internal:host-gateway"