Skip to content

Commit 190239a

Browse files
author
Kamil Sobol
authored
Increase network timeout in yarn classic e2e tests. (#2057)
* Increase network timeout. * Increase network timeout. * not that
1 parent d8692b0 commit 190239a

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.changeset/short-rats-kneel.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
---

packages/integration-tests/src/setup_package_manager.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@ const initializeYarnClassic = async (execaOptions: {
3939
['config', 'set', 'registry', customRegistry],
4040
execaOptions
4141
);
42+
await execa(
43+
packageManager,
44+
['config', 'set', 'network-timeout', '60000'],
45+
execaOptions
46+
);
4247
await execa(packageManager, ['config', 'get', 'registry'], execaOptions);
4348
await execa(packageManager, ['cache', 'clean'], execaOptions);
4449
};

0 commit comments

Comments
 (0)