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

allow passing a timeout to buffalo test #1796

Open
kiambogo opened this issue Oct 8, 2019 · 0 comments

Comments

@kiambogo
Copy link

@kiambogo kiambogo commented Oct 8, 2019

Description

Buffalo test should be allowed to take a timeout argument, similar $ go test -timeout 300ms.

Steps to Reproduce the Problem

Buffalo test does not currently provide a timeout option, as seen in the source code (https://github.com/gobuffalo/buffalo/blob/master/buffalo/cmd/test.go) and by testing with the likes of $ buffalo test -timeout 10m

Expected Behavior

Adding a timeout argument should work, allowing the tests to run for the specified duration before it panics.

Actual Behavior

Test seems to exit after reloading the schema.

Info

go 1.13
buffalo v0.14.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.