testcontainers-python icon indicating copy to clipboard operation
testcontainers-python copied to clipboard

Support for HTTP wait strategy

Open joeystevens00 opened this issue 5 years ago • 2 comments

Are there any plans to support the HTTP wait strategy? https://www.testcontainers.org/features/startup_and_waits/#other-wait-strategies

joeystevens00 avatar Apr 28 '20 17:04 joeystevens00

It should be relatively straightforward to support http wait strategies using a generalisation of wait_for_logs. PRs welcome!

tillahoffmann avatar Apr 29 '20 14:04 tillahoffmann

I took a stab at adding the port and http status code wait strategies: https://github.com/smparekh/testcontainers-python/compare/30dce29920766e3d34926d4ec174ab11f6158f81...smparekh:master

Comments and suggestions welcome.

smparekh avatar May 28 '20 19:05 smparekh