Skip to content
This repository was archived by the owner on Sep 7, 2018. It is now read-only.
This repository was archived by the owner on Sep 7, 2018. It is now read-only.

Where to set runner.timeout? #478

@butchmarshall

Description

@butchmarshall

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions