internap / python-mockserver-friendly-client

Friendly python client to James D. Bloom's awesome MockServer
Apache License 2.0
14 stars 12 forks source link

Stabilize tests #15

Closed lindycoder closed 6 years ago

lindycoder commented 6 years ago

By moving the reset in the teardown with some breathing we make sure mock server has time to finish processing the requests from test because there seem to be some race condition when verifying calls.

Since the setup doesn't do the reset anymore we need to stall until mock server is ready to serve so the waiting was pushed in the test runner checking with curl after the compose up is done.