pact-foundation / pact-mock_service

Provides a mock service for use with Pact
https://pact.io
MIT License
73 stars 69 forks source link

Work out why the mock service takes 12-14 seconds to start up #96

Closed bethesque closed 5 years ago

bethesque commented 6 years ago

See https://github.com/pact-foundation/pact-php/pull/90

frastel commented 5 years ago

My setup (from pact-foundation/pact-php#90) is a bit more complex. I do not start the pact-mock-service on my bare machine. Im running a container within a vagrant box. The mock service is started with the help of pact-foundation/pact-php. I try to push my environment setup somewhere for better reproduction.

bethesque commented 5 years ago

Oh, ok. I don't feel guilty about that! Is there anything we could do help this situation apart from extending the timeout?

frastel commented 5 years ago

No problem and I am totally fine with the extension of the timeout. In former times we started the containerized mock service by hand before we executed the test suites. This startup was more complex and took even longer. Using the mock service wrapper is an improvement for us and thus I really see no need for any improvement on your side.

bethesque commented 5 years ago

Ok, all good then!