diff --git a/.github/workflows/interop-tests.yml b/.github/workflows/interop-tests.yml index 3a2e284ae7..bd2093c61e 100644 --- a/.github/workflows/interop-tests.yml +++ b/.github/workflows/interop-tests.yml @@ -18,4 +18,4 @@ jobs: - run: BROWSER=${{matrix.browserA}} BVER=${{matrix.bver}} ./node_modules/travis-multirunner/setup.sh - run: BROWSER=${{matrix.browserB}} BVER=${{matrix.bver}} ./node_modules/travis-multirunner/setup.sh - run: Xvfb :99 & - - run: BROWSER_A=${{matrix.browserA}} BROWSER_B=${{matrix.browserB}} BVER=${{matrix.bver}} DISPLAY=:99.0 node_modules/.bin/mocha test/interop/connection.js + - run: BROWSER_A=${{matrix.browserA}} BROWSER_B=${{matrix.browserB}} BVER=${{matrix.bver}} DISPLAY=:99.0 node_modules/.bin/mocha --retries=3 test/interop/connection.js diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 42c10c76e1..74bd598e46 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,4 +25,4 @@ jobs: - run: npm install - run: BROWSER=${{matrix.browser}} BVER=${{matrix.version}} ./node_modules/travis-multirunner/setup.sh - run: Xvfb :99 & - - run: BROWSER=${{matrix.browser}} BVER=${{matrix.version}} DISPLAY=:99.0 npm run mocha --retries=3 + - run: BROWSER=${{matrix.browser}} BVER=${{matrix.version}} DISPLAY=:99.0 npm run mocha -- --retries=3 diff --git a/test/interop/connection.js b/test/interop/connection.js index 9b8d0231a6..83cb89b61b 100644 --- a/test/interop/connection.js +++ b/test/interop/connection.js @@ -13,7 +13,6 @@ const browserA = process.env.BROWSER_A || 'chrome'; const browserB = process.env.BROWSER_B || 'chrome'; describe(`basic interop test ${browserA} => ${browserB}`, function() { - this.retries(3); // retry up to three times. let drivers; let clients; before(async () => {