165 - Flaky Tests
Download and listen anywhere
Download your favorite episodes and enjoy them, wherever you are! Sign up or log in now to access offline listening.
Description
Changelog - I’ve sorted the Kubernetes ingress controller for the staging deployment of howtocodewell.net - I’ve got a few problems with connecting services outside of the Kubernetes cluster but I...
show more- I’ve sorted the Kubernetes ingress controller for the staging deployment of howtocodewell.net
- I’ve got a few problems with connecting services outside of the Kubernetes cluster but I am working my way through those.
- I’ve been updating the pipelines to allow for certain manual jobs in GitLab.
- The Podcast Index
- Podcasting Namespace
- PodPing
- Value-For-Value
What’s a flaky test A flaky test is a test that sometimes passes and sometimes fails. This usual happens randomly and is incredibly annoying. What causes flaky tests
- Under powered resources
- Tests running in random order
- Tests not cleaning themselves up afterwards
- External programs or requests interfering with the tests
- Run tests more regularly
- Separate flaky tests and run them in isolation until fixed
- Only test what is needed based on what has changed
- Don’t ignore or skip tests if you can help it
- Check the environment
- Check inputs for non-deterministic values
- Check timeouts
- Check system resources
- Check for race conditions
- Check if there is any fixed order to the tests
- Keep your tests maintained.
Information
| Author | Peter Fisher |
| Organization | Peter Fisher |
| Website | - |
| Tags |
-
|
Copyright 2026 - Spreaker Inc. an iHeartMedia Company
Comments