Increase default test timeout to 10 seconds on Travis
Maybe this will fix some of the intermittent failures...
This commit is contained in:
parent
a62e7e46bf
commit
4e50b7ddc2
3 changed files with 3 additions and 2 deletions
|
@ -38,6 +38,7 @@ ZoteroUnit.prototype = {
|
|||
this.runTests = !this.makeTestData;
|
||||
this.bail = cmdLine.handleFlag("bail", false);
|
||||
this.grep = cmdLine.handleFlagWithParam("grep", false);
|
||||
this.timeout = cmdLine.handleFlagWithParam("ZoteroTestTimeout", false);
|
||||
},
|
||||
|
||||
dump:function(x) {
|
||||
|
|
|
@ -178,7 +178,7 @@ Mocha.Runner.prototype.fail = function(test, err){
|
|||
mocha.setup({
|
||||
ui: "bdd",
|
||||
reporter: Reporter,
|
||||
timeout: 5000,
|
||||
timeout: ZoteroUnit.timeout || 5000,
|
||||
grep: ZoteroUnit.grep
|
||||
});
|
||||
|
||||
|
|
|
@ -132,7 +132,7 @@ fi
|
|||
|
||||
|
||||
if [ "$TRAVIS" = true ]; then
|
||||
FX_ARGS="$FX_ARGS -ZoteroNoUserInput"
|
||||
FX_ARGS="$FX_ARGS -ZoteroNoUserInput -ZoteroTestTimeout 10000"
|
||||
fi
|
||||
|
||||
# Clean up on exit
|
||||
|
|
Loading…
Reference in a new issue