donatj / mock-webserver

Simple mock web server in PHP for unit testing.
MIT License
131 stars 21 forks source link

Lessen startup time #1

Closed donatj closed 3 years ago

donatj commented 7 years ago

Right now there is a sleep(1) waiting for the server to start as it's forked and we need to delay a little.

We should either hit the server or something else to see if it's running rather than having a hardcoded sleep. My gut says we'd be able to start up a fair deal more quickly.

donatj commented 3 years ago

This was fixed with https://github.com/donatj/mock-webserver/releases/tag/v2.3.0 several months ago