Set Mocha to retry failed tests 3 times

no issue

- we occasionally see random errors which fail tests
- this is a problem because it's blocking us seeing which tests are
  really failing
- for now, retry the tests 3 times to overcome the intermittent problem
  until a better solution is found
This commit is contained in:
Daniel Lockyer 2020-01-29 10:42:01 +00:00
parent b4f129f164
commit e04f55cce3
1 changed files with 1 additions and 0 deletions

View File

@ -117,6 +117,7 @@ const configureGrunt = function (grunt) {
timeout: '30000',
save: grunt.option('reporter-output'),
require: ['core/server/overrides'],
retries: '3',
exit: true
},