test: do not create ipv6 server inside Docker (#20440)
This commit is contained in:
parent
2af31edadd
commit
eb87c9276e
|
|
@ -57,6 +57,7 @@ const test = playwrightTest.extend<ExtraFixtures>({
|
||||||
},
|
},
|
||||||
|
|
||||||
ipV6ServerUrl: async ({}, use) => {
|
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) => {
|
const server = http.createServer((req: http.IncomingMessage, res: http.ServerResponse) => {
|
||||||
res.end('<html><body>from-ipv6-server</body></html>');
|
res.end('<html><body>from-ipv6-server</body></html>');
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue