test/dummy/log/test.log in easymon-1.3 vs test/dummy/log/test.log in easymon-1.4

- old
+ new

@@ -1,195 +1,377 @@ -  (18.9ms) CREATE DATABASE `dummy_test` DEFAULT CHARACTER SET `utf8` +  (0.5ms) SET NAMES utf8, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 +  (153.9ms) CREATE DATABASE `dummy_test` DEFAULT CHARACTER SET `utf8` +  (0.3ms) SET NAMES utf8, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 +  (0.2ms) SET NAMES utf8, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 +  (0.3ms) SET NAMES utf8, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 +  (0.2ms) SET NAMES utf8, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483  (0.2ms) BEGIN -  (0.2ms) BEGIN ---------------------------------------------------------------------- -MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run ---------------------------------------------------------------------- -  (0.2ms) ROLLBACK -  (0.2ms) ROLLBACK -  (0.2ms) BEGIN -  (0.2ms) BEGIN ------------------------------------------------------------------------ -MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run ------------------------------------------------------------------------ -  (0.2ms) ROLLBACK -  (0.2ms) ROLLBACK  (0.1ms) BEGIN +-------------------------------------------------------------------------------- +SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down +-------------------------------------------------------------------------------- +  (0.2ms) SET NAMES utf8, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483  (0.1ms) BEGIN ------------------------------------------------------------------- -MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers ------------------------------------------------------------------- -  (0.2ms) ROLLBACK  (0.1ms) ROLLBACK -  (0.2ms) BEGIN -  (0.1ms) BEGIN ---------------------------------------------------------- -MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache ----------------------------------------------------------  (0.1ms) ROLLBACK -  (0.2ms) ROLLBACK -  (0.2ms) BEGIN -  (0.2ms) BEGIN ---------------------------------------------------------------------- -SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run ----------------------------------------------------------------------  (0.1ms) ROLLBACK -  (0.1ms) ROLLBACK -  (0.2ms) 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 --------------------------------------------------------------------------------------- -ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_failed_result_on_a_failed_run --------------------------------------------------------------------------------------- +------------------------------------------------------------------------------- +SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down +------------------------------------------------------------------------------- +  (0.2ms) SET NAMES utf8, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 +  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) ROLLBACK -  (0.1ms) BEGIN -  (0.2ms) BEGIN ----------------------------------------------------------------------------------------- -ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_successful_result_on_a_good_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) BEGIN +------------------------------------------------------------------------------- +SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run +------------------------------------------------------------------------------- +  (0.2ms) SET NAMES utf8, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 +  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK +  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN ------------------------------------------------------------------------------- -TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run ------------------------------------------------------------------------------- +  (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.2ms) BEGIN +  (0.1ms) ROLLBACK  (0.1ms) BEGIN +  (0.1ms) BEGIN +  (0.1ms) BEGIN ------------------------------------------ RedisCheckTest: test_given_nil_as_a_config ------------------------------------------ -  (0.2ms) ROLLBACK  (0.1ms) ROLLBACK -  (0.1ms) BEGIN -  (0.1ms) BEGIN --------------------------------------------------------------------------- -ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run --------------------------------------------------------------------------- -  (0.2ms) 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 +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 -------------------------------------------------- -ActiveRecordCheckTest: test_given_nil_as_a_config -------------------------------------------------- +  (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 -------------------------------------------------------------------------- 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 --------------------------------------------------------------------------------- -SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down --------------------------------------------------------------------------------- +  (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.2ms) BEGIN +----------------------------------------------------------------------- +MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run +----------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) ROLLBACK +  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------------------------------- -SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down -------------------------------------------------------------------------------- +  (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 -------------------------------------------------------------------------------- -SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run -------------------------------------------------------------------------------- +--------------------------------------------------------- +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 ------------------------------------------------------- -SplitActiveRecordCheckTest: test_given_nil_as_a_config ------------------------------------------------------- +--------------------------------------------------------------------- +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 +-------------------------------------------------------------------------------------- +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) 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.2ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) BEGIN +  (0.1ms) BEGIN +--------------------------------------------------------------------- +ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass +--------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) ROLLBACK +  (0.1ms) ROLLBACK +  (0.2ms) BEGIN +  (0.1ms) BEGIN +  (0.1ms) BEGIN +------------------------------------------------------------------------------------ +ChecklistTest: test_#response_status_returns_:service_unavailable_when_a_check_fails +------------------------------------------------------------------------------------ +Dalli::Server#connect 127.0.0.1:11211 +127.0.0.1:11211 failed (count: 0) Errno::ECONNREFUSED: Connection refused - connect(2) for "127.0.0.1" port 11211 +Dalli::Server#connect 127.0.0.1:11211 +127.0.0.1:11211 failed (count: 1) Errno::ECONNREFUSED: Connection refused - connect(2) for "127.0.0.1" port 11211 +127.0.0.1:11211 is down +  (0.4ms) ROLLBACK +  (0.3ms) ROLLBACK +  (0.3ms) ROLLBACK +  (0.3ms) BEGIN +  (0.3ms) BEGIN +  (0.2ms) BEGIN +----------------------------------------------------------------- +ChecklistTest: test_#success?_returns_false_when_results_is_empty +----------------------------------------------------------------- +  (0.2ms) 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) 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 +------------------------------------------ +down_retry_delay not reached for 127.0.0.1:11211 (59.984 seconds left) +down_retry_delay not reached for 127.0.0.1:11211 (59.984 seconds left) +  (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) ROLLBACK +  (0.2ms) ROLLBACK +  (0.2ms) 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 Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) @@ -203,11 +385,11 @@ Easymon::ChecksControllerTest: test_index_when_a_check_fails ------------------------------------------------------------ Processing by Easymon::ChecksController#index as HTML Rendering text template Rendered text template (0.0ms) -Completed 503 Service Unavailable in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) +Completed 503 Service Unavailable in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN @@ -216,17 +398,17 @@ Easymon::ChecksControllerTest: test_index_when_a_critical_check_fails --------------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML Rendering text template Rendered text template (0.0ms) -Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) +Completed 503 Service Unavailable in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -  (0.1ms) BEGIN +  (0.2ms) BEGIN ------------------------------------------------------------------------- Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails ------------------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML Rendering text template @@ -235,143 +417,254 @@  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN -  (0.2ms) BEGIN +  (0.1ms) BEGIN -------------------------------------------------------------- Easymon::ChecksControllerTest: test_index_when_all_checks_pass -------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML Rendering text template Rendered text template (0.0ms) -Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms) +Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK -  (0.2ms) ROLLBACK -  (0.2ms) ROLLBACK +  (0.1ms) ROLLBACK +  (0.1ms) ROLLBACK +  (0.2ms) BEGIN  (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 Rendering text template Rendered text template (0.0ms) -Completed 503 Service Unavailable in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) -  (0.2ms) ROLLBACK +Completed 503 Service Unavailable in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK +  (0.1ms) ROLLBACK  (0.1ms) BEGIN -  (0.2ms) BEGIN  (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.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"} - Rendering text template - 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"} -Completed 200 OK in 0ms (Views: 0.1ms | 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_when_the_check_fails ------------------------------------------------------------- -Processing by Easymon::ChecksController#show as HTML - Parameters: {"check"=>"database"} - Rendering text template - Rendered text template (0.0ms) -Completed 200 OK in 0ms (Views: 0.1ms | 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_when_the_check_passes -------------------------------------------------------------- -Processing by Easymon::ChecksController#show as HTML - Parameters: {"check"=>"database"} - Rendering text template - Rendered text template (0.0ms) -Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK +  (0.3ms) SET NAMES utf8, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 +  (0.2ms) SET NAMES utf8, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 +  (0.2ms) BEGIN  (0.1ms) BEGIN +----------------------------------------------------------------- +RedisCheckTest: test_#run_sets_failure_conditions_on_a_failed_run +----------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) ROLLBACK +  (0.2ms) 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.4ms) ROLLBACK +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) BEGIN +---------------------------------------------------------------------------- +ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run +---------------------------------------------------------------------------- +  (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 +-------------------------------------------------------------------------- +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 +--------------------------------------------------------------------- +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 ---------------------------------------------------------------- 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.2ms) BEGIN +  (0.1ms) BEGIN +-------------------------------------------------------------------------------- +SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down +-------------------------------------------------------------------------------- +  (0.2ms) SET NAMES utf8, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 +  (0.1ms) BEGIN  (0.1ms) ROLLBACK +  (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.3ms) SET NAMES utf8, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 +  (0.2ms) BEGIN +  (0.1ms) ROLLBACK +  (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.2ms) SET NAMES utf8, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 +  (0.1ms) BEGIN +  (0.1ms) ROLLBACK +  (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) ROLLBACK  (0.1ms) ROLLBACK @@ -385,34 +678,34 @@ Dalli::Server#connect 127.0.0.1:11211 127.0.0.1:11211 failed (count: 0) Errno::ECONNREFUSED: Connection refused - connect(2) for "127.0.0.1" port 11211 Dalli::Server#connect 127.0.0.1:11211 127.0.0.1:11211 failed (count: 1) Errno::ECONNREFUSED: Connection refused - connect(2) for "127.0.0.1" port 11211 127.0.0.1:11211 is down -  (0.2ms) ROLLBACK -  (0.2ms) ROLLBACK -  (0.2ms) ROLLBACK -  (0.1ms) BEGIN +  (0.3ms) ROLLBACK +  (0.3ms) ROLLBACK +  (0.3ms) ROLLBACK +  (0.3ms) BEGIN +  (0.3ms) BEGIN  (0.2ms) BEGIN -  (0.1ms) BEGIN ----------------------------------------------------------------- ChecklistTest: test_#success?_returns_false_when_results_is_empty ----------------------------------------------------------------- +  (0.2ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK -  (0.1ms) ROLLBACK +  (0.2ms) BEGIN  (0.1ms) BEGIN  (0.1ms) BEGIN -  (0.1ms) BEGIN --------------------------------------------------------- ChecklistTest: test_#timing_is_a_sum_of_all_check_results ---------------------------------------------------------  (0.1ms) ROLLBACK -  (0.2ms) ROLLBACK  (0.1ms) ROLLBACK -  (0.2ms) BEGIN +  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN +  (0.1ms) BEGIN ------------------------------------------------------------------------- ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist -------------------------------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK @@ -423,1821 +716,1587 @@ ---------------------------------------------- ChecklistTest: test_can_look_up_checks_by_name ----------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK -  (0.2ms) ROLLBACK +  (0.1ms) ROLLBACK  (0.1ms) BEGIN -  (0.2ms) 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.2ms) BEGIN -  (0.2ms) BEGIN -  (0.2ms) BEGIN +  (0.1ms) BEGIN +  (0.1ms) BEGIN +  (0.1ms) BEGIN ------------------------------------------------------------------- ChecklistTest: test_it_knows_the_number_of_checks_in_the_Repository ------------------------------------------------------------------- -  (0.2ms) ROLLBACK -  (0.4ms) ROLLBACK -  (0.3ms) ROLLBACK +  (0.1ms) ROLLBACK +  (0.1ms) ROLLBACK +  (0.1ms) ROLLBACK  (0.1ms) BEGIN -  (0.2ms) BEGIN -  (0.3ms) BEGIN +  (0.1ms) BEGIN +  (0.1ms) BEGIN ------------------------------------------ ChecklistTest: test_it_will_run_each_check ------------------------------------------ -down_retry_delay not reached for 127.0.0.1:11211 (0.968 seconds left) -down_retry_delay not reached for 127.0.0.1:11211 (0.968 seconds left) -  (0.2ms) ROLLBACK -  (0.2ms) ROLLBACK -  (0.2ms) ROLLBACK -  (0.2ms) BEGIN -  (0.2ms) BEGIN +down_retry_delay not reached for 127.0.0.1:11211 (59.982 seconds left) +down_retry_delay not reached for 127.0.0.1:11211 (59.982 seconds left) +  (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.2ms) BEGIN -  (0.1ms) BEGIN +  (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) BEGIN -  (0.1ms) BEGIN +  (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.2ms) ROLLBACK -  (0.2ms) ROLLBACK -  (0.2ms) BEGIN -  (0.1ms) BEGIN +  (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.2ms) ROLLBACK -  (0.2ms) ROLLBACK -  (0.1ms) BEGIN -  (0.2ms) BEGIN ----------------------------------------------------------------- -HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run ----------------------------------------------------------------- -  (0.2ms) ROLLBACK -  (0.1ms) ROLLBACK -  (0.2ms) BEGIN -  (0.2ms) 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.1ms) BEGIN --------------------------------------- -HttpCheckTest: test_given_nil_as_a_url --------------------------------------- -  (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.2ms) 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 ----------------------------------------------------------------------------- -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 +  (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) 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 -Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) -  (0.1ms) ROLLBACK -  (0.2ms) ROLLBACK -  (0.1ms) BEGIN -  (0.1ms) BEGIN +Completed 200 OK in 1ms (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_check_fails ------------------------------------------------------------ Processing by Easymon::ChecksController#index as HTML + Rendering text template Rendered text template (0.0ms) -Completed 503 Service Unavailable in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms) -  (0.1ms) ROLLBACK -  (0.1ms) ROLLBACK -  (0.2ms) BEGIN -  (0.1ms) BEGIN +Completed 503 Service Unavailable in 1ms (Views: 0.4ms | 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_critical_check_fails --------------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML + Rendering text template Rendered text template (0.0ms) -Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) -  (0.1ms) ROLLBACK -  (0.2ms) ROLLBACK -  (0.1ms) BEGIN -  (0.2ms) BEGIN +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 + Rendering text template Rendered text template (0.0ms) -Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) -  (0.1ms) ROLLBACK -  (0.1ms) ROLLBACK -  (0.2ms) BEGIN -  (0.1ms) BEGIN +Completed 200 OK 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_all_checks_pass -------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML + Rendering text template Rendered text template (0.0ms) -Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) -  (0.2ms) ROLLBACK -  (0.2ms) ROLLBACK -  (0.1ms) BEGIN -  (0.3ms) BEGIN +Completed 200 OK in 0ms (Views: 0.1ms | 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_no_checks_are_defined -------------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML + Rendering text template 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 +Completed 503 Service Unavailable in 0ms (Views: 0.1ms | 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_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.2ms) ROLLBACK -  (0.2ms) ROLLBACK -  (0.1ms) BEGIN -  (0.2ms) BEGIN +  (0.1ms) 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) BEGIN -  (0.1ms) BEGIN +  (2.8ms) 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"} -Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) -  (0.1ms) ROLLBACK -  (0.1ms) ROLLBACK -  (0.1ms) BEGIN -  (0.2ms) BEGIN +  (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 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) -  (0.1ms) ROLLBACK -  (0.1ms) ROLLBACK -  (0.1ms) BEGIN -  (0.1ms) BEGIN +  (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_passes -------------------------------------------------------------- -Processing by Easymon::ChecksController#show as HTML - Parameters: {"check"=>"database"} - Rendered text template (0.0ms) -Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) -  (0.1ms) ROLLBACK -  (0.1ms) ROLLBACK -  (0.1ms) BEGIN -  (0.1ms) BEGIN ---------------------------------------------------------------------- -SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run ---------------------------------------------------------------------- -  (0.2ms) 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 --------------------------------------------------------------------------- -ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run --------------------------------------------------------------------------- -  (0.1ms) ROLLBACK -  (0.1ms) ROLLBACK -  (0.1ms) BEGIN -  (0.1ms) BEGIN +  (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 +TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run ---------------------------------------------------------------------------- -  (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 --------------------------------------------------------------------------------- -SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down --------------------------------------------------------------------------------- -  (0.1ms) ROLLBACK -  (0.1ms) ROLLBACK -  (0.2ms) BEGIN -  (0.1ms) BEGIN -  (0.1ms) BEGIN -------------------------------------------------------------------------------- -SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down -------------------------------------------------------------------------------- -  (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) 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 +  (0.1ms) ROLLBACK +  (0.1ms) ROLLBACK +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.2ms) BEGIN +  (0.1ms) BEGIN +------------------------------------------------------------------------------ +TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run +------------------------------------------------------------------------------ +  (0.1ms) ROLLBACK +  (0.1ms) ROLLBACK +  (0.1ms) ROLLBACK +  (0.5ms) SET NAMES utf8, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 +  (0.3ms) SET NAMES utf8, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 +  (0.3ms) BEGIN +  (0.1ms) BEGIN --------------------------------------------------------------------- ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass --------------------------------------------------------------------- -  (0.1ms) ROLLBACK -  (0.1ms) ROLLBACK -  (0.1ms) ROLLBACK -  (0.1ms) BEGIN -  (0.1ms) BEGIN -  (0.1ms) BEGIN +  (0.2ms) ROLLBACK +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) BEGIN ------------------------------------------------------------------------------------ ChecklistTest: test_#response_status_returns_:service_unavailable_when_a_check_fails ------------------------------------------------------------------------------------ Dalli::Server#connect 127.0.0.1:11211 127.0.0.1:11211 failed (count: 0) Errno::ECONNREFUSED: Connection refused - connect(2) for "127.0.0.1" port 11211 Dalli::Server#connect 127.0.0.1:11211 127.0.0.1:11211 failed (count: 1) Errno::ECONNREFUSED: Connection refused - connect(2) for "127.0.0.1" port 11211 127.0.0.1:11211 is down -  (0.3ms) ROLLBACK -  (0.3ms) ROLLBACK -  (0.4ms) ROLLBACK -  (0.2ms) BEGIN -  (0.2ms) BEGIN -  (0.2ms) BEGIN +  (0.2ms) ROLLBACK +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +  (0.2ms) BEGIN ----------------------------------------------------------------- ChecklistTest: test_#success?_returns_false_when_results_is_empty ----------------------------------------------------------------- -  (0.2ms) ROLLBACK -  (0.2ms) ROLLBACK -  (0.3ms) ROLLBACK -  (0.4ms) BEGIN -  (0.2ms) BEGIN -  (0.1ms) BEGIN +  (0.1ms) ROLLBACK +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) BEGIN --------------------------------------------------------- ChecklistTest: test_#timing_is_a_sum_of_all_check_results --------------------------------------------------------- -  (0.2ms) ROLLBACK -  (0.1ms) ROLLBACK -  (0.1ms) ROLLBACK -  (0.1ms) BEGIN -  (0.1ms) BEGIN -  (0.1ms) BEGIN +  (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) ROLLBACK -  (0.1ms) ROLLBACK -  (0.1ms) ROLLBACK -  (0.1ms) BEGIN -  (0.1ms) BEGIN -  (0.1ms) BEGIN +  (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) ROLLBACK -  (0.1ms) BEGIN -  (0.1ms) BEGIN -  (0.1ms) BEGIN +  (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) ROLLBACK -  (0.1ms) BEGIN -  (0.1ms) BEGIN -  (0.1ms) BEGIN +  (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) ROLLBACK -  (0.1ms) BEGIN -  (0.1ms) BEGIN -  (0.1ms) BEGIN +  (0.1ms) ROLLBACK +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) BEGIN ------------------------------------------ ChecklistTest: test_it_will_run_each_check ------------------------------------------ -down_retry_delay not reached for 127.0.0.1:11211 (0.981 seconds left) -down_retry_delay not reached for 127.0.0.1:11211 (0.981 seconds left) -  (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) 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.3ms) BEGIN -  (0.1ms) BEGIN +down_retry_delay not reached for 127.0.0.1:11211 (59.987 seconds left) +down_retry_delay not reached for 127.0.0.1:11211 (59.986 seconds left) +  (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 Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) -  (0.2ms) ROLLBACK -  (0.2ms) ROLLBACK -  (0.2ms) BEGIN -  (0.1ms) BEGIN +  (0.2ms) 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 + Rendering text template Rendered text template (0.0ms) -Completed 503 Service Unavailable in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms) -  (0.2ms) ROLLBACK -  (0.7ms) ROLLBACK -  (0.1ms) BEGIN -  (0.2ms) BEGIN +Completed 503 Service Unavailable in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) +  (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 + Rendering text template Rendered text template (0.0ms) Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) -  (0.1ms) ROLLBACK -  (0.2ms) ROLLBACK -  (0.2ms) BEGIN -  (0.2ms) BEGIN +  (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 + Rendering text template Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) -  (0.1ms) ROLLBACK -  (0.2ms) ROLLBACK -  (0.2ms) BEGIN -  (0.1ms) BEGIN +  (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 + Rendering text template Rendered text template (0.0ms) -Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) -  (0.1ms) ROLLBACK -  (0.1ms) ROLLBACK -  (0.1ms) BEGIN -  (0.1ms) BEGIN +Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) +  (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 + Rendering text template 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) BEGIN -  (0.1ms) BEGIN +  (0.1ms) 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.1ms) ROLLBACK -  (0.1ms) BEGIN -  (0.1ms) BEGIN +  (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 +  (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"} -Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) -  (0.1ms) ROLLBACK -  (0.2ms) ROLLBACK -  (0.1ms) BEGIN -  (0.1ms) BEGIN +  (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 +  (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"} - Rendered text template (0.0ms) -Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) -  (0.1ms) ROLLBACK -  (0.1ms) ROLLBACK -  (0.1ms) BEGIN -  (0.1ms) BEGIN +  (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 +--------------------------------------------------------------------- +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 -------------------------------------------------------------------------- +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) 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.2ms) ROLLBACK +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) BEGIN +---------------------------------------------------------------------------------------- +ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_successful_result_on_a_good_run +---------------------------------------------------------------------------------------- +  (0.1ms) ROLLBACK +  (0.1ms) ROLLBACK +  (0.2ms) BEGIN +  (0.2ms) BEGIN +--------------------------------------------------------------------- +MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run +--------------------------------------------------------------------- +  (0.2ms) ROLLBACK +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +  (0.1ms) BEGIN +----------------------------------------------------------------------- +MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run +----------------------------------------------------------------------- +  (0.2ms) ROLLBACK +  (0.1ms) ROLLBACK +  (0.2ms) BEGIN +  (0.2ms) BEGIN +------------------------------------------------------------------ +MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers +------------------------------------------------------------------ +  (0.1ms) ROLLBACK +  (0.2ms) 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 +-------------------------------------------------------------------------------- +SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down +-------------------------------------------------------------------------------- +  (0.3ms) SET NAMES utf8, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 +  (0.1ms) BEGIN +  (0.1ms) ROLLBACK +  (0.2ms) ROLLBACK +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) BEGIN +  (0.1ms) BEGIN +------------------------------------------------------------------------------- +SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down +------------------------------------------------------------------------------- +  (0.3ms) SET NAMES utf8, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 +  (0.1ms) BEGIN +  (0.3ms) ROLLBACK +  (0.2ms) ROLLBACK +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) BEGIN +  (0.1ms) BEGIN +------------------------------------------------------------------------------- +SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run +------------------------------------------------------------------------------- +  (0.2ms) SET NAMES utf8, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 +  (0.1ms) BEGIN +  (0.1ms) ROLLBACK +  (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.2ms) 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 +----------------------------------------------------------------- +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 +-------------------------------------------------------------------------- RepositoryTest: test_adds_checks_marked_critical_to_the_critical_checklist -------------------------------------------------------------------------- -  (0.1ms) ROLLBACK -  (0.2ms) ROLLBACK -  (0.2ms) BEGIN -  (0.2ms) BEGIN +  (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.2ms) BEGIN -  (0.1ms) BEGIN +  (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.2ms) BEGIN -  (0.1ms) BEGIN +  (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.2ms) ROLLBACK -  (0.1ms) ROLLBACK -  (0.2ms) BEGIN -  (0.1ms) BEGIN +  (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) BEGIN -  (0.1ms) BEGIN +  (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) BEGIN -  (0.1ms) BEGIN +  (0.1ms) ROLLBACK +  (0.1ms) ROLLBACK +  (0.1ms) ROLLBACK +  (0.3ms) SET NAMES utf8, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 +  (0.3ms) SET NAMES utf8, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 +  (0.2ms) BEGIN +  (0.2ms) BEGIN -------------------------------------------------------------------------------- SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down -------------------------------------------------------------------------------- -  (0.1ms) ROLLBACK -  (0.1ms) ROLLBACK -  (0.1ms) BEGIN -  (0.1ms) BEGIN -  (0.1ms) BEGIN +  (0.2ms) SET NAMES utf8, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 +  (0.1ms) BEGIN +  (0.1ms) ROLLBACK +  (0.2ms) ROLLBACK +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) BEGIN +  (0.1ms) BEGIN ------------------------------------------------------------------------------- SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down ------------------------------------------------------------------------------- -  (0.1ms) ROLLBACK -  (0.1ms) ROLLBACK -  (0.1ms) BEGIN -  (0.1ms) BEGIN -  (0.1ms) BEGIN +  (0.2ms) SET NAMES utf8, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 +  (0.1ms) BEGIN +  (0.1ms) ROLLBACK +  (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) ROLLBACK -  (0.1ms) ROLLBACK -  (0.1ms) BEGIN -  (0.1ms) BEGIN -  (0.1ms) BEGIN +  (0.2ms) SET NAMES utf8, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 +  (0.1ms) BEGIN +  (0.1ms) ROLLBACK +  (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) 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 ---------------------------------------------------------------------- -ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass ---------------------------------------------------------------------- -  (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 ------------------------------------------------------------------------------------- -Dalli::Server#connect 127.0.0.1:11211 -127.0.0.1:11211 failed (count: 0) Errno::ECONNREFUSED: Connection refused - connect(2) for "127.0.0.1" port 11211 -Dalli::Server#connect 127.0.0.1:11211 -127.0.0.1:11211 failed (count: 1) Errno::ECONNREFUSED: Connection refused - connect(2) for "127.0.0.1" port 11211 -127.0.0.1:11211 is down -  (0.3ms) ROLLBACK -  (0.3ms) ROLLBACK -  (0.3ms) ROLLBACK -  (0.3ms) BEGIN -  (0.3ms) BEGIN -  (0.2ms) BEGIN ------------------------------------------------------------------ -ChecklistTest: test_#success?_returns_false_when_results_is_empty ------------------------------------------------------------------ -  (0.2ms) ROLLBACK -  (0.2ms) ROLLBACK -  (0.2ms) ROLLBACK -  (0.1ms) BEGIN -  (0.2ms) BEGIN -  (0.2ms) BEGIN ---------------------------------------------------------- -ChecklistTest: test_#timing_is_a_sum_of_all_check_results ---------------------------------------------------------- -  (0.1ms) ROLLBACK -  (0.2ms) ROLLBACK -  (0.2ms) ROLLBACK -  (0.2ms) BEGIN -  (0.2ms) BEGIN -  (0.2ms) BEGIN -------------------------------------------------------------------------- -ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist -------------------------------------------------------------------------- -  (0.2ms) ROLLBACK -  (0.2ms) 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.2ms) 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.2ms) ROLLBACK -  (0.1ms) ROLLBACK -  (0.1ms) ROLLBACK -  (0.1ms) BEGIN -  (0.1ms) BEGIN -  (0.1ms) BEGIN ------------------------------------------- -ChecklistTest: test_it_will_run_each_check ------------------------------------------- -down_retry_delay not reached for 127.0.0.1:11211 (0.972 seconds left) -down_retry_delay not reached for 127.0.0.1:11211 (0.972 seconds left) -  (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.2ms) BEGIN -  (0.1ms) BEGIN -  (0.1ms) BEGIN +  (0.1ms) ROLLBACK +  (0.2ms) 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 +  (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) ROLLBACK -  (0.1ms) ROLLBACK -  (0.1ms) ROLLBACK -  (0.1ms) BEGIN -  (0.1ms) BEGIN -  (0.1ms) BEGIN +  (0.1ms) ROLLBACK +  (0.1ms) 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.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 +  (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 ------------------------------------------------------------------ -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 ---------------------------------------------------------------------- -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 +  (0.1ms) ROLLBACK +  (0.1ms) ROLLBACK +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.3ms) 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 --------------------------------------------------------- -MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache +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 +  (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 ---------------------------------------------------------------- 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 +  (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 +  (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 +  (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 -  (0.2ms) BEGIN ----------------------------------------------------------------------------- -TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run ----------------------------------------------------------------------------- -  (0.2ms) ROLLBACK -  (0.2ms) ROLLBACK -  (0.2ms) BEGIN -  (0.2ms) BEGIN ------------------------------------------------------------------------------- -TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run ------------------------------------------------------------------------------- -  (0.2ms) ROLLBACK -  (0.2ms) ROLLBACK -  (0.2ms) BEGIN -  (0.2ms) BEGIN ---------------------------------------------------------------------- -SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run ---------------------------------------------------------------------- -  (0.2ms) ROLLBACK -  (0.1ms) ROLLBACK -  (0.2ms) BEGIN -  (0.2ms) BEGIN ------------------------------------------------------------------------ -SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run ------------------------------------------------------------------------ -  (0.2ms) ROLLBACK -  (0.1ms) ROLLBACK -  (0.2ms) BEGIN -  (0.2ms) BEGIN +  (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 -Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) -  (0.2ms) ROLLBACK -  (0.2ms) ROLLBACK -  (0.1ms) BEGIN -  (0.1ms) BEGIN +  (0.1ms) ROLLBACK +  (0.1ms) ROLLBACK +  (0.1ms) 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 - Rendered text template (0.0ms) -Completed 503 Service Unavailable in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms) -  (0.1ms) ROLLBACK -  (0.2ms) ROLLBACK -  (0.1ms) BEGIN -  (0.1ms) BEGIN +  (0.1ms) 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.2ms) ROLLBACK -  (0.2ms) ROLLBACK -  (0.1ms) BEGIN -  (0.2ms) BEGIN +  (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 - Rendered text template (0.0ms) -Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) -  (0.1ms) ROLLBACK -  (0.1ms) ROLLBACK -  (0.1ms) BEGIN -  (0.1ms) BEGIN +  (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 - Rendered text template (0.0ms) -Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) -  (0.1ms) ROLLBACK -  (0.1ms) ROLLBACK -  (0.1ms) BEGIN -  (0.1ms) BEGIN +  (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.2ms) ROLLBACK -  (0.2ms) ROLLBACK -  (0.2ms) BEGIN -  (0.2ms) BEGIN +  (0.1ms) ROLLBACK +  (0.1ms) ROLLBACK +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (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.2ms) BEGIN -  (0.2ms) BEGIN +  (0.1ms) ROLLBACK +  (0.1ms) ROLLBACK +  (0.1ms) ROLLBACK +  (0.2ms) BEGIN +  (0.2ms) 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.2ms) ROLLBACK -  (0.1ms) BEGIN -  (0.1ms) BEGIN +  (0.2ms) ROLLBACK +  (0.2ms) ROLLBACK +  (0.2ms) 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"} -Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) -  (0.1ms) ROLLBACK -  (0.1ms) ROLLBACK -  (0.1ms) BEGIN -  (0.1ms) BEGIN +  (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.1ms) ROLLBACK -  (0.1ms) BEGIN -  (0.1ms) BEGIN +  (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_passes -------------------------------------------------------------- -Processing by Easymon::ChecksController#show as HTML - Parameters: {"check"=>"database"} - Rendered text template (0.0ms) -Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) -  (0.2ms) ROLLBACK -  (0.4ms) ROLLBACK -  (0.2ms) 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) 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) 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 --------------------------------------------------------------------------------- -SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down --------------------------------------------------------------------------------- -  (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) ROLLBACK -  (0.1ms) ROLLBACK -  (0.1ms) BEGIN -  (0.1ms) BEGIN -  (0.1ms) BEGIN -------------------------------------------------------------------------------- -SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run -------------------------------------------------------------------------------- -  (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 +  (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 +  (0.1ms) ROLLBACK +  (0.2ms) 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 +  (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 +  (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 +  (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 +  (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 +  (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 +  (0.1ms) ROLLBACK +  (0.1ms) ROLLBACK +  (0.1ms) ROLLBACK +  (0.2ms) BEGIN +  (0.1ms) BEGIN +  (0.1ms) BEGIN -------------------------------------------------------------------------- -RepositoryTest: test_adds_checks_marked_critical_to_the_critical_checklist +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 --------------------------------------------- -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.3ms) BEGIN -  (0.2ms) BEGIN ---------------------------------------------------------- -RepositoryTest: test_we_can_add_a_check_to_the_repository ---------------------------------------------------------- -  (0.1ms) ROLLBACK -  (0.2ms) ROLLBACK -  (0.1ms) ROLLBACK -  (0.1ms) BEGIN -  (0.2ms) 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 ----------------------------------------------------------------- -HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run ----------------------------------------------------------------- -  (0.2ms) ROLLBACK -  (0.2ms) 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 +  (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) 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 --------------------------------------------------------------------- ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass --------------------------------------------------------------------- -  (0.1ms) ROLLBACK -  (0.1ms) ROLLBACK -  (0.1ms) ROLLBACK -  (0.1ms) BEGIN -  (0.1ms) BEGIN -  (0.1ms) BEGIN +  (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 ------------------------------------------------------------------------------------ Dalli::Server#connect 127.0.0.1:11211 127.0.0.1:11211 failed (count: 0) Errno::ECONNREFUSED: Connection refused - connect(2) for "127.0.0.1" port 11211 Dalli::Server#connect 127.0.0.1:11211 127.0.0.1:11211 failed (count: 1) Errno::ECONNREFUSED: Connection refused - connect(2) for "127.0.0.1" port 11211 127.0.0.1:11211 is down -  (0.3ms) ROLLBACK -  (0.3ms) ROLLBACK -  (0.3ms) ROLLBACK -  (0.2ms) BEGIN -  (0.3ms) BEGIN -  (0.2ms) BEGIN +  (0.3ms) ROLLBACK +  (0.3ms) ROLLBACK +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) BEGIN +  (0.1ms) BEGIN ----------------------------------------------------------------- ChecklistTest: test_#success?_returns_false_when_results_is_empty ----------------------------------------------------------------- -  (0.2ms) ROLLBACK -  (0.2ms) ROLLBACK -  (0.2ms) ROLLBACK -  (0.1ms) BEGIN -  (0.2ms) BEGIN -  (0.2ms) BEGIN +  (0.1ms) ROLLBACK +  (0.1ms) ROLLBACK +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) BEGIN +  (0.1ms) BEGIN --------------------------------------------------------- ChecklistTest: test_#timing_is_a_sum_of_all_check_results --------------------------------------------------------- -  (0.2ms) ROLLBACK -  (0.2ms) ROLLBACK -  (0.2ms) ROLLBACK -  (0.2ms) BEGIN -  (0.1ms) BEGIN -  (0.2ms) BEGIN +  (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) ROLLBACK -  (0.1ms) ROLLBACK -  (0.1ms) ROLLBACK -  (0.1ms) BEGIN -  (0.1ms) BEGIN -  (0.2ms) BEGIN +  (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.2ms) ROLLBACK -  (0.1ms) ROLLBACK -  (0.2ms) BEGIN -  (0.1ms) BEGIN -  (0.1ms) BEGIN +  (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 +  (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.2ms) BEGIN -  (0.1ms) BEGIN -  (0.1ms) BEGIN +  (0.2ms) ROLLBACK +  (0.1ms) ROLLBACK +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) BEGIN +  (0.1ms) BEGIN ------------------------------------------ ChecklistTest: test_it_will_run_each_check ------------------------------------------ -down_retry_delay not reached for 127.0.0.1:11211 (0.979 seconds left) -down_retry_delay not reached for 127.0.0.1:11211 (0.978 seconds left) -  (0.2ms) ROLLBACK -  (0.2ms) ROLLBACK -  (0.1ms) ROLLBACK -  (0.2ms) BEGIN -  (0.1ms) BEGIN +down_retry_delay not reached for 127.0.0.1:11211 (59.977 seconds left) +down_retry_delay not reached for 127.0.0.1:11211 (59.977 seconds left) +  (0.2ms) ROLLBACK +  (0.1ms) ROLLBACK +  (0.1ms) ROLLBACK +  (0.3ms) SET NAMES utf8, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 +  (0.2ms) SET NAMES utf8, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 +  (0.1ms) BEGIN +  (0.2ms) 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.2ms) ROLLBACK +  (0.2ms) BEGIN +  (0.1ms) BEGIN --------------------------------------------------------------------- -ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass +MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run --------------------------------------------------------------------- -  (0.2ms) ROLLBACK -  (0.2ms) ROLLBACK -  (0.2ms) BEGIN -  (0.2ms) BEGIN ------------------------------------------------------------------------------------- -ChecklistTest: test_#response_status_returns_:service_unavailable_when_a_check_fails ------------------------------------------------------------------------------------- -Dalli::Server#connect 127.0.0.1:11211 -127.0.0.1:11211 failed (count: 0) Errno::ECONNREFUSED: Connection refused - connect(2) for "127.0.0.1" port 11211 -Dalli::Server#connect 127.0.0.1:11211 -127.0.0.1:11211 failed (count: 1) Errno::ECONNREFUSED: Connection refused - connect(2) for "127.0.0.1" port 11211 -127.0.0.1:11211 is down -  (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 +  (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.2ms) BEGIN +  (0.1ms) BEGIN --------------------------------------------------------- -ChecklistTest: test_#timing_is_a_sum_of_all_check_results +MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache --------------------------------------------------------- -  (0.2ms) ROLLBACK -  (0.1ms) ROLLBACK -  (0.1ms) BEGIN -  (0.1ms) BEGIN -------------------------------------------------------------------------- -ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist -------------------------------------------------------------------------- -  (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 ------------------------------------------- -down_retry_delay not reached for 127.0.0.1:11211 (0.988 seconds left) -down_retry_delay not reached for 127.0.0.1:11211 (0.987 seconds left) -  (0.1ms) ROLLBACK -  (0.1ms) ROLLBACK -  (0.1ms) BEGIN -  (0.1ms) BEGIN +  (0.2ms) 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 +  (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) 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 --------------------------------------------------------------------------- -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) 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 ----------------------------------------------------------------- -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 ----------------------------------------------------------------------------- -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) 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) ROLLBACK -  (0.1ms) ROLLBACK -  (0.1ms) BEGIN -  (0.1ms) BEGIN -  (0.1ms) BEGIN -------------------------------------------------------------------------------- -SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run -------------------------------------------------------------------------------- -  (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 +  (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 Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) -  (0.1ms) ROLLBACK -  (0.1ms) ROLLBACK -  (0.2ms) ROLLBACK -  (0.1ms) BEGIN -  (0.2ms) BEGIN -  (0.2ms) BEGIN +  (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 + Rendering text template Rendered text template (0.0ms) -Completed 503 Service Unavailable in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms) -  (0.3ms) ROLLBACK -  (0.2ms) ROLLBACK -  (0.3ms) ROLLBACK -  (0.1ms) BEGIN -  (0.1ms) BEGIN -  (0.1ms) BEGIN +Completed 503 Service Unavailable in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) +  (0.2ms) ROLLBACK +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.2ms) BEGIN --------------------------------------------------------------------- Easymon::ChecksControllerTest: test_index_when_a_critical_check_fails --------------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML + Rendering text template 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.2ms) BEGIN -  (0.1ms) BEGIN -  (0.1ms) BEGIN +Completed 503 Service Unavailable in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) +  (0.1ms) ROLLBACK +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) BEGIN ------------------------------------------------------------------------- Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails ------------------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML + Rendering text template Rendered text template (0.0ms) -Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) -  (0.1ms) ROLLBACK -  (0.2ms) ROLLBACK -  (0.1ms) ROLLBACK -  (0.2ms) BEGIN -  (0.1ms) BEGIN -  (0.1ms) BEGIN +Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) +  (0.1ms) ROLLBACK +  (0.1ms) ROLLBACK +  (0.2ms) BEGIN +  (0.1ms) BEGIN -------------------------------------------------------------- Easymon::ChecksControllerTest: test_index_when_all_checks_pass -------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML + Rendering text template Rendered text template (0.0ms) -Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) -  (0.1ms) ROLLBACK -  (0.2ms) ROLLBACK -  (0.2ms) ROLLBACK -  (0.2ms) BEGIN -  (0.2ms) BEGIN -  (0.1ms) BEGIN +Completed 200 OK 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_no_checks_are_defined -------------------------------------------------------------------- Processing by Easymon::ChecksController#index as HTML + Rendering text template Rendered text template (0.0ms) -Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) -  (0.1ms) ROLLBACK -  (0.2ms) ROLLBACK -  (0.1ms) ROLLBACK -  (0.1ms) BEGIN -  (0.1ms) BEGIN -  (0.1ms) BEGIN +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_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.2ms) ROLLBACK -  (0.2ms) ROLLBACK -  (0.1ms) ROLLBACK -  (0.1ms) BEGIN -  (0.1ms) BEGIN -  (0.1ms) BEGIN +  (0.2ms) 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"} + Rendering text template Rendered text template (0.0ms) -Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) -  (0.2ms) ROLLBACK -  (0.2ms) ROLLBACK -  (0.1ms) ROLLBACK -  (0.1ms) BEGIN -  (0.1ms) BEGIN -  (0.1ms) BEGIN +Completed 404 Not Found in 0ms (Views: 0.1ms | 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"} -Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms) -  (0.2ms) ROLLBACK -  (0.2ms) ROLLBACK -  (0.2ms) ROLLBACK -  (0.1ms) BEGIN -  (0.1ms) BEGIN -  (0.1ms) BEGIN +Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) +  (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"} + Rendering text template 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.2ms) BEGIN -  (0.1ms) BEGIN -  (0.2ms) BEGIN +  (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"} + Rendering text template Rendered text template (0.0ms) -Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) -  (0.2ms) ROLLBACK -  (0.2ms) 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.2ms) ROLLBACK -  (0.1ms) ROLLBACK -  (0.2ms) BEGIN -  (0.1ms) BEGIN -  (0.2ms) BEGIN -------------------------------------------------------------------- -RedisCheckTest: test_#run_sets_success_conditions_on_successful_run -------------------------------------------------------------------- -  (0.1ms) ROLLBACK -  (0.1ms) ROLLBACK -  (0.2ms) ROLLBACK -  (0.1ms) BEGIN -  (0.1ms) BEGIN -  (0.1ms) BEGIN ------------------------------------------- -RedisCheckTest: test_given_nil_as_a_config ------------------------------------------- -  (0.1ms) ROLLBACK -  (0.2ms) ROLLBACK -  (0.2ms) ROLLBACK -  (0.1ms) BEGIN -  (0.1ms) BEGIN -  (0.2ms) BEGIN ---------------------------------------------------------------------- -MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run ---------------------------------------------------------------------- -  (0.1ms) ROLLBACK -  (0.1ms) ROLLBACK -  (0.1ms) ROLLBACK -  (0.2ms) BEGIN -  (0.1ms) BEGIN -  (0.2ms) BEGIN ------------------------------------------------------------------------ -MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run ------------------------------------------------------------------------ -  (0.1ms) ROLLBACK -  (0.2ms) ROLLBACK -  (0.1ms) ROLLBACK -  (0.1ms) BEGIN -  (0.1ms) BEGIN -  (0.1ms) BEGIN +Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) +  (0.1ms) ROLLBACK +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) BEGIN +-------------------------------------------------------------------------------- +SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down +-------------------------------------------------------------------------------- +  (0.2ms) SET NAMES utf8, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 +  (0.1ms) BEGIN +  (0.1ms) ROLLBACK +  (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.3ms) SET NAMES utf8, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 +  (0.1ms) BEGIN +  (0.1ms) ROLLBACK +  (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.2ms) SET NAMES utf8, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK +  (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 +---------------------------------------------------------------- +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 ------------------------------------------------------------------ -MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers +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.2ms) BEGIN ---------------------------------------------------------- -MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache ---------------------------------------------------------- -  (0.2ms) ROLLBACK -  (0.1ms) ROLLBACK -  (0.1ms) ROLLBACK -  (0.1ms) BEGIN -  (0.1ms) BEGIN -  (0.1ms) BEGIN +  (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 -------------------------------------------------------------------------- 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 +  (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 +  (0.1ms) ROLLBACK +  (0.1ms) ROLLBACK +  (0.1ms) ROLLBACK +  (0.2ms) BEGIN +  (0.2ms) 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 +  (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 +  (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 +  (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) 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) 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 +------------------------------------------------------------------------------------ +Dalli::Server#connect 127.0.0.1:11211 +127.0.0.1:11211 failed (count: 0) Errno::ECONNREFUSED: Connection refused - connect(2) for "127.0.0.1" port 11211 +Dalli::Server#connect 127.0.0.1:11211 +127.0.0.1:11211 failed (count: 1) Errno::ECONNREFUSED: Connection refused - connect(2) for "127.0.0.1" port 11211 +127.0.0.1:11211 is down +  (0.3ms) ROLLBACK +  (0.3ms) ROLLBACK +  (0.3ms) ROLLBACK +  (0.2ms) BEGIN +  (0.2ms) BEGIN +  (0.2ms) BEGIN +----------------------------------------------------------------- +ChecklistTest: test_#success?_returns_false_when_results_is_empty +----------------------------------------------------------------- +  (0.2ms) ROLLBACK +  (0.1ms) ROLLBACK +  (0.1ms) ROLLBACK +  (0.2ms) BEGIN +  (0.1ms) BEGIN +  (0.1ms) BEGIN +--------------------------------------------------------- +ChecklistTest: test_#timing_is_a_sum_of_all_check_results +--------------------------------------------------------- +  (0.2ms) ROLLBACK +  (0.1ms) ROLLBACK +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) BEGIN +  (0.1ms) BEGIN +------------------------------------------------------------------------- +ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist +------------------------------------------------------------------------- +  (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.2ms) 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.2ms) ROLLBACK +  (0.1ms) ROLLBACK +  (0.1ms) ROLLBACK +  (0.2ms) BEGIN +  (0.1ms) BEGIN +  (0.1ms) BEGIN +------------------------------------------ +ChecklistTest: test_it_will_run_each_check +------------------------------------------ +down_retry_delay not reached for 127.0.0.1:11211 (59.977 seconds left) +down_retry_delay not reached for 127.0.0.1:11211 (59.977 seconds left) +  (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 +----------------------------------------------------------------- +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.2ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) BEGIN +  (0.1ms) BEGIN +------------------------------------------ +RedisCheckTest: test_given_nil_as_a_config +------------------------------------------ +  (0.1ms) ROLLBACK +  (0.2ms) 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) 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