cherry-pick(1.48): remove old CDNs (#34101)
This commit is contained in:
parent
dc80964a3f
commit
ad14680e1d
|
|
@ -38,8 +38,6 @@ const BIN_PATH = path.join(__dirname, '..', '..', '..', 'bin');
|
||||||
|
|
||||||
const PLAYWRIGHT_CDN_MIRRORS = [
|
const PLAYWRIGHT_CDN_MIRRORS = [
|
||||||
'https://playwright.azureedge.net',
|
'https://playwright.azureedge.net',
|
||||||
'https://playwright-akamai.azureedge.net',
|
|
||||||
'https://playwright-verizon.azureedge.net',
|
|
||||||
];
|
];
|
||||||
|
|
||||||
if (process.env.PW_TEST_CDN_THAT_SHOULD_WORK) {
|
if (process.env.PW_TEST_CDN_THAT_SHOULD_WORK) {
|
||||||
|
|
|
||||||
|
|
@ -20,8 +20,6 @@ import type { AddressInfo } from 'net';
|
||||||
|
|
||||||
const CDNS = [
|
const CDNS = [
|
||||||
'https://playwright.azureedge.net',
|
'https://playwright.azureedge.net',
|
||||||
'https://playwright-akamai.azureedge.net',
|
|
||||||
'https://playwright-verizon.azureedge.net',
|
|
||||||
];
|
];
|
||||||
|
|
||||||
const DL_STAT_BLOCK = /^.*from url: (.*)$\n^.*to location: (.*)$\n^.*response status code: (.*)$\n^.*total bytes: (\d+)$\n^.*download complete, size: (\d+)$\n^.*SUCCESS downloading (\w+) .*$/gm;
|
const DL_STAT_BLOCK = /^.*from url: (.*)$\n^.*to location: (.*)$\n^.*response status code: (.*)$\n^.*total bytes: (\d+)$\n^.*download complete, size: (\d+)$\n^.*SUCCESS downloading (\w+) .*$/gm;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue