Skip to content

Commit 3db9877

Browse files
Merge pull request #1099 from gemini-testing/INFRADUTY-28773.econnreset
fix: use webdriverio connection retries
2 parents 089d265 + 194d2f7 commit 3db9877

File tree

4 files changed

+38
-38
lines changed

4 files changed

+38
-38
lines changed

package-lock.json

Lines changed: 35 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
"@testplane/devtools": "8.32.3",
7373
"@testplane/wdio-protocols": "9.4.6",
7474
"@testplane/wdio-utils": "9.5.3",
75-
"@testplane/webdriverio": "9.5.20",
75+
"@testplane/webdriverio": "9.5.21",
7676
"@vitest/spy": "2.1.4",
7777
"chalk": "2.4.2",
7878
"clear-require": "1.0.1",

src/browser/new-browser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ export class NewBrowser extends Browser {
176176
capabilities,
177177
automationProtocol: devtools ? DEVTOOLS_PROTOCOL : config.automationProtocol,
178178
connectionRetryTimeout: config.sessionRequestTimeout || config.httpTimeout,
179-
connectionRetryCount: 0, // testplane has its own advanced retries
179+
connectionRetryCount: 3,
180180
baseUrl: config.baseUrl,
181181
waitforTimeout: config.waitTimeout,
182182
waitforInterval: config.waitInterval,

test/src/browser/new-browser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ describe("NewBrowser", () => {
6767
waitforTimeout: 100,
6868
waitforInterval: 50,
6969
connectionRetryTimeout: 3000,
70-
connectionRetryCount: 0,
70+
connectionRetryCount: 3,
7171
baseUrl: "http://base_url",
7272
transformRequest: sinon.match.func,
7373
});

0 commit comments

Comments
 (0)