3 ms·
End-to-end tests work, it's just that as I talk about it slows down the feedback loop a lot. Smoke test: "Your Docker image is broken", immediately after `dock
by itamarst 7y ago
End-to-end tests work, it's just that as I talk about it slows down the feedback loop a lot.
Smoke test: "Your Docker image is broken", immediately after `docker build`.
End-to-end tests: 30 minutes later "all your tests failed with timeouts".
An image with HEALTHCHECK could be one way to do a smoke test: check if the healthcheck passed. However Kubernetes has a different mechanism so I suspect people using Docker with K8s don't bother using HEALTHCHECK.