chore: enable mocha retries (#5782)
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.
This commit is contained in:
parent
5fb399d55d
commit
32c8c6992c
@ -20,5 +20,7 @@ module.exports = {
|
|||||||
...base,
|
...base,
|
||||||
file: ['./test/mocha-utils.js'],
|
file: ['./test/mocha-utils.js'],
|
||||||
spec: 'test/*.spec.js',
|
spec: 'test/*.spec.js',
|
||||||
|
// retry twice more, so we run each test up to 3 times if needed.
|
||||||
|
retries: 2,
|
||||||
timeout: 25 * 1000,
|
timeout: 25 * 1000,
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user