Where to set runner.timeout?
Opened this issue · 1 comments
I keep hitting the 15000 ms runner timeout in lib/runners/browser/remote-runner.js
function monitorClientTimeout(runner, client) {
clearTimeout(client.timer);
client.timer = setTimeout(function () {
runner.clientTimeout(client);
}, runner.timeout || 15000);
}
I'm setting this.timeout in the prepare(), and this does timeout, however, I cannot seem to find a way to set the runner.timeout?
buster.testCase("my_test", {
prepare: function() {
this.timeout = 30000;
},
setUp: function() {
},
[...]
})
I think this is set via testRunnerOptions... but I cannot figure out where to set testRunnerOptions either!
So, I don't think its possible to set this?
It looks like the runner created has no props passed to it?
module.exports = bane.createEventEmitter({
create: function (emitter, logger) {
var runner = Object.create(this);
runner.emitter = emitter;
runner.logger = logger;
runner.console = runner;
delegateEvents(emitter, runner);
monitorSlaveDeath(this, emitter);
return runner;
},