Skip to content

Commit

Permalink
chore: enable mocha retries (#5782)
Browse files Browse the repository at this point in the history
We are seeing some CI flakes due to network resets, or issues out of our control. Let's try to avoid some of those by using Mocha's built-in retries.
  • Loading branch information
jackfranklin authored and paullewis committed Apr 30, 2020
1 parent 7383b94 commit 530d6c7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mocha-config/puppeteer-unit-tests.js
Expand Up @@ -20,5 +20,7 @@ module.exports = {
...base,
file: ['./test/mocha-utils.js'],
spec: 'test/*.spec.js',
// retry twice more, so we run each test up to 3 times if needed.
retries: 2,
timeout: 25 * 1000,
};

0 comments on commit 530d6c7

Please sign in to comment.