test: skip 'should work with ip6 and port as the host' inside Docker (#21981)

This commit is contained in:
Max Schmitt 2023-03-27 22:17:53 +02:00 committed by GitHub
parent 591e4ea976
commit a64cdf87ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();