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

Add default delay to fixture HTTP calls. #205

Open
smn opened this issue Aug 26, 2014 · 1 comment
Open

Add default delay to fixture HTTP calls. #205

smn opened this issue Aug 26, 2014 · 1 comment

Comments

@smn
Copy link
Member

smn commented Aug 26, 2014

Currently the test framework immediately returns results for http calls, that's not how things will happen in production.

Having a configurable delay in the fixtures would help, a default of 100ms would probably be OK?
It would help indicate where too many http calls are being made for production (even though they're snappy in the tests).

@smn smn changed the title Add default delay to HTTP calls. Add default delay to fixture HTTP calls. Aug 26, 2014
@hodgestar
Copy link
Contributor

I don't want to add 1/10 or 2/10 of a second to lots of tests in order to
catch this. Maybe the dummy API should raise an error if too many HTTP
calls are made?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants