Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configurable timeout for tests #61

Open
WesCossick opened this issue Mar 23, 2021 · 0 comments · May be fixed by #73
Open

Configurable timeout for tests #61

WesCossick opened this issue Mar 23, 2021 · 0 comments · May be fixed by #73

Comments

@WesCossick
Copy link
Member

When running the test script in a test project, currently Rugged will wait indefinitely. Ideally, though, it would timeout after some period of time. I'd suggest a default timeout of 30s, with the option to configure this via the config file.

I imagine there'd be many areas where we could eventually allow configurable timeouts, so maybe we could add a timeouts object to the config file, with an option inside of it called tests. So it'd look like:

module.exports = {
    timeouts: {
        tests: 123,
    },
};

In the future, we could add timeouts.??? for other things we want to impose configurable timeouts on.

@corymharper corymharper linked a pull request Jun 10, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

1 participant