fix(testing): increase the default timeout to 15s for the dev server to start (#21716)
This commit is contained in:
parent
d5a4fd886b
commit
fdae86c81c
@ -167,7 +167,7 @@ function waitForServer(
|
||||
let pollTimeout: NodeJS.Timeout | null;
|
||||
const { protocol } = new URL(url);
|
||||
|
||||
const timeoutDuration = webServerConfig?.timeout ?? 10 * 1000;
|
||||
const timeoutDuration = webServerConfig?.timeout ?? 15 * 1000;
|
||||
const timeout = setTimeout(() => {
|
||||
clearTimeout(pollTimeout);
|
||||
reject(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user