test: do not create ipv6 server inside Docker (#20440)

This commit is contained in:
Max Schmitt 2023-01-27 18:38:27 +01:00 committed by GitHub
parent 2af31edadd
commit eb87c9276e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,6 +57,7 @@ const test = playwrightTest.extend<ExtraFixtures>({
},
ipV6ServerUrl: async ({}, use) => {
test.skip(!!process.env.INSIDE_DOCKER, 'docker does not support IPv6 by default');
const server = http.createServer((req: http.IncomingMessage, res: http.ServerResponse) => {
res.end('<html><body>from-ipv6-server</body></html>');
});