Skip to content

Instantly share code, notes, and snippets.

@sirupsen
Created January 13, 2015 16:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sirupsen/96326faaf94fc3051d0b to your computer and use it in GitHub Desktop.
Save sirupsen/96326faaf94fc3051d0b to your computer and use it in GitHub Desktop.
Example for blog post on resiliency
def test_section_a_resilient_to_data_store_b_being_down
Toxiproxy[:data_store_b].down do
get '/section_a'
assert_response :success
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment