~/talk

Automating resilience testing with Docker and Property Based testing

Talkat Devoxx UK 2017 · 2017-05-11..05-12· [testing, devops-and-delivery]
links:none on file
slides:none on file

Uses Docker Compose to spin isolated test environments, an IG open source tool IG havoc to inject network, process and HTTP faults, and property based testing to generate random fault sequences and assert properties like at-least-once delivery, bounded duplicates (~10% tolerance) and ordering. The test harness reproduces four real outages (and found one reproducible only after changing the test pattern), uncovers specific bugs (401 responses causing message loss, huge responses crashing the service, startup and Kafka setup dependencies), and runs for hours or days with a full “burn to ground” rollback.

AI-written summary · about

  1. 0:00Introduction and background
  2. 4:44Defining resilience testing
  3. 6:51Current resilience testing challenges
  4. 8:37Desired resilience testing setup
  5. 9:20Introducing Docker Compose
  6. 10:23Introducing IG Havoc library
  7. 11:25Example system architecture
  8. 12:31Docker Compose file walkthrough
  9. 14:18Writing first resilience test
  10. 15:22Test code explanation
  11. 17:53Why property based testing
  12. 19:16Property based testing explained
  13. 22:54Resilience testing properties
  14. 23:57Generating random test plans
  15. 26:25Implementing property based test
  16. 28:09Reproducing outages with tests
  17. 31:45Testing healthy states
  18. 32:48Drawbacks of the approach
  19. 34:11Research on system failures
  20. 34:54Key takeaways
  21. 35:37Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.