~/talk

Automating Resilience Testing with Clojure and Docker

Talkat EuroClojure 2016 · 2016-10-25..10-26· [testing]
slides:none on file

Shows how to build a Clojure test suite that spins up isolated environments with Docker Compose and controls containers and network faults with IG Havoc, drives faults via property-based generators (test.check), and runs plans that inject random stop/restart/network faults while a producer feeds Kafka. The approach reproduces four of five real outages (including an off‑by‑one and race conditions) but misses some cases (OOM, multi‑topic load), is slow — often runs for hours — and requires defining explicit healthy states to make tests meaningful.

AI-written summary · about

  1. 0:00Resilience testing challenges
  2. 3:21Traditional testing failures
  3. 5:32Docker Compose for isolation
  4. 6:57Introducing IG Havoc
  5. 7:59Building test environments
  6. 10:30First resilience test
  7. 12:56Need for infinite tests
  8. 13:58Property-based testing
  9. 15:01Defining resilience properties
  10. 16:03Generating test plans
  11. 17:26Implementing tests
  12. 18:54Does property testing work?
  13. 20:20Debugging persistent issues
  14. 21:23Finding race conditions
  15. 22:27Healthy states and improvements
  16. 23:11Drawbacks of automation
  17. 24:13Deterministic failures research
  18. 25:18Key takeaways
  19. 25:58Production vs chaos engineering
  20. 27:03Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.