cloudfoundry / gorouter

CF Router
Apache License 2.0
441 stars 224 forks source link

Make nginx tests less flakey by waiting for the port to be up before … #422

Closed geofffranks closed 3 months ago

geofffranks commented 3 months ago

Summary

Introduce a wait between nginx's process starting + returning to calling tests, by checking to see that the nginx port is actually up for listening on. Hopefully prevents flakes due to slow nginx start times + fast test route registration + HTTP polling.

Backward Compatibility

Breaking Change? No