(0.2ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------------------- ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass ---------------------------------------------------------------------  (0.2ms) SELECT 1  (0.1ms) ROLLBACK  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) BEGIN ------------------------------------------------------------------------------------ ChecklistTest: test_#response_status_returns_:service_unavailable_when_a_check_fails ------------------------------------------------------------------------------------  (0.2ms) SELECT 1 Dalli::Server#connect 127.0.0.1:11211  (0.2ms) ROLLBACK  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) BEGIN ----------------------------------------------------------------- ChecklistTest: test_#success?_returns_false_when_results_is_empty -----------------------------------------------------------------  (0.2ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------- ChecklistTest: test_#timing_is_a_sum_of_all_check_results ---------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------------- ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist -------------------------------------------------------------------------  (0.2ms) SELECT 1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ---------------------------------------------- ChecklistTest: test_can_look_up_checks_by_name ----------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------- ChecklistTest: test_cat_fetch_a_check_by_name ---------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------- ChecklistTest: test_it_knows_the_number_of_checks_in_the_Repository -------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------ ChecklistTest: test_it_will_run_each_check ------------------------------------------  (0.1ms) SELECT 1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ----------------------------------------------------------------- RedisCheckTest: test_#run_sets_failure_conditions_on_a_failed_run -----------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------- RedisCheckTest: test_#run_sets_success_conditions_on_successful_run -------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------ RedisCheckTest: test_given_nil_as_a_config ------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------------------- RepositoryTest: test_adds_checks_marked_critical_to_the_critical_checklist --------------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------- RepositoryTest: test_fetches_a_check_by_name --------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ----------------------------------------------------- RepositoryTest: test_fetches_a_critical_check_by_name -----------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------- RepositoryTest: test_returns_a_checklist_when_asked ---------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------- RepositoryTest: test_we_can_add_a_check_to_the_repository ---------------------------------------------------------  (0.2ms) ROLLBACK  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------- RepositoryTest: test_we_can_remove_a_check_from_the_repository --------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------------------- SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run ---------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ----------------------------------------------------------------------- SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run -----------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ---------------------------------------------------------------------------- TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run ----------------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------------------ TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run ------------------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------------------------------- ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_failed_result_on_a_failed_run --------------------------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ---------------------------------------------------------------------------------------- ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_successful_result_on_a_good_run ----------------------------------------------------------------------------------------  (0.1ms) SELECT 1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------ Easymon::ChecksControllerTest: test_index_returns_valid_json ------------------------------------------------------------ Processing by Easymon::ChecksController#index as JSON  (0.2ms) SELECT 1 Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------ Easymon::ChecksControllerTest: test_index_when_a_check_fails ------------------------------------------------------------ Processing by Easymon::ChecksController#index as HTML  (0.1ms) SELECT 1 Rendered text template (0.0ms) Completed 503 Service Unavailable in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)  (0.2ms) ROLLBACK  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------------------- Easymon::ChecksControllerTest: test_index_when_a_critical_check_fails --------------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML Rendered text template (0.0ms) Completed 503 Service Unavailable in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------------- Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails ------------------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML  (0.1ms) SELECT 1 Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------- Easymon::ChecksControllerTest: test_index_when_all_checks_pass -------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML  (0.2ms) SELECT 1 Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------------- Easymon::ChecksControllerTest: test_index_when_no_checks_are_defined -------------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML Rendered text template (0.0ms) Completed 503 Service Unavailable in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------ Easymon::ChecksControllerTest: test_show_if_the_check_is_not_found ------------------------------------------------------------------ Processing by Easymon::ChecksController#show as HTML Parameters: {"check"=>"database"} Rendered text template (0.0ms) Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------- Easymon::ChecksControllerTest: test_show_json_when_the_check_passes ------------------------------------------------------------------- Processing by Easymon::ChecksController#show as JSON Parameters: {"check"=>"database"}  (0.1ms) SELECT 1 Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.1ms)  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------- Easymon::ChecksControllerTest: test_show_when_the_check_fails ------------------------------------------------------------- Processing by Easymon::ChecksController#show as HTML Parameters: {"check"=>"database"} Rendered text template (0.0ms) Completed 503 Service Unavailable in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------- Easymon::ChecksControllerTest: test_show_when_the_check_passes -------------------------------------------------------------- Processing by Easymon::ChecksController#show as HTML Parameters: {"check"=>"database"}  (0.2ms) SELECT 1 Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ---------------------------------------------------------------- HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run ----------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------ HttpCheckTest: test_#run_sets_failure_conditions_on_an_errored_run ------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------ HttpCheckTest: test_#run_sets_success_conditions_on_successful_run ------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------- HttpCheckTest: test_given_nil_as_a_url --------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------------------------- SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down --------------------------------------------------------------------------------  (0.2ms) SELECT 1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------------------- SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down -------------------------------------------------------------------------------  (0.1ms) SELECT 1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------------------- SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run -------------------------------------------------------------------------------  (0.1ms) SELECT 1  (0.1ms) SELECT 1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------ SplitActiveRecordCheckTest: test_given_nil_as_a_config ------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------------------- ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run --------------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ---------------------------------------------------------------------------- ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run ----------------------------------------------------------------------------  (0.1ms) SELECT 1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------- ActiveRecordCheckTest: test_given_nil_as_a_config -------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------------------- MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run ---------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ----------------------------------------------------------------------- MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run -----------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------ MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers ------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------- MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache ---------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) BEGIN -------------------------------------------------------------------------- RepositoryTest: test_adds_checks_marked_critical_to_the_critical_checklist --------------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) BEGIN -------------------------------------------- RepositoryTest: test_fetches_a_check_by_name --------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) BEGIN ----------------------------------------------------- RepositoryTest: test_fetches_a_critical_check_by_name -----------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------- RepositoryTest: test_returns_a_checklist_when_asked ---------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------- RepositoryTest: test_we_can_add_a_check_to_the_repository ---------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------- RepositoryTest: test_we_can_remove_a_check_from_the_repository --------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------------------------- SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down --------------------------------------------------------------------------------  (0.2ms) SELECT 1  (0.2ms) ROLLBACK  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) BEGIN  (0.2ms) BEGIN ------------------------------------------------------------------------------- SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down -------------------------------------------------------------------------------  (0.2ms) SELECT 1  (0.1ms) ROLLBACK  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------------------- SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run -------------------------------------------------------------------------------  (0.2ms) SELECT 1  (0.1ms) SELECT 1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------ SplitActiveRecordCheckTest: test_given_nil_as_a_config ------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------------------- MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run ---------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ----------------------------------------------------------------------- MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run -----------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------ MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers ------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------- MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache ---------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ---------------------------------------------------------------------------- TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run ----------------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------------------ TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run ------------------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------------------- SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run ---------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ----------------------------------------------------------------------- SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run -----------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------------------- ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run --------------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ---------------------------------------------------------------------------- ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run ----------------------------------------------------------------------------  (0.1ms) SELECT 1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------- ActiveRecordCheckTest: test_given_nil_as_a_config -------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ----------------------------------------------------------------- RedisCheckTest: test_#run_sets_failure_conditions_on_a_failed_run -----------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------- RedisCheckTest: test_#run_sets_success_conditions_on_successful_run -------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------ RedisCheckTest: test_given_nil_as_a_config ------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------------------------------- ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_failed_result_on_a_failed_run --------------------------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ---------------------------------------------------------------------------------------- ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_successful_result_on_a_good_run ----------------------------------------------------------------------------------------  (0.1ms) SELECT 1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------ Easymon::ChecksControllerTest: test_index_returns_valid_json ------------------------------------------------------------ Processing by Easymon::ChecksController#index as JSON  (0.2ms) SELECT 1 Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------ Easymon::ChecksControllerTest: test_index_when_a_check_fails ------------------------------------------------------------ Processing by Easymon::ChecksController#index as HTML  (0.3ms) SELECT 1 Rendered text template (0.0ms) Completed 503 Service Unavailable in 2ms (Views: 1.4ms | ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.2ms) ROLLBACK  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------------------- Easymon::ChecksControllerTest: test_index_when_a_critical_check_fails --------------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML Rendered text template (0.0ms) Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) ROLLBACK  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------------- Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails ------------------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML  (0.2ms) SELECT 1 Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------- Easymon::ChecksControllerTest: test_index_when_all_checks_pass -------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML  (0.2ms) SELECT 1 Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.2ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.2ms) BEGIN -------------------------------------------------------------------- Easymon::ChecksControllerTest: test_index_when_no_checks_are_defined -------------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML Rendered text template (0.0ms) Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------ Easymon::ChecksControllerTest: test_show_if_the_check_is_not_found ------------------------------------------------------------------ Processing by Easymon::ChecksController#show as HTML Parameters: {"check"=>"database"} Rendered text template (0.0ms) Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.2ms) BEGIN ------------------------------------------------------------------- Easymon::ChecksControllerTest: test_show_json_when_the_check_passes ------------------------------------------------------------------- Processing by Easymon::ChecksController#show as JSON Parameters: {"check"=>"database"}  (0.2ms) SELECT 1 Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)  (0.2ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------- Easymon::ChecksControllerTest: test_show_when_the_check_fails ------------------------------------------------------------- Processing by Easymon::ChecksController#show as HTML Parameters: {"check"=>"database"} Rendered text template (0.0ms) Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) ROLLBACK  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) BEGIN  (0.2ms) BEGIN -------------------------------------------------------------- Easymon::ChecksControllerTest: test_show_when_the_check_passes -------------------------------------------------------------- Processing by Easymon::ChecksController#show as HTML Parameters: {"check"=>"database"}  (0.2ms) SELECT 1 Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.2ms) ROLLBACK  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------------------- ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass ---------------------------------------------------------------------  (0.1ms) SELECT 1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------------------------ ChecklistTest: test_#response_status_returns_:service_unavailable_when_a_check_fails ------------------------------------------------------------------------------------  (0.1ms) SELECT 1 Dalli::Server#connect 127.0.0.1:11211  (0.2ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ----------------------------------------------------------------- ChecklistTest: test_#success?_returns_false_when_results_is_empty -----------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------- ChecklistTest: test_#timing_is_a_sum_of_all_check_results ---------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------------- ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist -------------------------------------------------------------------------  (0.1ms) SELECT 1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ---------------------------------------------- ChecklistTest: test_can_look_up_checks_by_name ----------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------- ChecklistTest: test_cat_fetch_a_check_by_name ---------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------- ChecklistTest: test_it_knows_the_number_of_checks_in_the_Repository -------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------ ChecklistTest: test_it_will_run_each_check ------------------------------------------  (0.1ms) SELECT 1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ---------------------------------------------------------------- HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run ----------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------ HttpCheckTest: test_#run_sets_failure_conditions_on_an_errored_run ------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------ HttpCheckTest: test_#run_sets_success_conditions_on_successful_run ------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------- HttpCheckTest: test_given_nil_as_a_url --------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.3ms) BEGIN ---------------------------------------------------------------------------- TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run ----------------------------------------------------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------------------------ TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run ------------------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------------------------------------- ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass ---------------------------------------------------------------------  (0.3ms) SELECT 1=1  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------------------------------------------------------------------------ ChecklistTest: test_#response_status_returns_:service_unavailable_when_a_check_fails ------------------------------------------------------------------------------------  (0.2ms) SELECT 1=1 Dalli::Server#connect 127.0.0.1:11211  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------------------------------- ChecklistTest: test_#success?_returns_false_when_results_is_empty -----------------------------------------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------------------------- ChecklistTest: test_#timing_is_a_sum_of_all_check_results ---------------------------------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------------------- ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist -------------------------------------------------------------------------  (0.2ms) SELECT 1=1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------- ChecklistTest: test_can_look_up_checks_by_name ----------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------------- ChecklistTest: test_cat_fetch_a_check_by_name ---------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------------- ChecklistTest: test_it_knows_the_number_of_checks_in_the_Repository -------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------ ChecklistTest: test_it_will_run_each_check ------------------------------------------  (0.2ms) SELECT 1=1  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------------------------- RepositoryTest: test_adds_checks_marked_critical_to_the_critical_checklist --------------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------- RepositoryTest: test_fetches_a_check_by_name --------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------------------- RepositoryTest: test_fetches_a_critical_check_by_name -----------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------------------- RepositoryTest: test_returns_a_checklist_when_asked ---------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------------------------- RepositoryTest: test_we_can_add_a_check_to_the_repository ---------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------------- RepositoryTest: test_we_can_remove_a_check_from_the_repository --------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ Easymon::ChecksControllerTest: test_index_returns_valid_json ------------------------------------------------------------ Processing by Easymon::ChecksController#index as JSON  (0.2ms) SELECT 1=1 Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------------------------------------------------ Easymon::ChecksControllerTest: test_index_when_a_check_fails ------------------------------------------------------------ Processing by Easymon::ChecksController#index as HTML  (0.2ms) SELECT 1=1 Rendered text template (0.0ms) Completed 503 Service Unavailable in 5ms (Views: 2.0ms | ActiveRecord: 0.2ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN --------------------------------------------------------------------- Easymon::ChecksControllerTest: test_index_when_a_critical_check_fails --------------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML Rendered text template (0.0ms) Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------------------- Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails ------------------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML  (0.2ms) SELECT 1=1 Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------------- Easymon::ChecksControllerTest: test_index_when_all_checks_pass -------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML  (0.2ms) SELECT 1=1 Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------------------- Easymon::ChecksControllerTest: test_index_when_no_checks_are_defined -------------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML Rendered text template (0.0ms) Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------------------- Easymon::ChecksControllerTest: test_return_404_if_not_authorized ---------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML Filter chain halted as :authorize_request rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by Easymon::ChecksController#show as HTML Parameters: {"check"=>"database"} Filter chain halted as :authorize_request rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------------------------------------------------------ Easymon::ChecksControllerTest: test_show_if_the_check_is_not_found ------------------------------------------------------------------ Processing by Easymon::ChecksController#show as HTML Parameters: {"check"=>"database"} Rendered text template (0.0ms) Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------------- Easymon::ChecksControllerTest: test_show_json_when_the_check_passes ------------------------------------------------------------------- Processing by Easymon::ChecksController#show as JSON Parameters: {"check"=>"database"}  (0.2ms) SELECT 1=1 Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------- Easymon::ChecksControllerTest: test_show_when_the_check_fails ------------------------------------------------------------- Processing by Easymon::ChecksController#show as HTML Parameters: {"check"=>"database"} Rendered text template (0.0ms) Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------------- Easymon::ChecksControllerTest: test_show_when_the_check_passes -------------------------------------------------------------- Processing by Easymon::ChecksController#show as HTML Parameters: {"check"=>"database"}  (0.2ms) SELECT 1=1 Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------------------------------------- MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run ---------------------------------------------------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ----------------------------------------------------------------------- MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run -----------------------------------------------------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------------------------------------------------------ MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers ------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.2ms) BEGIN --------------------------------------------------------- MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache ---------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------------------------------- SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down --------------------------------------------------------------------------------  (0.2ms) SELECT 1=1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------------------- SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down -------------------------------------------------------------------------------  (0.2ms) SELECT 1=1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------------------- SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run -------------------------------------------------------------------------------  (0.1ms) SELECT 1=1  (0.1ms) SELECT 1=1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------ SplitActiveRecordCheckTest: test_given_nil_as_a_config ------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ---------------------------------------------------------------- HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run ----------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------ HttpCheckTest: test_#run_sets_failure_conditions_on_an_errored_run ------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------ HttpCheckTest: test_#run_sets_success_conditions_on_successful_run ------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------- HttpCheckTest: test_given_nil_as_a_url --------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------------------- ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run --------------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ---------------------------------------------------------------------------- ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run ----------------------------------------------------------------------------  (0.1ms) SELECT 1=1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------- ActiveRecordCheckTest: test_given_nil_as_a_config -------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ----------------------------------------------------------------- RedisCheckTest: test_#run_sets_failure_conditions_on_a_failed_run -----------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------- RedisCheckTest: test_#run_sets_success_conditions_on_successful_run -------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------ RedisCheckTest: test_given_nil_as_a_config ------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------------------- SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run ---------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ----------------------------------------------------------------------- SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run -----------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.2ms) BEGIN ------------------------------------------------------------ Easymon::ChecksControllerTest: test_index_returns_valid_json ------------------------------------------------------------ Processing by Easymon::ChecksController#index as JSON  (0.2ms) SELECT 1=1 Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ Easymon::ChecksControllerTest: test_index_when_a_check_fails ------------------------------------------------------------ Processing by Easymon::ChecksController#index as HTML  (0.2ms) SELECT 1=1 Rendered text template (0.0ms) Completed 503 Service Unavailable in 2ms (Views: 1.8ms | ActiveRecord: 0.2ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN --------------------------------------------------------------------- Easymon::ChecksControllerTest: test_index_when_a_critical_check_fails --------------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML Rendered text template (0.0ms) Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------------------------------------------------------------- Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails ------------------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML  (0.2ms) SELECT 1=1 Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN -------------------------------------------------------------- Easymon::ChecksControllerTest: test_index_when_all_checks_pass -------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML  (0.2ms) SELECT 1=1 Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN -------------------------------------------------------------------- Easymon::ChecksControllerTest: test_index_when_no_checks_are_defined -------------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML Rendered text template (0.0ms) Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN ---------------------------------------------------------------- Easymon::ChecksControllerTest: test_return_404_if_not_authorized ---------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML Filter chain halted as :authorize_request rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by Easymon::ChecksController#show as HTML Parameters: {"check"=>"database"} Filter chain halted as :authorize_request rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------------------------------------------------------ Easymon::ChecksControllerTest: test_show_if_the_check_is_not_found ------------------------------------------------------------------ Processing by Easymon::ChecksController#show as HTML Parameters: {"check"=>"database"} Rendered text template (0.0ms) Completed 404 Not Found in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------------------------------------------------------- Easymon::ChecksControllerTest: test_show_json_when_the_check_passes ------------------------------------------------------------------- Processing by Easymon::ChecksController#show as JSON Parameters: {"check"=>"database"}  (0.2ms) SELECT 1=1 Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------- Easymon::ChecksControllerTest: test_show_when_the_check_fails ------------------------------------------------------------- Processing by Easymon::ChecksController#show as HTML Parameters: {"check"=>"database"} Rendered text template (0.0ms) Completed 503 Service Unavailable in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------------- Easymon::ChecksControllerTest: test_show_when_the_check_passes -------------------------------------------------------------- Processing by Easymon::ChecksController#show as HTML Parameters: {"check"=>"database"}  (0.2ms) SELECT 1=1 Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) BEGIN ----------------------------------------------------------------- RedisCheckTest: test_#run_sets_failure_conditions_on_a_failed_run -----------------------------------------------------------------  (0.2ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------- RedisCheckTest: test_#run_sets_success_conditions_on_successful_run -------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------ RedisCheckTest: test_given_nil_as_a_config ------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ---------------------------------------------------------------------------- TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run ----------------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------------------ TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run ------------------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------------------- ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run --------------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ---------------------------------------------------------------------------- ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run ----------------------------------------------------------------------------  (0.1ms) SELECT 1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------- ActiveRecordCheckTest: test_given_nil_as_a_config -------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------------------------------- ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_failed_result_on_a_failed_run --------------------------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ---------------------------------------------------------------------------------------- ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_successful_result_on_a_good_run ----------------------------------------------------------------------------------------  (0.1ms) SELECT 1  (0.1ms) ROLLBACK  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) BEGIN ---------------------------------------------------------------- HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run ----------------------------------------------------------------  (0.2ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------ HttpCheckTest: test_#run_sets_failure_conditions_on_an_errored_run ------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------ HttpCheckTest: test_#run_sets_success_conditions_on_successful_run ------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------- HttpCheckTest: test_given_nil_as_a_url --------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------------------- ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass ---------------------------------------------------------------------  (0.2ms) SELECT 1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------------------------ ChecklistTest: test_#response_status_returns_:service_unavailable_when_a_check_fails ------------------------------------------------------------------------------------  (0.2ms) SELECT 1 Dalli::Server#connect 127.0.0.1:11211  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ----------------------------------------------------------------- ChecklistTest: test_#success?_returns_false_when_results_is_empty -----------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------- ChecklistTest: test_#timing_is_a_sum_of_all_check_results ---------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------------- ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist -------------------------------------------------------------------------  (0.1ms) SELECT 1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ---------------------------------------------- ChecklistTest: test_can_look_up_checks_by_name ----------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------- ChecklistTest: test_cat_fetch_a_check_by_name ---------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------- ChecklistTest: test_it_knows_the_number_of_checks_in_the_Repository -------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------ ChecklistTest: test_it_will_run_each_check ------------------------------------------  (0.1ms) SELECT 1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------------------- MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run ---------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ----------------------------------------------------------------------- MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run -----------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------ MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers ------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------- MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache ---------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------------------- SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run ---------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ----------------------------------------------------------------------- SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run -----------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------------------- RepositoryTest: test_adds_checks_marked_critical_to_the_critical_checklist --------------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------- RepositoryTest: test_fetches_a_check_by_name --------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ----------------------------------------------------- RepositoryTest: test_fetches_a_critical_check_by_name -----------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------- RepositoryTest: test_returns_a_checklist_when_asked ---------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------- RepositoryTest: test_we_can_add_a_check_to_the_repository ---------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------- RepositoryTest: test_we_can_remove_a_check_from_the_repository --------------------------------------------------------------  (0.2ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------------------------- SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down --------------------------------------------------------------------------------  (0.1ms) SELECT 1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------------------- SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down -------------------------------------------------------------------------------  (0.1ms) SELECT 1  (0.1ms) ROLLBACK  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------------------- SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run -------------------------------------------------------------------------------  (0.1ms) SELECT 1  (0.1ms) SELECT 1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------ SplitActiveRecordCheckTest: test_given_nil_as_a_config ------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------ Easymon::ChecksControllerTest: test_index_returns_valid_json ------------------------------------------------------------ Processing by Easymon::ChecksController#index as JSON  (0.3ms) SELECT 1 Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) BEGIN  (0.2ms) BEGIN ------------------------------------------------------------ Easymon::ChecksControllerTest: test_index_when_a_check_fails ------------------------------------------------------------ Processing by Easymon::ChecksController#index as HTML  (0.3ms) SELECT 1 Rendered text template (0.0ms) Completed 503 Service Unavailable in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.2ms) ROLLBACK  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------------------- Easymon::ChecksControllerTest: test_index_when_a_critical_check_fails --------------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML Rendered text template (0.0ms) Completed 503 Service Unavailable in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) ROLLBACK  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) BEGIN  (0.2ms) BEGIN ------------------------------------------------------------------------- Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails ------------------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML  (0.2ms) SELECT 1 Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------- Easymon::ChecksControllerTest: test_index_when_all_checks_pass -------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML  (0.2ms) SELECT 1 Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------------- Easymon::ChecksControllerTest: test_index_when_no_checks_are_defined -------------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML Rendered text template (0.0ms) Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------ Easymon::ChecksControllerTest: test_show_if_the_check_is_not_found ------------------------------------------------------------------ Processing by Easymon::ChecksController#show as HTML Parameters: {"check"=>"database"} Rendered text template (0.0ms) Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------- Easymon::ChecksControllerTest: test_show_json_when_the_check_passes ------------------------------------------------------------------- Processing by Easymon::ChecksController#show as JSON Parameters: {"check"=>"database"}  (0.2ms) SELECT 1 Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)  (0.2ms) ROLLBACK  (0.1ms) ROLLBACK  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------- Easymon::ChecksControllerTest: test_show_when_the_check_fails ------------------------------------------------------------- Processing by Easymon::ChecksController#show as HTML Parameters: {"check"=>"database"} Rendered text template (0.0ms) Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) ROLLBACK  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------- Easymon::ChecksControllerTest: test_show_when_the_check_passes -------------------------------------------------------------- Processing by Easymon::ChecksController#show as HTML Parameters: {"check"=>"database"}  (0.2ms) SELECT 1 Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)  (0.2ms) ROLLBACK  (0.1ms) ROLLBACK  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------------------- RepositoryTest: test_adds_checks_marked_critical_to_the_critical_checklist --------------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------- RepositoryTest: test_fetches_a_check_by_name --------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ----------------------------------------------------- RepositoryTest: test_fetches_a_critical_check_by_name -----------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------- RepositoryTest: test_returns_a_checklist_when_asked ---------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------- RepositoryTest: test_we_can_add_a_check_to_the_repository ---------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------- RepositoryTest: test_we_can_remove_a_check_from_the_repository --------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------------------- ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass ---------------------------------------------------------------------  (0.1ms) SELECT 1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------------------------ ChecklistTest: test_#response_status_returns_:service_unavailable_when_a_check_fails ------------------------------------------------------------------------------------  (0.1ms) SELECT 1 Dalli::Server#connect 127.0.0.1:11211  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ----------------------------------------------------------------- ChecklistTest: test_#success?_returns_false_when_results_is_empty -----------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------- ChecklistTest: test_#timing_is_a_sum_of_all_check_results ---------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------------- ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist -------------------------------------------------------------------------  (0.2ms) SELECT 1  (0.2ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ---------------------------------------------- ChecklistTest: test_can_look_up_checks_by_name ----------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------- ChecklistTest: test_cat_fetch_a_check_by_name ---------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------- ChecklistTest: test_it_knows_the_number_of_checks_in_the_Repository -------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------ ChecklistTest: test_it_will_run_each_check ------------------------------------------  (0.1ms) SELECT 1  (0.2ms) ROLLBACK  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) BEGIN ---------------------------------------------------------------- HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run ----------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------ HttpCheckTest: test_#run_sets_failure_conditions_on_an_errored_run ------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------ HttpCheckTest: test_#run_sets_success_conditions_on_successful_run ------------------------------------------------------------------  (0.2ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) BEGIN -------------------------------------- HttpCheckTest: test_given_nil_as_a_url --------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------------------- SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run ---------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ----------------------------------------------------------------------- SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run -----------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------------------------------- ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_failed_result_on_a_failed_run --------------------------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ---------------------------------------------------------------------------------------- ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_successful_result_on_a_good_run ----------------------------------------------------------------------------------------  (0.2ms) SELECT 1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------------------- ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run --------------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ---------------------------------------------------------------------------- ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run ----------------------------------------------------------------------------  (0.1ms) SELECT 1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------- ActiveRecordCheckTest: test_given_nil_as_a_config -------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------ Easymon::ChecksControllerTest: test_index_returns_valid_json ------------------------------------------------------------ Processing by Easymon::ChecksController#index as JSON  (0.1ms) SELECT 1 Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------ Easymon::ChecksControllerTest: test_index_when_a_check_fails ------------------------------------------------------------ Processing by Easymon::ChecksController#index as HTML  (0.1ms) SELECT 1 Rendered text template (0.0ms) Completed 503 Service Unavailable in 2ms (Views: 1.4ms | ActiveRecord: 0.1ms)  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------------------- Easymon::ChecksControllerTest: test_index_when_a_critical_check_fails --------------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML Rendered text template (0.0ms) Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------------- Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails ------------------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML  (0.2ms) SELECT 1 Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)  (0.2ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------- Easymon::ChecksControllerTest: test_index_when_all_checks_pass -------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML  (0.2ms) SELECT 1 Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------------- Easymon::ChecksControllerTest: test_index_when_no_checks_are_defined -------------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML Rendered text template (0.0ms) Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------ Easymon::ChecksControllerTest: test_show_if_the_check_is_not_found ------------------------------------------------------------------ Processing by Easymon::ChecksController#show as HTML Parameters: {"check"=>"database"} Rendered text template (0.0ms) Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------- Easymon::ChecksControllerTest: test_show_json_when_the_check_passes ------------------------------------------------------------------- Processing by Easymon::ChecksController#show as JSON Parameters: {"check"=>"database"}  (0.1ms) SELECT 1 Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.1ms)  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------- Easymon::ChecksControllerTest: test_show_when_the_check_fails ------------------------------------------------------------- Processing by Easymon::ChecksController#show as HTML Parameters: {"check"=>"database"} Rendered text template (0.0ms) Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------- Easymon::ChecksControllerTest: test_show_when_the_check_passes -------------------------------------------------------------- Processing by Easymon::ChecksController#show as HTML Parameters: {"check"=>"database"}  (0.2ms) SELECT 1 Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)  (0.2ms) ROLLBACK  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------------------- MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run ---------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) BEGIN ----------------------------------------------------------------------- MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run -----------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------ MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers ------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------- MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache ---------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ---------------------------------------------------------------------------- TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run ----------------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------------------ TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run ------------------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------------------------- SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down --------------------------------------------------------------------------------  (0.1ms) SELECT 1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------------------- SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down -------------------------------------------------------------------------------  (0.1ms) SELECT 1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------------------- SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run -------------------------------------------------------------------------------  (0.1ms) SELECT 1  (0.1ms) SELECT 1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------ SplitActiveRecordCheckTest: test_given_nil_as_a_config ------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ----------------------------------------------------------------- RedisCheckTest: test_#run_sets_failure_conditions_on_a_failed_run -----------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------- RedisCheckTest: test_#run_sets_success_conditions_on_successful_run -------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------ RedisCheckTest: test_given_nil_as_a_config ------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------ Easymon::ChecksControllerTest: test_index_returns_valid_json ------------------------------------------------------------ Processing by Easymon::ChecksController#index as JSON  (0.3ms) SELECT 1 Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------ Easymon::ChecksControllerTest: test_index_when_a_check_fails ------------------------------------------------------------ Processing by Easymon::ChecksController#index as HTML  (0.2ms) SELECT 1 Rendered text template (0.0ms) Completed 503 Service Unavailable in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------------------- Easymon::ChecksControllerTest: test_index_when_a_critical_check_fails --------------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML Rendered text template (0.0ms) Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------------- Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails ------------------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML  (0.1ms) SELECT 1 Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------- Easymon::ChecksControllerTest: test_index_when_all_checks_pass -------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML  (0.2ms) SELECT 1 Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------------- Easymon::ChecksControllerTest: test_index_when_no_checks_are_defined -------------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML Rendered text template (0.0ms) Completed 503 Service Unavailable in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------ Easymon::ChecksControllerTest: test_show_if_the_check_is_not_found ------------------------------------------------------------------ Processing by Easymon::ChecksController#show as HTML Parameters: {"check"=>"database"} Rendered text template (0.0ms) Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------- Easymon::ChecksControllerTest: test_show_json_when_the_check_passes ------------------------------------------------------------------- Processing by Easymon::ChecksController#show as JSON Parameters: {"check"=>"database"}  (0.1ms) SELECT 1 Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------- Easymon::ChecksControllerTest: test_show_when_the_check_fails ------------------------------------------------------------- Processing by Easymon::ChecksController#show as HTML Parameters: {"check"=>"database"} Rendered text template (0.0ms) Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------- Easymon::ChecksControllerTest: test_show_when_the_check_passes -------------------------------------------------------------- Processing by Easymon::ChecksController#show as HTML Parameters: {"check"=>"database"}  (0.2ms) SELECT 1 Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)  (0.2ms) ROLLBACK  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) BEGIN -------------------------------------------------------------------------- ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run --------------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ---------------------------------------------------------------------------- ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run ----------------------------------------------------------------------------  (0.2ms) SELECT 1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------- ActiveRecordCheckTest: test_given_nil_as_a_config -------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------------------- MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run ---------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ----------------------------------------------------------------------- MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run -----------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------ MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers ------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------- MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache ---------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ---------------------------------------------------------------------------- TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run ----------------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------------------ TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run ------------------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------------------------------- ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_failed_result_on_a_failed_run --------------------------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ---------------------------------------------------------------------------------------- ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_successful_result_on_a_good_run ----------------------------------------------------------------------------------------  (0.1ms) SELECT 1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------------------- SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run ---------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ----------------------------------------------------------------------- SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run -----------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------------------------- SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down --------------------------------------------------------------------------------  (0.1ms) SELECT 1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------------------- SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down -------------------------------------------------------------------------------  (0.1ms) SELECT 1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------------------- SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run -------------------------------------------------------------------------------  (0.1ms) SELECT 1  (0.1ms) SELECT 1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------ SplitActiveRecordCheckTest: test_given_nil_as_a_config ------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------------------- RepositoryTest: test_adds_checks_marked_critical_to_the_critical_checklist --------------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------- RepositoryTest: test_fetches_a_check_by_name --------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ----------------------------------------------------- RepositoryTest: test_fetches_a_critical_check_by_name -----------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------- RepositoryTest: test_returns_a_checklist_when_asked ---------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------- RepositoryTest: test_we_can_add_a_check_to_the_repository ---------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------- RepositoryTest: test_we_can_remove_a_check_from_the_repository --------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ----------------------------------------------------------------- RedisCheckTest: test_#run_sets_failure_conditions_on_a_failed_run -----------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------- RedisCheckTest: test_#run_sets_success_conditions_on_successful_run -------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------ RedisCheckTest: test_given_nil_as_a_config ------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ---------------------------------------------------------------- HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run ----------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------ HttpCheckTest: test_#run_sets_failure_conditions_on_an_errored_run ------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------ HttpCheckTest: test_#run_sets_success_conditions_on_successful_run ------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------- HttpCheckTest: test_given_nil_as_a_url --------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------------------- ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass ---------------------------------------------------------------------  (0.1ms) SELECT 1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------------------------ ChecklistTest: test_#response_status_returns_:service_unavailable_when_a_check_fails ------------------------------------------------------------------------------------  (0.2ms) SELECT 1 Dalli::Server#connect 127.0.0.1:11211  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ----------------------------------------------------------------- ChecklistTest: test_#success?_returns_false_when_results_is_empty -----------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------- ChecklistTest: test_#timing_is_a_sum_of_all_check_results ---------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------------- ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist -------------------------------------------------------------------------  (0.1ms) SELECT 1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ---------------------------------------------- ChecklistTest: test_can_look_up_checks_by_name ----------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------- ChecklistTest: test_cat_fetch_a_check_by_name ---------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------- ChecklistTest: test_it_knows_the_number_of_checks_in_the_Repository -------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------ ChecklistTest: test_it_will_run_each_check ------------------------------------------  (0.1ms) SELECT 1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------------------------------- ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_failed_result_on_a_failed_run --------------------------------------------------------------------------------------  (0.2ms) ROLLBACK  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) BEGIN ---------------------------------------------------------------------------------------- ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_successful_result_on_a_good_run ----------------------------------------------------------------------------------------  (0.2ms) SELECT 1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) BEGIN --------------------------------------------------------------------- MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run ---------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) BEGIN ----------------------------------------------------------------------- MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run -----------------------------------------------------------------------  (0.2ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) BEGIN ------------------------------------------------------------------ MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers ------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------- MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache ---------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ---------------------------------------------------------------- HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run ----------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------ HttpCheckTest: test_#run_sets_failure_conditions_on_an_errored_run ------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------ HttpCheckTest: test_#run_sets_success_conditions_on_successful_run ------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------- HttpCheckTest: test_given_nil_as_a_url --------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------ Easymon::ChecksControllerTest: test_index_returns_valid_json ------------------------------------------------------------ Processing by Easymon::ChecksController#index as JSON  (0.3ms) SELECT 1 Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------ Easymon::ChecksControllerTest: test_index_when_a_check_fails ------------------------------------------------------------ Processing by Easymon::ChecksController#index as HTML  (0.2ms) SELECT 1 Rendered text template (0.0ms) Completed 503 Service Unavailable in 2ms (Views: 1.2ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------------------- Easymon::ChecksControllerTest: test_index_when_a_critical_check_fails --------------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML Rendered text template (0.0ms) Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------------- Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails ------------------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML  (0.2ms) SELECT 1 Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------- Easymon::ChecksControllerTest: test_index_when_all_checks_pass -------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML  (0.2ms) SELECT 1 Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------------- Easymon::ChecksControllerTest: test_index_when_no_checks_are_defined -------------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML Rendered text template (0.0ms) Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) BEGIN ---------------------------------------------------------------- Easymon::ChecksControllerTest: test_return_404_if_not_authorized ---------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML Filter chain halted as :authorize_request rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by Easymon::ChecksController#show as HTML Parameters: {"check"=>"database"} Filter chain halted as :authorize_request rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------ Easymon::ChecksControllerTest: test_show_if_the_check_is_not_found ------------------------------------------------------------------ Processing by Easymon::ChecksController#show as HTML Parameters: {"check"=>"database"} Rendered text template (0.0ms) Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) BEGIN ------------------------------------------------------------------- Easymon::ChecksControllerTest: test_show_json_when_the_check_passes ------------------------------------------------------------------- Processing by Easymon::ChecksController#show as JSON Parameters: {"check"=>"database"}  (0.2ms) SELECT 1 Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------- Easymon::ChecksControllerTest: test_show_when_the_check_fails ------------------------------------------------------------- Processing by Easymon::ChecksController#show as HTML Parameters: {"check"=>"database"} Rendered text template (0.0ms) Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------- Easymon::ChecksControllerTest: test_show_when_the_check_passes -------------------------------------------------------------- Processing by Easymon::ChecksController#show as HTML Parameters: {"check"=>"database"}  (0.2ms) SELECT 1 Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------------------- ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass ---------------------------------------------------------------------  (0.1ms) SELECT 1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------------------------ ChecklistTest: test_#response_status_returns_:service_unavailable_when_a_check_fails ------------------------------------------------------------------------------------  (0.1ms) SELECT 1 Dalli::Server#connect 127.0.0.1:11211  (0.2ms) ROLLBACK  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) BEGIN ----------------------------------------------------------------- ChecklistTest: test_#success?_returns_false_when_results_is_empty -----------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------- ChecklistTest: test_#timing_is_a_sum_of_all_check_results ---------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------------- ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist -------------------------------------------------------------------------  (0.1ms) SELECT 1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ---------------------------------------------- ChecklistTest: test_can_look_up_checks_by_name ----------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------- ChecklistTest: test_cat_fetch_a_check_by_name ---------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------- ChecklistTest: test_it_knows_the_number_of_checks_in_the_Repository -------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------ ChecklistTest: test_it_will_run_each_check ------------------------------------------  (0.1ms) SELECT 1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------------------- SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run ---------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ----------------------------------------------------------------------- SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run -----------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------------------- RepositoryTest: test_adds_checks_marked_critical_to_the_critical_checklist --------------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------- RepositoryTest: test_fetches_a_check_by_name --------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ----------------------------------------------------- RepositoryTest: test_fetches_a_critical_check_by_name -----------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------- RepositoryTest: test_returns_a_checklist_when_asked ---------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------- RepositoryTest: test_we_can_add_a_check_to_the_repository ---------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------- RepositoryTest: test_we_can_remove_a_check_from_the_repository --------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ----------------------------------------------------------------- RedisCheckTest: test_#run_sets_failure_conditions_on_a_failed_run -----------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------- RedisCheckTest: test_#run_sets_success_conditions_on_successful_run -------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------ RedisCheckTest: test_given_nil_as_a_config ------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------------------- ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run --------------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ---------------------------------------------------------------------------- ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run ----------------------------------------------------------------------------  (0.1ms) SELECT 1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------- ActiveRecordCheckTest: test_given_nil_as_a_config -------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ---------------------------------------------------------------------------- TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run ----------------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------------------ TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run ------------------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------------------------- SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down --------------------------------------------------------------------------------  (0.1ms) SELECT 1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------------------- SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down -------------------------------------------------------------------------------  (0.1ms) SELECT 1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------------------- SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run -------------------------------------------------------------------------------  (0.1ms) SELECT 1  (0.1ms) SELECT 1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------ SplitActiveRecordCheckTest: test_given_nil_as_a_config ------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) BEGIN ---------------------------------------------------------------- HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run ----------------------------------------------------------------  (0.2ms) ROLLBACK  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------ HttpCheckTest: test_#run_sets_failure_conditions_on_an_errored_run ------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------ HttpCheckTest: test_#run_sets_success_conditions_on_successful_run ------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------- HttpCheckTest: test_given_nil_as_a_url --------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------------------------------- ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_failed_result_on_a_failed_run --------------------------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ---------------------------------------------------------------------------------------- ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_successful_result_on_a_good_run ----------------------------------------------------------------------------------------  (0.2ms) SELECT 1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ---------------------------------------------------------------------------- TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run ----------------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------------------ TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run ------------------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ----------------------------------------------------------------- RedisCheckTest: test_#run_sets_failure_conditions_on_a_failed_run -----------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------- RedisCheckTest: test_#run_sets_success_conditions_on_successful_run -------------------------------------------------------------------  (0.2ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) BEGIN ------------------------------------------ RedisCheckTest: test_given_nil_as_a_config ------------------------------------------  (0.2ms) ROLLBACK  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) BEGIN -------------------------------------------------------------------------- RepositoryTest: test_adds_checks_marked_critical_to_the_critical_checklist --------------------------------------------------------------------------  (0.2ms) ROLLBACK  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) BEGIN -------------------------------------------- RepositoryTest: test_fetches_a_check_by_name --------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) BEGIN ----------------------------------------------------- RepositoryTest: test_fetches_a_critical_check_by_name -----------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) BEGIN --------------------------------------------------- RepositoryTest: test_returns_a_checklist_when_asked ---------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------- RepositoryTest: test_we_can_add_a_check_to_the_repository ---------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------- RepositoryTest: test_we_can_remove_a_check_from_the_repository --------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------------------------- SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down --------------------------------------------------------------------------------  (0.2ms) SELECT 1  (0.2ms) ROLLBACK  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------------------- SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down -------------------------------------------------------------------------------  (0.1ms) SELECT 1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------------------- SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run -------------------------------------------------------------------------------  (0.1ms) SELECT 1  (0.1ms) SELECT 1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------ SplitActiveRecordCheckTest: test_given_nil_as_a_config ------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------------------- ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass ---------------------------------------------------------------------  (0.1ms) SELECT 1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------------------------ ChecklistTest: test_#response_status_returns_:service_unavailable_when_a_check_fails ------------------------------------------------------------------------------------  (0.1ms) SELECT 1 Dalli::Server#connect 127.0.0.1:11211  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ----------------------------------------------------------------- ChecklistTest: test_#success?_returns_false_when_results_is_empty -----------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------- ChecklistTest: test_#timing_is_a_sum_of_all_check_results ---------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------------- ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist -------------------------------------------------------------------------  (0.1ms) SELECT 1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ---------------------------------------------- ChecklistTest: test_can_look_up_checks_by_name ----------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------- ChecklistTest: test_cat_fetch_a_check_by_name ---------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------- ChecklistTest: test_it_knows_the_number_of_checks_in_the_Repository -------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) BEGIN  (0.1ms) BEGIN ------------------------------------------ ChecklistTest: test_it_will_run_each_check ------------------------------------------  (0.1ms) SELECT 1  (0.1ms) ROLLBACK  (0.2ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------------------- MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run ---------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ----------------------------------------------------------------------- MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run -----------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------ MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers ------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------- MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache ---------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------------------- ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run --------------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ---------------------------------------------------------------------------- ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run ----------------------------------------------------------------------------  (0.1ms) SELECT 1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------- ActiveRecordCheckTest: test_given_nil_as_a_config -------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------ Easymon::ChecksControllerTest: test_index_returns_valid_json ------------------------------------------------------------ Processing by Easymon::ChecksController#index as JSON  (0.3ms) SELECT 1 Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.2ms) ROLLBACK  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------ Easymon::ChecksControllerTest: test_index_when_a_check_fails ------------------------------------------------------------ Processing by Easymon::ChecksController#index as HTML  (0.1ms) SELECT 1 Rendered text template (0.0ms) Completed 503 Service Unavailable in 2ms (Views: 1.5ms | ActiveRecord: 0.1ms)  (0.2ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------------------- Easymon::ChecksControllerTest: test_index_when_a_critical_check_fails --------------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML Rendered text template (0.0ms) Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------------- Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails ------------------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML  (0.2ms) SELECT 1 Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------- Easymon::ChecksControllerTest: test_index_when_all_checks_pass -------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML  (0.2ms) SELECT 1 Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------------- Easymon::ChecksControllerTest: test_index_when_no_checks_are_defined -------------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML Rendered text template (0.0ms) Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ---------------------------------------------------------------- Easymon::ChecksControllerTest: test_return_404_if_not_authorized ---------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML Filter chain halted as :authorize_request rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by Easymon::ChecksController#show as HTML Parameters: {"check"=>"database"} Filter chain halted as :authorize_request rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.2ms) BEGIN ------------------------------------------------------------------ Easymon::ChecksControllerTest: test_show_if_the_check_is_not_found ------------------------------------------------------------------ Processing by Easymon::ChecksController#show as HTML Parameters: {"check"=>"database"} Rendered text template (0.0ms) Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------- Easymon::ChecksControllerTest: test_show_json_when_the_check_passes ------------------------------------------------------------------- Processing by Easymon::ChecksController#show as JSON Parameters: {"check"=>"database"}  (0.1ms) SELECT 1 Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------- Easymon::ChecksControllerTest: test_show_when_the_check_fails ------------------------------------------------------------- Processing by Easymon::ChecksController#show as HTML Parameters: {"check"=>"database"} Rendered text template (0.0ms) Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.3ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------- Easymon::ChecksControllerTest: test_show_when_the_check_passes -------------------------------------------------------------- Processing by Easymon::ChecksController#show as HTML Parameters: {"check"=>"database"}  (0.2ms) SELECT 1 Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.2ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------------------- SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run ---------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ----------------------------------------------------------------------- SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run -----------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------ Easymon::ChecksControllerTest: test_index_returns_valid_json ------------------------------------------------------------ Processing by Easymon::ChecksController#index as JSON  (0.2ms) SELECT 1 Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------ Easymon::ChecksControllerTest: test_index_when_a_check_fails ------------------------------------------------------------ Processing by Easymon::ChecksController#index as HTML  (0.3ms) SELECT 1 Rendered text template (0.0ms) Completed 503 Service Unavailable in 2ms (Views: 1.1ms | ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) BEGIN --------------------------------------------------------------------- Easymon::ChecksControllerTest: test_index_when_a_critical_check_fails --------------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML Rendered text template (0.0ms) Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) BEGIN ------------------------------------------------------------------------- Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails ------------------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML  (0.3ms) SELECT 1 Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------- Easymon::ChecksControllerTest: test_index_when_all_checks_pass -------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML  (0.2ms) SELECT 1 Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------------- Easymon::ChecksControllerTest: test_index_when_no_checks_are_defined -------------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML Rendered text template (0.0ms) Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ---------------------------------------------------------------- Easymon::ChecksControllerTest: test_return_403_if_not_authorized ---------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML Filter chain halted as :authorize_request rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms) Processing by Easymon::ChecksController#show as HTML Parameters: {"check"=>"database"} Filter chain halted as :authorize_request rendered or redirected Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------ Easymon::ChecksControllerTest: test_show_if_the_check_is_not_found ------------------------------------------------------------------ Processing by Easymon::ChecksController#show as HTML Parameters: {"check"=>"database"} Rendered text template (0.0ms) Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------- Easymon::ChecksControllerTest: test_show_json_when_the_check_passes ------------------------------------------------------------------- Processing by Easymon::ChecksController#show as JSON Parameters: {"check"=>"database"}  (0.1ms) SELECT 1 Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------- Easymon::ChecksControllerTest: test_show_when_the_check_fails ------------------------------------------------------------- Processing by Easymon::ChecksController#show as HTML Parameters: {"check"=>"database"} Rendered text template (0.0ms) Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------- Easymon::ChecksControllerTest: test_show_when_the_check_passes -------------------------------------------------------------- Processing by Easymon::ChecksController#show as HTML Parameters: {"check"=>"database"}  (0.2ms) SELECT 1 Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ---------------------------------------------------------------------------- TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run ----------------------------------------------------------------------------  (0.2ms) ROLLBACK  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------------------ TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run ------------------------------------------------------------------------------  (0.2ms) ROLLBACK  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ----------------------------------------------------------------- RedisCheckTest: test_#run_sets_failure_conditions_on_a_failed_run -----------------------------------------------------------------  (0.2ms) ROLLBACK  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) BEGIN ------------------------------------------------------------------- RedisCheckTest: test_#run_sets_success_conditions_on_successful_run -------------------------------------------------------------------  (0.2ms) ROLLBACK  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) BEGIN ------------------------------------------ RedisCheckTest: test_given_nil_as_a_config ------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------------------- RepositoryTest: test_adds_checks_marked_critical_to_the_critical_checklist --------------------------------------------------------------------------  (0.2ms) ROLLBACK  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) BEGIN -------------------------------------------- RepositoryTest: test_fetches_a_check_by_name --------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ----------------------------------------------------- RepositoryTest: test_fetches_a_critical_check_by_name -----------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) BEGIN --------------------------------------------------- RepositoryTest: test_returns_a_checklist_when_asked ---------------------------------------------------  (0.2ms) ROLLBACK  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------- RepositoryTest: test_we_can_add_a_check_to_the_repository ---------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------- RepositoryTest: test_we_can_remove_a_check_from_the_repository --------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------------------- ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run --------------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ---------------------------------------------------------------------------- ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run ----------------------------------------------------------------------------  (0.1ms) SELECT 1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------- ActiveRecordCheckTest: test_given_nil_as_a_config -------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------------------------------- ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_failed_result_on_a_failed_run --------------------------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ---------------------------------------------------------------------------------------- ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_successful_result_on_a_good_run ----------------------------------------------------------------------------------------  (0.1ms) SELECT 1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------------------------------------------------- SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down --------------------------------------------------------------------------------  (0.2ms) SELECT 1  (0.1ms) ROLLBACK  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------------------- SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down -------------------------------------------------------------------------------  (0.2ms) SELECT 1  (0.1ms) ROLLBACK  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------------------- SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run -------------------------------------------------------------------------------  (0.2ms) SELECT 1  (0.1ms) SELECT 1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------ SplitActiveRecordCheckTest: test_given_nil_as_a_config ------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------------------- ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass ---------------------------------------------------------------------  (0.1ms) SELECT 1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------------------------ ChecklistTest: test_#response_status_returns_:service_unavailable_when_a_check_fails ------------------------------------------------------------------------------------  (0.2ms) SELECT 1 Dalli::Server#connect 127.0.0.1:11211  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ----------------------------------------------------------------- ChecklistTest: test_#success?_returns_false_when_results_is_empty -----------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------- ChecklistTest: test_#timing_is_a_sum_of_all_check_results ---------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------------- ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist -------------------------------------------------------------------------  (0.1ms) SELECT 1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ---------------------------------------------- ChecklistTest: test_can_look_up_checks_by_name ----------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------- ChecklistTest: test_cat_fetch_a_check_by_name ---------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------- ChecklistTest: test_it_knows_the_number_of_checks_in_the_Repository -------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------ ChecklistTest: test_it_will_run_each_check ------------------------------------------  (0.1ms) SELECT 1  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ---------------------------------------------------------------- HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run ----------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------ HttpCheckTest: test_#run_sets_failure_conditions_on_an_errored_run ------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------ HttpCheckTest: test_#run_sets_success_conditions_on_successful_run ------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN -------------------------------------- HttpCheckTest: test_given_nil_as_a_url --------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------------------- MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run ---------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ----------------------------------------------------------------------- MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run -----------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------ MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers ------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------- MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache ---------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN --------------------------------------------------------------------- SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run ---------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN ----------------------------------------------------------------------- SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run -----------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK