mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-03 04:38:33 +00:00
fix(producer): retry probe navigation timeouts (#1713)
This commit is contained in:
@@ -14,13 +14,13 @@ describe("isTransientBrowserError", () => {
|
||||
"Cannot find context with specified id",
|
||||
"Failed to launch the browser process! TROUBLESHOOTING: https://pptr.dev/troubleshooting",
|
||||
"connect ECONNREFUSED 127.0.0.1:9222",
|
||||
"Navigation timeout of 60000 ms exceeded",
|
||||
])("returns true for transient error: %s", (message) => {
|
||||
expect(isTransientBrowserError(new Error(message))).toBe(true);
|
||||
});
|
||||
|
||||
it.each([
|
||||
"net::ERR_NAME_NOT_RESOLVED",
|
||||
"TimeoutError: Navigation timeout of 30000 ms exceeded",
|
||||
"FONT_FETCH_FAILED: Inter",
|
||||
"Composition duration is 0",
|
||||
"SYSTEM_FONT_USED: -apple-system",
|
||||
|
||||
@@ -1961,6 +1961,7 @@ const TRANSIENT_BROWSER_ERROR_PATTERNS = [
|
||||
/Execution context was destroyed/i,
|
||||
/Cannot find context with specified id/i,
|
||||
/Failed to launch the browser process/i,
|
||||
/Navigation timeout of \d+ ms exceeded/i,
|
||||
/ECONNREFUSED/i,
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user