From a64cdf87eebfba5cbacf3459bf55e95492679c06 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Mon, 27 Mar 2023 22:17:53 +0200 Subject: [PATCH] test: skip 'should work with ip6 and port as the host' inside Docker (#21981) --- tests/library/browsercontext-fetch-happy-eyeballs.spec.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/library/browsercontext-fetch-happy-eyeballs.spec.ts b/tests/library/browsercontext-fetch-happy-eyeballs.spec.ts index a7e66e5cc7..c3f77b8cc2 100644 --- a/tests/library/browsercontext-fetch-happy-eyeballs.spec.ts +++ b/tests/library/browsercontext-fetch-happy-eyeballs.spec.ts @@ -62,6 +62,7 @@ it('https post should work with ignoreHTTPSErrors option', async ({ context, htt it('should work with ip6 and port as the host', async ({ request, server }) => { + it.skip(!!process.env.INSIDE_DOCKER, 'docker does not support IPv6 by default'); const response = await request.get(`http://[::1]:${server.PORT}/simple.json`); expect(response.url()).toBe(`http://[::1]:${server.PORT}/simple.json`); expect(response).toBeOK();