increase timeout for getPortFrom() (#3511)

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
This commit is contained in:
Jim Ehrismann authored and GitHub committed 2021-07-23 17:16:09 -04:00
1 parent 1437f8a945
commit fd5881fe33
1 file changed
+1 -1
+1 -1
View File
@@ -71,7 +71,7 @@ export function getPortFrom(stream: Readable, args: GetPortArgs): Promise<number
stream.off("data", handler);
logger.warn(`[getPortFrom]: failed to retrieve port via ${args.lineRegex.toString()}: ${logLines}`);
reject(new Error("failed to retrieve port from stream"));
}, args.timeout ?? 5000);
}, args.timeout ?? 15000);
stream.on("data", handler);
});