test/dummy/log/test.log in easymon-1.2.6 vs test/dummy/log/test.log in easymon-1.3
- old
+ new
@@ -1,430 +1,533 @@
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
+ [1m[35m (18.9ms)[0m [1m[35mCREATE DATABASE `dummy_test` DEFAULT CHARACTER SET `utf8`[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
---------------------------------------------------------------------
-ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass
+MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
---------------------------------------------------------------------
- [1m[36m (0.2ms)[0m [1mSELECT 1[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
-------------------------------------------------------------------------------------
-ChecklistTest: test_#response_status_returns_:service_unavailable_when_a_check_fails
-------------------------------------------------------------------------------------
- [1m[35m (0.2ms)[0m SELECT 1
-Dalli::Server#connect 127.0.0.1:11211
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
------------------------------------------------------------------
-ChecklistTest: test_#success?_returns_false_when_results_is_empty
------------------------------------------------------------------
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------------------------
+MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run
+-----------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------
+MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers
+------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
---------------------------------------------------------
-ChecklistTest: test_#timing_is_a_sum_of_all_check_results
+MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache
---------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
--------------------------------------------------------------------------
-ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist
--------------------------------------------------------------------------
- [1m[36m (0.2ms)[0m [1mSELECT 1[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
-----------------------------------------------
-ChecklistTest: test_can_look_up_checks_by_name
-----------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
----------------------------------------------
-ChecklistTest: test_cat_fetch_a_check_by_name
----------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
--------------------------------------------------------------------
-ChecklistTest: test_it_knows_the_number_of_checks_in_the_Repository
--------------------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
-------------------------------------------
-ChecklistTest: test_it_will_run_each_check
-------------------------------------------
- [1m[35m (0.1ms)[0m SELECT 1
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------------------
+SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
+---------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------------------------
+SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run
+-----------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------------------------------
+ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_failed_result_on_a_failed_run
+--------------------------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------------------
+ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_successful_result_on_a_good_run
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------
+TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run
+----------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------
+TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run
+------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
-----------------------------------------------------------------
RedisCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
-----------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
-------------------------------------------------------------------
RedisCheckTest: test_#run_sets_success_conditions_on_successful_run
-------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
------------------------------------------
RedisCheckTest: test_given_nil_as_a_config
------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
--------------------------------------------------------------------------
+ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run
+--------------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------------------
+ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run
+----------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------
+ActiveRecordCheckTest: test_given_nil_as_a_config
+-------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------------------
RepositoryTest: test_adds_checks_marked_critical_to_the_critical_checklist
--------------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
--------------------------------------------
RepositoryTest: test_fetches_a_check_by_name
--------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
-----------------------------------------------------
RepositoryTest: test_fetches_a_critical_check_by_name
-----------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
---------------------------------------------------
RepositoryTest: test_returns_a_checklist_when_asked
---------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
---------------------------------------------------------
RepositoryTest: test_we_can_add_a_check_to_the_repository
---------------------------------------------------------
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
--------------------------------------------------------------
RepositoryTest: test_we_can_remove_a_check_from_the_repository
--------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
----------------------------------------------------------------------
-SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
----------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
------------------------------------------------------------------------
-SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run
------------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
-----------------------------------------------------------------------------
-TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run
-----------------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
-------------------------------------------------------------------------------
-TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run
-------------------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
---------------------------------------------------------------------------------------
-ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_failed_result_on_a_failed_run
---------------------------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
-----------------------------------------------------------------------------------------
-ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_successful_result_on_a_good_run
-----------------------------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mSELECT 1[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+--------------------------------------------------------------------------------
+SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down
+--------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------------------------------
+SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down
+-------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------------------------------
+SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run
+-------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------
+SplitActiveRecordCheckTest: test_given_nil_as_a_config
+------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
------------------------------------------------------------
Easymon::ChecksControllerTest: test_index_returns_valid_json
------------------------------------------------------------
Processing by Easymon::ChecksController#index as JSON
- [1m[35m (0.2ms)[0m SELECT 1
-Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
------------------------------------------------------------
Easymon::ChecksControllerTest: test_index_when_a_check_fails
------------------------------------------------------------
Processing by Easymon::ChecksController#index as HTML
- [1m[36m (0.1ms)[0m [1mSELECT 1[0m
+ Rendering text template
Rendered text template (0.0ms)
-Completed 503 Service Unavailable in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
+Completed 503 Service Unavailable in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
---------------------------------------------------------------------
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.1ms | ActiveRecord: 0.0ms)
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
+Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
-------------------------------------------------------------------------
Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails
-------------------------------------------------------------------------
Processing by Easymon::ChecksController#index as HTML
- [1m[35m (0.1ms)[0m SELECT 1
+ Rendering text template
Rendered text template (0.0ms)
-Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
--------------------------------------------------------------
Easymon::ChecksControllerTest: test_index_when_all_checks_pass
--------------------------------------------------------------
Processing by Easymon::ChecksController#index as HTML
- [1m[36m (0.2ms)[0m [1mSELECT 1[0m
+ Rendering text template
Rendered text template (0.0ms)
-Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
+Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
--------------------------------------------------------------------
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.1ms | ActiveRecord: 0.0ms)
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
+Completed 503 Service Unavailable in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------------------------
+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)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
------------------------------------------------------------------
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)
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
-------------------------------------------------------------------
Easymon::ChecksControllerTest: test_show_json_when_the_check_passes
-------------------------------------------------------------------
Processing by Easymon::ChecksController#show as JSON
Parameters: {"check"=>"database"}
- [1m[35m (0.1ms)[0m SELECT 1
-Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.1ms)
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
-------------------------------------------------------------
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 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
- [1m[36m (0.3ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
--------------------------------------------------------------
Easymon::ChecksControllerTest: test_show_when_the_check_passes
--------------------------------------------------------------
Processing by Easymon::ChecksController#show as HTML
Parameters: {"check"=>"database"}
- [1m[36m (0.2ms)[0m [1mSELECT 1[0m
+ Rendering text template
Rendered text template (0.0ms)
-Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
+Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
----------------------------------------------------------------
HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
----------------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
------------------------------------------------------------------
HttpCheckTest: test_#run_sets_failure_conditions_on_an_errored_run
------------------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
------------------------------------------------------------------
HttpCheckTest: test_#run_sets_success_conditions_on_successful_run
------------------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
--------------------------------------
HttpCheckTest: test_given_nil_as_a_url
--------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
---------------------------------------------------------------------------------
-SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down
---------------------------------------------------------------------------------
- [1m[35m (0.2ms)[0m SELECT 1
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
--------------------------------------------------------------------------------
-SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down
--------------------------------------------------------------------------------
- [1m[35m (0.1ms)[0m SELECT 1
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
--------------------------------------------------------------------------------
-SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run
--------------------------------------------------------------------------------
- [1m[35m (0.1ms)[0m SELECT 1
- [1m[36m (0.1ms)[0m [1mSELECT 1[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
-------------------------------------------------------
-SplitActiveRecordCheckTest: test_given_nil_as_a_config
-------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
---------------------------------------------------------------------------
-ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run
---------------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
-----------------------------------------------------------------------------
-ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run
-----------------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mSELECT 1[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
--------------------------------------------------
-ActiveRecordCheckTest: test_given_nil_as_a_config
--------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
---------------------------------------------------------------------
+ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass
+---------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+------------------------------------------------------------------------------------
+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
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-----------------------------------------------------------------
+ChecklistTest: test_#success?_returns_false_when_results_is_empty
+-----------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------------------
+ChecklistTest: test_#timing_is_a_sum_of_all_check_results
+---------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------------------------
+ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist
+-------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+----------------------------------------------
+ChecklistTest: test_can_look_up_checks_by_name
+----------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+---------------------------------------------
+ChecklistTest: test_cat_fetch_a_check_by_name
+---------------------------------------------
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+-------------------------------------------------------------------
+ChecklistTest: test_it_knows_the_number_of_checks_in_the_Repository
+-------------------------------------------------------------------
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+------------------------------------------
+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)
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m BEGIN
+---------------------------------------------------------------------
MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
---------------------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
-----------------------------------------------------------------------
MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run
-----------------------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
------------------------------------------------------------------
MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers
------------------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
---------------------------------------------------------
MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache
---------------------------------------------------------
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m BEGIN
+----------------------------------------------------------------
+HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
+----------------------------------------------------------------
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.2ms)[0m [1mBEGIN[0m
[1m[35m (0.2ms)[0m BEGIN
+------------------------------------------------------------------
+HttpCheckTest: test_#run_sets_failure_conditions_on_an_errored_run
+------------------------------------------------------------------
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+------------------------------------------------------------------
+HttpCheckTest: test_#run_sets_success_conditions_on_successful_run
+------------------------------------------------------------------
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+--------------------------------------
+HttpCheckTest: test_given_nil_as_a_url
+--------------------------------------
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
--------------------------------------------------------------------------
RepositoryTest: test_adds_checks_marked_critical_to_the_critical_checklist
--------------------------------------------------------------------------
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m BEGIN
+ [1m[35m (0.1ms)[0m BEGIN
--------------------------------------------
RepositoryTest: test_fetches_a_check_by_name
--------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
-----------------------------------------------------
RepositoryTest: test_fetches_a_critical_check_by_name
-----------------------------------------------------
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
@@ -450,1102 +553,483 @@
--------------------------------------------------------------
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
---------------------------------------------------------------------------------
-SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down
---------------------------------------------------------------------------------
- [1m[36m (0.2ms)[0m [1mSELECT 1[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m BEGIN
--------------------------------------------------------------------------------
-SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down
--------------------------------------------------------------------------------
- [1m[36m (0.2ms)[0m [1mSELECT 1[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
--------------------------------------------------------------------------------
-SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run
--------------------------------------------------------------------------------
- [1m[36m (0.2ms)[0m [1mSELECT 1[0m
- [1m[35m (0.1ms)[0m SELECT 1
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
-------------------------------------------------------
-SplitActiveRecordCheckTest: test_given_nil_as_a_config
-------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
----------------------------------------------------------------------
-MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
----------------------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
------------------------------------------------------------------------
-MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run
------------------------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
-------------------------------------------------------------------
-MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers
-------------------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
----------------------------------------------------------
-MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache
----------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
----------------------------------------------------------------------------
TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run
----------------------------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
------------------------------------------------------------------------------
TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run
------------------------------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
----------------------------------------------------------------------
-SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
----------------------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
------------------------------------------------------------------------
-SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run
------------------------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
---------------------------------------------------------------------------
-ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run
---------------------------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
-----------------------------------------------------------------------------
-ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run
-----------------------------------------------------------------------------
- [1m[35m (0.1ms)[0m SELECT 1
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
--------------------------------------------------
-ActiveRecordCheckTest: test_given_nil_as_a_config
--------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
------------------------------------------------------------------
-RedisCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
--------------------------------------------------------------------
-RedisCheckTest: test_#run_sets_success_conditions_on_successful_run
--------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
-------------------------------------------
-RedisCheckTest: test_given_nil_as_a_config
-------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
---------------------------------------------------------------------------------------
-ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_failed_result_on_a_failed_run
---------------------------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
-----------------------------------------------------------------------------------------
-ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_successful_result_on_a_good_run
-----------------------------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mSELECT 1[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
------------------------------------------------------------
Easymon::ChecksControllerTest: test_index_returns_valid_json
------------------------------------------------------------
Processing by Easymon::ChecksController#index as JSON
- [1m[35m (0.2ms)[0m SELECT 1
-Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
+ [1m[35m (0.2ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
------------------------------------------------------------
Easymon::ChecksControllerTest: test_index_when_a_check_fails
------------------------------------------------------------
Processing by Easymon::ChecksController#index as HTML
- [1m[36m (0.3ms)[0m [1mSELECT 1[0m
Rendered text template (0.0ms)
-Completed 503 Service Unavailable in 2ms (Views: 1.4ms | ActiveRecord: 0.3ms)
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+Completed 503 Service Unavailable in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.2ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
---------------------------------------------------------------------
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)
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m BEGIN
-------------------------------------------------------------------------
Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails
-------------------------------------------------------------------------
Processing by Easymon::ChecksController#index as HTML
- [1m[35m (0.2ms)[0m SELECT 1
Rendered text template (0.0ms)
-Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.2ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
--------------------------------------------------------------
Easymon::ChecksControllerTest: test_index_when_all_checks_pass
--------------------------------------------------------------
Processing by Easymon::ChecksController#index as HTML
- [1m[36m (0.2ms)[0m [1mSELECT 1[0m
Rendered text template (0.0ms)
-Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
- [1m[35m (0.1ms)[0m ROLLBACK
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[35m (0.2ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35m (0.3ms)[0m 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)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m 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)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m 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)
- [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
-------------------------------------------------------------------
Easymon::ChecksControllerTest: test_show_json_when_the_check_passes
-------------------------------------------------------------------
Processing by Easymon::ChecksController#show as JSON
Parameters: {"check"=>"database"}
- [1m[35m (0.2ms)[0m SELECT 1
-Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
+Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
+ [1m[35m (0.2ms)[0m 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)
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
+Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m BEGIN
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m BEGIN
+ [1m[35m (0.1ms)[0m BEGIN
--------------------------------------------------------------
Easymon::ChecksControllerTest: test_show_when_the_check_passes
--------------------------------------------------------------
Processing by Easymon::ChecksController#show as HTML
Parameters: {"check"=>"database"}
- [1m[36m (0.2ms)[0m [1mSELECT 1[0m
Rendered text template (0.0ms)
-Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
+Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
---------------------------------------------------------------------
-ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass
+SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
---------------------------------------------------------------------
- [1m[35m (0.1ms)[0m SELECT 1
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
-------------------------------------------------------------------------------------
-ChecklistTest: test_#response_status_returns_:service_unavailable_when_a_check_fails
-------------------------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mSELECT 1[0m
-Dalli::Server#connect 127.0.0.1:11211
- [1m[35m (0.2ms)[0m ROLLBACK
+-----------------------------------------------------------------------
+SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run
+-----------------------------------------------------------------------
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[35m (0.2ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
------------------------------------------------------------------
-ChecklistTest: test_#success?_returns_false_when_results_is_empty
------------------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
+--------------------------------------------------------------------------
+ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run
+--------------------------------------------------------------------------
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
----------------------------------------------------------
-ChecklistTest: test_#timing_is_a_sum_of_all_check_results
----------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
+----------------------------------------------------------------------------
+ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run
+----------------------------------------------------------------------------
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
--------------------------------------------------------------------------
-ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist
--------------------------------------------------------------------------
- [1m[35m (0.1ms)[0m SELECT 1
+-------------------------------------------------
+ActiveRecordCheckTest: test_given_nil_as_a_config
+-------------------------------------------------
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
-----------------------------------------------
-ChecklistTest: test_can_look_up_checks_by_name
-----------------------------------------------
+--------------------------------------------------------------------------------
+SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down
+--------------------------------------------------------------------------------
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
----------------------------------------------
-ChecklistTest: test_cat_fetch_a_check_by_name
----------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+-------------------------------------------------------------------------------
+SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down
+-------------------------------------------------------------------------------
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
--------------------------------------------------------------------
-ChecklistTest: test_it_knows_the_number_of_checks_in_the_Repository
--------------------------------------------------------------------
+-------------------------------------------------------------------------------
+SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run
+-------------------------------------------------------------------------------
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
-------------------------------------------
-ChecklistTest: test_it_will_run_each_check
-------------------------------------------
- [1m[36m (0.1ms)[0m [1mSELECT 1[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
-----------------------------------------------------------------
-HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
-----------------------------------------------------------------
+------------------------------------------------------
+SplitActiveRecordCheckTest: test_given_nil_as_a_config
+------------------------------------------------------
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
-------------------------------------------------------------------
-HttpCheckTest: test_#run_sets_failure_conditions_on_an_errored_run
-------------------------------------------------------------------
+---------------------------------------------------------------------
+ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass
+---------------------------------------------------------------------
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
-------------------------------------------------------------------
-HttpCheckTest: test_#run_sets_success_conditions_on_successful_run
-------------------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
---------------------------------------
-HttpCheckTest: test_given_nil_as_a_url
---------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.3ms)[0m [1mBEGIN[0m
-----------------------------------------------------------------------------
-TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run
-----------------------------------------------------------------------------
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
-------------------------------------------------------------------------------
-TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run
-------------------------------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
----------------------------------------------------------------------
-ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass
----------------------------------------------------------------------
- [1m[35m (0.3ms)[0m SELECT 1=1
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m BEGIN
------------------------------------------------------------------------------------
ChecklistTest: test_#response_status_returns_:service_unavailable_when_a_check_fails
------------------------------------------------------------------------------------
- [1m[36m (0.2ms)[0m [1mSELECT 1=1[0m
Dalli::Server#connect 127.0.0.1:11211
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
+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
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
-----------------------------------------------------------------
ChecklistTest: test_#success?_returns_false_when_results_is_empty
-----------------------------------------------------------------
[1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.4ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
---------------------------------------------------------
ChecklistTest: test_#timing_is_a_sum_of_all_check_results
---------------------------------------------------------
[1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
-------------------------------------------------------------------------
ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist
-------------------------------------------------------------------------
- [1m[35m (0.2ms)[0m SELECT 1=1
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
----------------------------------------------
ChecklistTest: test_can_look_up_checks_by_name
----------------------------------------------
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
---------------------------------------------
ChecklistTest: test_cat_fetch_a_check_by_name
---------------------------------------------
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
--------------------------------------------------------------------
-ChecklistTest: test_it_knows_the_number_of_checks_in_the_Repository
--------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
-------------------------------------------
-ChecklistTest: test_it_will_run_each_check
-------------------------------------------
- [1m[36m (0.2ms)[0m [1mSELECT 1=1[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
---------------------------------------------------------------------------
-RepositoryTest: test_adds_checks_marked_critical_to_the_critical_checklist
---------------------------------------------------------------------------
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
---------------------------------------------
-RepositoryTest: test_fetches_a_check_by_name
---------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
------------------------------------------------------
-RepositoryTest: test_fetches_a_critical_check_by_name
------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
----------------------------------------------------
-RepositoryTest: test_returns_a_checklist_when_asked
----------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
----------------------------------------------------------
-RepositoryTest: test_we_can_add_a_check_to_the_repository
----------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
---------------------------------------------------------------
-RepositoryTest: test_we_can_remove_a_check_from_the_repository
---------------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
-------------------------------------------------------------
-Easymon::ChecksControllerTest: test_index_returns_valid_json
-------------------------------------------------------------
-Processing by Easymon::ChecksController#index as JSON
- [1m[35m (0.2ms)[0m SELECT 1=1
-Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m BEGIN
-------------------------------------------------------------
-Easymon::ChecksControllerTest: test_index_when_a_check_fails
-------------------------------------------------------------
-Processing by Easymon::ChecksController#index as HTML
- [1m[36m (0.2ms)[0m [1mSELECT 1=1[0m
- Rendered text template (0.0ms)
-Completed 503 Service Unavailable in 5ms (Views: 2.0ms | ActiveRecord: 0.2ms)
- [1m[35m (0.3ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
----------------------------------------------------------------------
-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)
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
--------------------------------------------------------------------------
-Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails
--------------------------------------------------------------------------
-Processing by Easymon::ChecksController#index as HTML
- [1m[35m (0.2ms)[0m SELECT 1=1
- Rendered text template (0.0ms)
-Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
---------------------------------------------------------------
-Easymon::ChecksControllerTest: test_index_when_all_checks_pass
---------------------------------------------------------------
-Processing by Easymon::ChecksController#index as HTML
- [1m[36m (0.2ms)[0m [1mSELECT 1=1[0m
- Rendered text template (0.0ms)
-Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
- [1m[35m (0.2ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
---------------------------------------------------------------------
-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)
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
-----------------------------------------------------------------
-Easymon::ChecksControllerTest: test_return_404_if_not_authorized
-----------------------------------------------------------------
-Processing by Easymon::ChecksController#index as HTML
-Filter chain halted as :authorize_request rendered or redirected
-Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
-Processing by Easymon::ChecksController#show as HTML
- Parameters: {"check"=>"database"}
-Filter chain halted as :authorize_request rendered or redirected
-Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
-------------------------------------------------------------------
-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)
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
-------------------------------------------------------------------
-Easymon::ChecksControllerTest: test_show_json_when_the_check_passes
+ChecklistTest: test_it_knows_the_number_of_checks_in_the_Repository
-------------------------------------------------------------------
-Processing by Easymon::ChecksController#show as JSON
- Parameters: {"check"=>"database"}
- [1m[35m (0.2ms)[0m SELECT 1=1
-Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m 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)
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
---------------------------------------------------------------
-Easymon::ChecksControllerTest: test_show_when_the_check_passes
---------------------------------------------------------------
-Processing by Easymon::ChecksController#show as HTML
- Parameters: {"check"=>"database"}
- [1m[36m (0.2ms)[0m [1mSELECT 1=1[0m
- Rendered text template (0.0ms)
-Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
----------------------------------------------------------------------
-MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
----------------------------------------------------------------------
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
------------------------------------------------------------------------
-MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run
------------------------------------------------------------------------
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
-------------------------------------------------------------------
-MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers
-------------------------------------------------------------------
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
----------------------------------------------------------
-MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache
----------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
---------------------------------------------------------------------------------
-SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down
---------------------------------------------------------------------------------
- [1m[35m (0.2ms)[0m SELECT 1=1
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
--------------------------------------------------------------------------------
-SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down
--------------------------------------------------------------------------------
- [1m[35m (0.2ms)[0m SELECT 1=1
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
--------------------------------------------------------------------------------
-SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run
--------------------------------------------------------------------------------
- [1m[35m (0.1ms)[0m SELECT 1=1
- [1m[36m (0.1ms)[0m [1mSELECT 1=1[0m
+------------------------------------------
+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)
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
-------------------------------------------------------
-SplitActiveRecordCheckTest: test_given_nil_as_a_config
-------------------------------------------------------
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
-----------------------------------------------------------------
-HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
-----------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
-------------------------------------------------------------------
-HttpCheckTest: test_#run_sets_failure_conditions_on_an_errored_run
-------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+--------------------------------------------------------------------------------------
+ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_failed_result_on_a_failed_run
+--------------------------------------------------------------------------------------
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
-------------------------------------------------------------------
-HttpCheckTest: test_#run_sets_success_conditions_on_successful_run
-------------------------------------------------------------------
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
---------------------------------------
-HttpCheckTest: test_given_nil_as_a_url
---------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
---------------------------------------------------------------------------
-ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run
---------------------------------------------------------------------------
+----------------------------------------------------------------------------------------
+ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_successful_result_on_a_good_run
+----------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
-----------------------------------------------------------------------------
-ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run
-----------------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mSELECT 1=1[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
--------------------------------------------------
-ActiveRecordCheckTest: test_given_nil_as_a_config
--------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
-----------------------------------------------------------------
RedisCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
-----------------------------------------------------------------
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
-------------------------------------------------------------------
RedisCheckTest: test_#run_sets_success_conditions_on_successful_run
-------------------------------------------------------------------
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
------------------------------------------
RedisCheckTest: test_given_nil_as_a_config
------------------------------------------
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
----------------------------------------------------------------------
-SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
----------------------------------------------------------------------
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[36m (0.3ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
------------------------------------------------------------------------
-SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run
------------------------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
------------------------------------------------------------
Easymon::ChecksControllerTest: test_index_returns_valid_json
------------------------------------------------------------
Processing by Easymon::ChecksController#index as JSON
- [1m[35m (0.2ms)[0m SELECT 1=1
-Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
------------------------------------------------------------
Easymon::ChecksControllerTest: test_index_when_a_check_fails
------------------------------------------------------------
Processing by Easymon::ChecksController#index as HTML
- [1m[36m (0.2ms)[0m [1mSELECT 1=1[0m
Rendered text template (0.0ms)
-Completed 503 Service Unavailable in 2ms (Views: 1.8ms | ActiveRecord: 0.2ms)
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
+Completed 503 Service Unavailable in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.7ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.2ms)[0m ROLLBACK
[1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m BEGIN
-------------------------------------------------------------------------
Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails
-------------------------------------------------------------------------
Processing by Easymon::ChecksController#index as HTML
- [1m[35m (0.2ms)[0m SELECT 1=1
Rendered text template (0.0ms)
-Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m BEGIN
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
--------------------------------------------------------------
Easymon::ChecksControllerTest: test_index_when_all_checks_pass
--------------------------------------------------------------
Processing by Easymon::ChecksController#index as HTML
- [1m[36m (0.2ms)[0m [1mSELECT 1=1[0m
Rendered text template (0.0ms)
-Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.3ms)[0m [1mBEGIN[0m
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m 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)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
----------------------------------------------------------------
-Easymon::ChecksControllerTest: test_return_404_if_not_authorized
+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)
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
------------------------------------------------------------------
Easymon::ChecksControllerTest: test_show_if_the_check_is_not_found
------------------------------------------------------------------
Processing by Easymon::ChecksController#show as HTML
Parameters: {"check"=>"database"}
Rendered text template (0.0ms)
-Completed 404 Not Found in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
-------------------------------------------------------------------
Easymon::ChecksControllerTest: test_show_json_when_the_check_passes
-------------------------------------------------------------------
Processing by Easymon::ChecksController#show as JSON
Parameters: {"check"=>"database"}
- [1m[35m (0.2ms)[0m SELECT 1=1
-Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
-------------------------------------------------------------
Easymon::ChecksControllerTest: test_show_when_the_check_fails
-------------------------------------------------------------
Processing by Easymon::ChecksController#show as HTML
Parameters: {"check"=>"database"}
Rendered text template (0.0ms)
-Completed 503 Service Unavailable in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
--------------------------------------------------------------
Easymon::ChecksControllerTest: test_show_when_the_check_passes
--------------------------------------------------------------
Processing by Easymon::ChecksController#show as HTML
Parameters: {"check"=>"database"}
- [1m[36m (0.2ms)[0m [1mSELECT 1=1[0m
Rendered text template (0.0ms)
-Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
------------------------------------------------------------------
-RedisCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
------------------------------------------------------------------
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
--------------------------------------------------------------------
-RedisCheckTest: test_#run_sets_success_conditions_on_successful_run
--------------------------------------------------------------------
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
-------------------------------------------
-RedisCheckTest: test_given_nil_as_a_config
-------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
-----------------------------------------------------------------------------
-TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run
-----------------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
-------------------------------------------------------------------------------
-TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run
-------------------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
--------------------------------------------------------------------------
-ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run
---------------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
-----------------------------------------------------------------------------
-ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run
-----------------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mSELECT 1[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
--------------------------------------------------
-ActiveRecordCheckTest: test_given_nil_as_a_config
--------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
---------------------------------------------------------------------------------------
-ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_failed_result_on_a_failed_run
---------------------------------------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
-----------------------------------------------------------------------------------------
-ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_successful_result_on_a_good_run
-----------------------------------------------------------------------------------------
- [1m[35m (0.1ms)[0m SELECT 1
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.4ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
-----------------------------------------------------------------
-HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
-----------------------------------------------------------------
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
-------------------------------------------------------------------
-HttpCheckTest: test_#run_sets_failure_conditions_on_an_errored_run
-------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
-------------------------------------------------------------------
-HttpCheckTest: test_#run_sets_success_conditions_on_successful_run
-------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
---------------------------------------
-HttpCheckTest: test_given_nil_as_a_url
---------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
----------------------------------------------------------------------
-ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass
----------------------------------------------------------------------
- [1m[36m (0.2ms)[0m [1mSELECT 1[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
-------------------------------------------------------------------------------------
-ChecklistTest: test_#response_status_returns_:service_unavailable_when_a_check_fails
-------------------------------------------------------------------------------------
- [1m[35m (0.2ms)[0m SELECT 1
-Dalli::Server#connect 127.0.0.1:11211
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
------------------------------------------------------------------
-ChecklistTest: test_#success?_returns_false_when_results_is_empty
------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
----------------------------------------------------------
-ChecklistTest: test_#timing_is_a_sum_of_all_check_results
----------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
--------------------------------------------------------------------------
-ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist
--------------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mSELECT 1[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
-----------------------------------------------
-ChecklistTest: test_can_look_up_checks_by_name
-----------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
----------------------------------------------
-ChecklistTest: test_cat_fetch_a_check_by_name
----------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
--------------------------------------------------------------------
-ChecklistTest: test_it_knows_the_number_of_checks_in_the_Repository
--------------------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
-------------------------------------------
-ChecklistTest: test_it_will_run_each_check
-------------------------------------------
- [1m[35m (0.1ms)[0m SELECT 1
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
----------------------------------------------------------------------
-MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
----------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
------------------------------------------------------------------------
-MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run
------------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
-------------------------------------------------------------------
-MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers
-------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
----------------------------------------------------------
-MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache
----------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
----------------------------------------------------------------------
-SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
----------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
------------------------------------------------------------------------
-SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run
------------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
---------------------------------------------------------------------------
RepositoryTest: test_adds_checks_marked_critical_to_the_critical_checklist
--------------------------------------------------------------------------
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m BEGIN
--------------------------------------------
RepositoryTest: test_fetches_a_check_by_name
--------------------------------------------
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
-----------------------------------------------------
RepositoryTest: test_fetches_a_critical_check_by_name
-----------------------------------------------------
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
---------------------------------------------------
RepositoryTest: test_returns_a_checklist_when_asked
---------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
---------------------------------------------------------
RepositoryTest: test_we_can_add_a_check_to_the_repository
---------------------------------------------------------
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
@@ -1553,37 +1037,33 @@
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
--------------------------------------------------------------
RepositoryTest: test_we_can_remove_a_check_from_the_repository
--------------------------------------------------------------
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
--------------------------------------------------------------------------------
SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down
--------------------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mSELECT 1[0m
- [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
-------------------------------------------------------------------------------
SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down
-------------------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mSELECT 1[0m
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
-------------------------------------------------------------------------------
SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run
-------------------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mSELECT 1[0m
- [1m[35m (0.1ms)[0m SELECT 1
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
@@ -1594,556 +1074,320 @@
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
-------------------------------------------------------------
-Easymon::ChecksControllerTest: test_index_returns_valid_json
-------------------------------------------------------------
-Processing by Easymon::ChecksController#index as JSON
- [1m[35m (0.3ms)[0m SELECT 1
-Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.3ms)
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+--------------------------------------------------------------------------
+ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run
+--------------------------------------------------------------------------
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.3ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m BEGIN
-------------------------------------------------------------
-Easymon::ChecksControllerTest: test_index_when_a_check_fails
-------------------------------------------------------------
-Processing by Easymon::ChecksController#index as HTML
- [1m[36m (0.3ms)[0m [1mSELECT 1[0m
- Rendered text template (0.0ms)
-Completed 503 Service Unavailable in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms)
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
----------------------------------------------------------------------
-Easymon::ChecksControllerTest: test_index_when_a_critical_check_fails
----------------------------------------------------------------------
-Processing by Easymon::ChecksController#index as HTML
- Rendered text template (0.0ms)
-Completed 503 Service Unavailable in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.3ms)[0m [1mBEGIN[0m
- [1m[35m (0.3ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
--------------------------------------------------------------------------
-Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails
--------------------------------------------------------------------------
-Processing by Easymon::ChecksController#index as HTML
- [1m[35m (0.2ms)[0m SELECT 1
- Rendered text template (0.0ms)
-Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.2ms)
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
---------------------------------------------------------------
-Easymon::ChecksControllerTest: test_index_when_all_checks_pass
---------------------------------------------------------------
-Processing by Easymon::ChecksController#index as HTML
- [1m[36m (0.2ms)[0m [1mSELECT 1[0m
- Rendered text template (0.0ms)
-Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
---------------------------------------------------------------------
-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)
+----------------------------------------------------------------------------
+ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run
+----------------------------------------------------------------------------
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
-------------------------------------------------------------------
-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)
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
--------------------------------------------------------------------
-Easymon::ChecksControllerTest: test_show_json_when_the_check_passes
--------------------------------------------------------------------
-Processing by Easymon::ChecksController#show as JSON
- Parameters: {"check"=>"database"}
- [1m[35m (0.2ms)[0m SELECT 1
-Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+-------------------------------------------------
+ActiveRecordCheckTest: test_given_nil_as_a_config
+-------------------------------------------------
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m 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)
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
---------------------------------------------------------------
-Easymon::ChecksControllerTest: test_show_when_the_check_passes
---------------------------------------------------------------
-Processing by Easymon::ChecksController#show as HTML
- Parameters: {"check"=>"database"}
- [1m[36m (0.2ms)[0m [1mSELECT 1[0m
- Rendered text template (0.0ms)
-Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
- [1m[35m (0.2ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
---------------------------------------------------------------------------
-RepositoryTest: test_adds_checks_marked_critical_to_the_critical_checklist
---------------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
---------------------------------------------
-RepositoryTest: test_fetches_a_check_by_name
---------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
------------------------------------------------------
-RepositoryTest: test_fetches_a_critical_check_by_name
------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
----------------------------------------------------
-RepositoryTest: test_returns_a_checklist_when_asked
----------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
----------------------------------------------------------
-RepositoryTest: test_we_can_add_a_check_to_the_repository
----------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
---------------------------------------------------------------
-RepositoryTest: test_we_can_remove_a_check_from_the_repository
---------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
---------------------------------------------------------------------
ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass
---------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mSELECT 1[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
------------------------------------------------------------------------------------
ChecklistTest: test_#response_status_returns_:service_unavailable_when_a_check_fails
------------------------------------------------------------------------------------
- [1m[35m (0.1ms)[0m SELECT 1
Dalli::Server#connect 127.0.0.1:11211
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
+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
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.3ms)[0m [1mBEGIN[0m
+ [1m[35m (0.3ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
-----------------------------------------------------------------
ChecklistTest: test_#success?_returns_false_when_results_is_empty
-----------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
---------------------------------------------------------
ChecklistTest: test_#timing_is_a_sum_of_all_check_results
---------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
-------------------------------------------------------------------------
ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist
-------------------------------------------------------------------------
- [1m[36m (0.2ms)[0m [1mSELECT 1[0m
[1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
----------------------------------------------
ChecklistTest: test_can_look_up_checks_by_name
----------------------------------------------
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
---------------------------------------------
ChecklistTest: test_cat_fetch_a_check_by_name
---------------------------------------------
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
-------------------------------------------------------------------
ChecklistTest: test_it_knows_the_number_of_checks_in_the_Repository
-------------------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[35m (0.2ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
------------------------------------------
ChecklistTest: test_it_will_run_each_check
------------------------------------------
- [1m[35m (0.1ms)[0m SELECT 1
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
-----------------------------------------------------------------
-HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
-----------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+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)
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.3ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
-------------------------------------------------------------------
-HttpCheckTest: test_#run_sets_failure_conditions_on_an_errored_run
-------------------------------------------------------------------
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
-------------------------------------------------------------------
-HttpCheckTest: test_#run_sets_success_conditions_on_successful_run
-------------------------------------------------------------------
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m BEGIN
---------------------------------------
-HttpCheckTest: test_given_nil_as_a_url
---------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
---------------------------------------------------------------------
SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
---------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
-----------------------------------------------------------------------
SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run
-----------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
--------------------------------------------------------------------------------------
ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_failed_result_on_a_failed_run
--------------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
----------------------------------------------------------------------------------------
ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_successful_result_on_a_good_run
----------------------------------------------------------------------------------------
- [1m[36m (0.2ms)[0m [1mSELECT 1[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
---------------------------------------------------------------------------
-ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run
---------------------------------------------------------------------------
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
----------------------------------------------------------------------------
-ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run
+TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run
----------------------------------------------------------------------------
- [1m[35m (0.1ms)[0m SELECT 1
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
--------------------------------------------------
-ActiveRecordCheckTest: test_given_nil_as_a_config
--------------------------------------------------
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
-------------------------------------------------------------
-Easymon::ChecksControllerTest: test_index_returns_valid_json
-------------------------------------------------------------
-Processing by Easymon::ChecksController#index as JSON
- [1m[36m (0.1ms)[0m [1mSELECT 1[0m
-Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+------------------------------------------------------------------------------
+TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run
+------------------------------------------------------------------------------
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
-------------------------------------------------------------
-Easymon::ChecksControllerTest: test_index_when_a_check_fails
-------------------------------------------------------------
-Processing by Easymon::ChecksController#index as HTML
- [1m[35m (0.1ms)[0m SELECT 1
- Rendered text template (0.0ms)
-Completed 503 Service Unavailable in 2ms (Views: 1.4ms | ActiveRecord: 0.1ms)
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m 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)
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
--------------------------------------------------------------------------
-Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails
--------------------------------------------------------------------------
-Processing by Easymon::ChecksController#index as HTML
- [1m[36m (0.2ms)[0m [1mSELECT 1[0m
- Rendered text template (0.0ms)
-Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
---------------------------------------------------------------
-Easymon::ChecksControllerTest: test_index_when_all_checks_pass
---------------------------------------------------------------
-Processing by Easymon::ChecksController#index as HTML
- [1m[35m (0.2ms)[0m SELECT 1
- Rendered text template (0.0ms)
-Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+-----------------------------------------------------------------
+RedisCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
+-----------------------------------------------------------------
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m 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)
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
-------------------------------------------------------------------
-Easymon::ChecksControllerTest: test_show_json_when_the_check_passes
+RedisCheckTest: test_#run_sets_success_conditions_on_successful_run
-------------------------------------------------------------------
-Processing by Easymon::ChecksController#show as JSON
- Parameters: {"check"=>"database"}
- [1m[36m (0.1ms)[0m [1mSELECT 1[0m
-Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.1ms)
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
--------------------------------------------------------------
-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)
- [1m[35m (0.2ms)[0m ROLLBACK
+------------------------------------------
+RedisCheckTest: test_given_nil_as_a_config
+------------------------------------------
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
---------------------------------------------------------------
-Easymon::ChecksControllerTest: test_show_when_the_check_passes
---------------------------------------------------------------
-Processing by Easymon::ChecksController#show as HTML
- Parameters: {"check"=>"database"}
- [1m[35m (0.2ms)[0m SELECT 1
- Rendered text template (0.0ms)
-Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
---------------------------------------------------------------------
MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
---------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
-----------------------------------------------------------------------
MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run
-----------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
------------------------------------------------------------------
MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers
------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
---------------------------------------------------------
MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache
---------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
-----------------------------------------------------------------------------
-TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run
-----------------------------------------------------------------------------
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
-------------------------------------------------------------------------------
-TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run
-------------------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
---------------------------------------------------------------------------------
-SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down
---------------------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mSELECT 1[0m
+----------------------------------------------------------------
+HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
+----------------------------------------------------------------
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
--------------------------------------------------------------------------------
-SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down
--------------------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mSELECT 1[0m
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
--------------------------------------------------------------------------------
-SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run
--------------------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mSELECT 1[0m
- [1m[35m (0.1ms)[0m SELECT 1
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
-------------------------------------------------------
-SplitActiveRecordCheckTest: test_given_nil_as_a_config
-------------------------------------------------------
+------------------------------------------------------------------
+HttpCheckTest: test_#run_sets_failure_conditions_on_an_errored_run
+------------------------------------------------------------------
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
------------------------------------------------------------------
-RedisCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
------------------------------------------------------------------
+------------------------------------------------------------------
+HttpCheckTest: test_#run_sets_success_conditions_on_successful_run
+------------------------------------------------------------------
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
--------------------------------------------------------------------
-RedisCheckTest: test_#run_sets_success_conditions_on_successful_run
--------------------------------------------------------------------
+--------------------------------------
+HttpCheckTest: test_given_nil_as_a_url
+--------------------------------------
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
-------------------------------------------
-RedisCheckTest: test_given_nil_as_a_config
-------------------------------------------
+ [1m[36m (0.3ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m BEGIN
+----------------------------------------------------------------------------
+TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run
+----------------------------------------------------------------------------
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m BEGIN
+------------------------------------------------------------------------------
+TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run
+------------------------------------------------------------------------------
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m BEGIN
+---------------------------------------------------------------------
+SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
+---------------------------------------------------------------------
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m BEGIN
+-----------------------------------------------------------------------
+SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run
+-----------------------------------------------------------------------
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
+ [1m[35m (0.2ms)[0m BEGIN
------------------------------------------------------------
Easymon::ChecksControllerTest: test_index_returns_valid_json
------------------------------------------------------------
Processing by Easymon::ChecksController#index as JSON
- [1m[36m (0.3ms)[0m [1mSELECT 1[0m
-Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.3ms)
- [1m[35m (0.2ms)[0m ROLLBACK
+Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
+ [1m[35m (0.2ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
------------------------------------------------------------
Easymon::ChecksControllerTest: test_index_when_a_check_fails
------------------------------------------------------------
Processing by Easymon::ChecksController#index as HTML
- [1m[35m (0.2ms)[0m SELECT 1
Rendered text template (0.0ms)
-Completed 503 Service Unavailable in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms)
+Completed 503 Service Unavailable in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.2ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
---------------------------------------------------------------------
@@ -2151,214 +1395,225 @@
---------------------------------------------------------------------
Processing by Easymon::ChecksController#index as HTML
Rendered text template (0.0ms)
Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[35m (0.2ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
+ [1m[35m (0.2ms)[0m BEGIN
-------------------------------------------------------------------------
Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails
-------------------------------------------------------------------------
Processing by Easymon::ChecksController#index as HTML
- [1m[36m (0.1ms)[0m [1mSELECT 1[0m
Rendered text template (0.0ms)
-Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
- [1m[35m (0.1ms)[0m ROLLBACK
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
--------------------------------------------------------------
Easymon::ChecksControllerTest: test_index_when_all_checks_pass
--------------------------------------------------------------
Processing by Easymon::ChecksController#index as HTML
- [1m[35m (0.2ms)[0m SELECT 1
Rendered text template (0.0ms)
-Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
+Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
--------------------------------------------------------------------
Easymon::ChecksControllerTest: test_index_when_no_checks_are_defined
--------------------------------------------------------------------
Processing by Easymon::ChecksController#index as HTML
Rendered text template (0.0ms)
-Completed 503 Service Unavailable in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
+Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m 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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[35m (0.2ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
-------------------------------------------------------------------
Easymon::ChecksControllerTest: test_show_json_when_the_check_passes
-------------------------------------------------------------------
Processing by Easymon::ChecksController#show as JSON
Parameters: {"check"=>"database"}
- [1m[36m (0.1ms)[0m [1mSELECT 1[0m
-Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
- [1m[35m (0.1ms)[0m ROLLBACK
+Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m 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)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
--------------------------------------------------------------
Easymon::ChecksControllerTest: test_show_when_the_check_passes
--------------------------------------------------------------
Processing by Easymon::ChecksController#show as HTML
Parameters: {"check"=>"database"}
- [1m[35m (0.2ms)[0m SELECT 1
Rendered text template (0.0ms)
-Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[35m (0.4ms)[0m ROLLBACK
[1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m BEGIN
+ [1m[35m (0.1ms)[0m BEGIN
+--------------------------------------------------------------------------------------
+ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_failed_result_on_a_failed_run
+--------------------------------------------------------------------------------------
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+----------------------------------------------------------------------------------------
+ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_successful_result_on_a_good_run
+----------------------------------------------------------------------------------------
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
--------------------------------------------------------------------------
ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run
--------------------------------------------------------------------------
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
----------------------------------------------------------------------------
ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run
----------------------------------------------------------------------------
- [1m[36m (0.2ms)[0m [1mSELECT 1[0m
- [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
-------------------------------------------------
ActiveRecordCheckTest: test_given_nil_as_a_config
-------------------------------------------------
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+--------------------------------------------------------------------------------
+SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down
+--------------------------------------------------------------------------------
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
+-------------------------------------------------------------------------------
+SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down
+-------------------------------------------------------------------------------
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+-------------------------------------------------------------------------------
+SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run
+-------------------------------------------------------------------------------
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+------------------------------------------------------
+SplitActiveRecordCheckTest: test_given_nil_as_a_config
+------------------------------------------------------
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
---------------------------------------------------------------------
MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
---------------------------------------------------------------------
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
-----------------------------------------------------------------------
MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run
-----------------------------------------------------------------------
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
------------------------------------------------------------------
MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers
------------------------------------------------------------------
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
---------------------------------------------------------
MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache
---------------------------------------------------------
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
-----------------------------------------------------------------------------
-TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run
-----------------------------------------------------------------------------
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
-------------------------------------------------------------------------------
-TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run
-------------------------------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
---------------------------------------------------------------------------------------
-ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_failed_result_on_a_failed_run
---------------------------------------------------------------------------------------
+-----------------------------------------------------------------
+RedisCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
+-----------------------------------------------------------------
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
-----------------------------------------------------------------------------------------
-ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_successful_result_on_a_good_run
-----------------------------------------------------------------------------------------
- [1m[35m (0.1ms)[0m SELECT 1
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
----------------------------------------------------------------------
-SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
----------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
------------------------------------------------------------------------
-SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run
------------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+-------------------------------------------------------------------
+RedisCheckTest: test_#run_sets_success_conditions_on_successful_run
+-------------------------------------------------------------------
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
---------------------------------------------------------------------------------
-SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down
---------------------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mSELECT 1[0m
- [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
--------------------------------------------------------------------------------
-SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down
--------------------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mSELECT 1[0m
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
--------------------------------------------------------------------------------
-SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run
--------------------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mSELECT 1[0m
- [1m[35m (0.1ms)[0m SELECT 1
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
-------------------------------------------------------
-SplitActiveRecordCheckTest: test_given_nil_as_a_config
-------------------------------------------------------
+------------------------------------------
+RedisCheckTest: test_given_nil_as_a_config
+------------------------------------------
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
@@ -2395,63 +1650,36 @@
---------------------------------------------------
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.3ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
---------------------------------------------------------
RepositoryTest: test_we_can_add_a_check_to_the_repository
---------------------------------------------------------
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
+ [1m[35m (0.2ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
--------------------------------------------------------------
RepositoryTest: test_we_can_remove_a_check_from_the_repository
--------------------------------------------------------------
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
------------------------------------------------------------------
-RedisCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
------------------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
--------------------------------------------------------------------
-RedisCheckTest: test_#run_sets_success_conditions_on_successful_run
--------------------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
-------------------------------------------
-RedisCheckTest: test_given_nil_as_a_config
-------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
----------------------------------------------------------------
HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
----------------------------------------------------------------
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
------------------------------------------------------------------
HttpCheckTest: test_#run_sets_failure_conditions_on_an_errored_run
@@ -2481,320 +1709,130 @@
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
---------------------------------------------------------------------
ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass
---------------------------------------------------------------------
- [1m[35m (0.1ms)[0m SELECT 1
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
------------------------------------------------------------------------------------
ChecklistTest: test_#response_status_returns_:service_unavailable_when_a_check_fails
------------------------------------------------------------------------------------
- [1m[36m (0.2ms)[0m [1mSELECT 1[0m
Dalli::Server#connect 127.0.0.1:11211
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
+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
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35m (0.3ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
-----------------------------------------------------------------
ChecklistTest: test_#success?_returns_false_when_results_is_empty
-----------------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
---------------------------------------------------------
ChecklistTest: test_#timing_is_a_sum_of_all_check_results
---------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
-------------------------------------------------------------------------
ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist
-------------------------------------------------------------------------
- [1m[35m (0.1ms)[0m SELECT 1
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
----------------------------------------------
ChecklistTest: test_can_look_up_checks_by_name
----------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
---------------------------------------------
ChecklistTest: test_cat_fetch_a_check_by_name
---------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
-------------------------------------------------------------------
ChecklistTest: test_it_knows_the_number_of_checks_in_the_Repository
-------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
------------------------------------------
ChecklistTest: test_it_will_run_each_check
------------------------------------------
- [1m[36m (0.1ms)[0m [1mSELECT 1[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
---------------------------------------------------------------------------------------
-ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_failed_result_on_a_failed_run
---------------------------------------------------------------------------------------
+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)
+ [1m[35m (0.2ms)[0m ROLLBACK
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.2ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
-----------------------------------------------------------------------------------------
-ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_successful_result_on_a_good_run
-----------------------------------------------------------------------------------------
- [1m[36m (0.2ms)[0m [1mSELECT 1[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
---------------------------------------------------------------------
-MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
+ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass
---------------------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
------------------------------------------------------------------------
-MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run
------------------------------------------------------------------------
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
-------------------------------------------------------------------
-MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers
-------------------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
----------------------------------------------------------
-MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache
----------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
-----------------------------------------------------------------
-HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
-----------------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
-------------------------------------------------------------------
-HttpCheckTest: test_#run_sets_failure_conditions_on_an_errored_run
-------------------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
-------------------------------------------------------------------
-HttpCheckTest: test_#run_sets_success_conditions_on_successful_run
-------------------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
---------------------------------------
-HttpCheckTest: test_given_nil_as_a_url
---------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
-------------------------------------------------------------
-Easymon::ChecksControllerTest: test_index_returns_valid_json
-------------------------------------------------------------
-Processing by Easymon::ChecksController#index as JSON
- [1m[35m (0.3ms)[0m SELECT 1
-Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.3ms)
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.2ms)[0m ROLLBACK
[1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
-------------------------------------------------------------
-Easymon::ChecksControllerTest: test_index_when_a_check_fails
-------------------------------------------------------------
-Processing by Easymon::ChecksController#index as HTML
- [1m[36m (0.2ms)[0m [1mSELECT 1[0m
- Rendered text template (0.0ms)
-Completed 503 Service Unavailable in 2ms (Views: 1.2ms | ActiveRecord: 0.2ms)
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
----------------------------------------------------------------------
-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)
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
--------------------------------------------------------------------------
-Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails
--------------------------------------------------------------------------
-Processing by Easymon::ChecksController#index as HTML
- [1m[35m (0.2ms)[0m SELECT 1
- Rendered text template (0.0ms)
-Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
---------------------------------------------------------------
-Easymon::ChecksControllerTest: test_index_when_all_checks_pass
---------------------------------------------------------------
-Processing by Easymon::ChecksController#index as HTML
- [1m[36m (0.2ms)[0m [1mSELECT 1[0m
- Rendered text template (0.0ms)
-Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
---------------------------------------------------------------------
-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)
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
-----------------------------------------------------------------
-Easymon::ChecksControllerTest: test_return_404_if_not_authorized
-----------------------------------------------------------------
-Processing by Easymon::ChecksController#index as HTML
-Filter chain halted as :authorize_request rendered or redirected
-Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
-Processing by Easymon::ChecksController#show as HTML
- Parameters: {"check"=>"database"}
-Filter chain halted as :authorize_request rendered or redirected
-Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
-------------------------------------------------------------------
-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)
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
--------------------------------------------------------------------
-Easymon::ChecksControllerTest: test_show_json_when_the_check_passes
--------------------------------------------------------------------
-Processing by Easymon::ChecksController#show as JSON
- Parameters: {"check"=>"database"}
- [1m[35m (0.2ms)[0m SELECT 1
-Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.3ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m 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)
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
---------------------------------------------------------------
-Easymon::ChecksControllerTest: test_show_when_the_check_passes
---------------------------------------------------------------
-Processing by Easymon::ChecksController#show as HTML
- Parameters: {"check"=>"database"}
- [1m[36m (0.2ms)[0m [1mSELECT 1[0m
- Rendered text template (0.0ms)
-Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
----------------------------------------------------------------------
-ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass
----------------------------------------------------------------------
- [1m[35m (0.1ms)[0m SELECT 1
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
------------------------------------------------------------------------------------
ChecklistTest: test_#response_status_returns_:service_unavailable_when_a_check_fails
------------------------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mSELECT 1[0m
Dalli::Server#connect 127.0.0.1:11211
- [1m[35m (0.2ms)[0m ROLLBACK
+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
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
+ [1m[35m (0.2ms)[0m ROLLBACK
[1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
-----------------------------------------------------------------
ChecklistTest: test_#success?_returns_false_when_results_is_empty
-----------------------------------------------------------------
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
---------------------------------------------------------
ChecklistTest: test_#timing_is_a_sum_of_all_check_results
---------------------------------------------------------
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
-------------------------------------------------------------------------
ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist
-------------------------------------------------------------------------
- [1m[35m (0.1ms)[0m SELECT 1
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
----------------------------------------------
@@ -2819,103 +1857,54 @@
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
------------------------------------------
ChecklistTest: test_it_will_run_each_check
------------------------------------------
- [1m[36m (0.1ms)[0m [1mSELECT 1[0m
- [1m[35m (0.1ms)[0m ROLLBACK
+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)
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
----------------------------------------------------------------------
-SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
----------------------------------------------------------------------
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
------------------------------------------------------------------------
-SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run
------------------------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
---------------------------------------------------------------------------
-RepositoryTest: test_adds_checks_marked_critical_to_the_critical_checklist
---------------------------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
+--------------------------------------------------------------------------------------
+ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_failed_result_on_a_failed_run
+--------------------------------------------------------------------------------------
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
---------------------------------------------
-RepositoryTest: test_fetches_a_check_by_name
---------------------------------------------
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
------------------------------------------------------
-RepositoryTest: test_fetches_a_critical_check_by_name
------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
----------------------------------------------------
-RepositoryTest: test_returns_a_checklist_when_asked
----------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
+----------------------------------------------------------------------------------------
+ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_successful_result_on_a_good_run
+----------------------------------------------------------------------------------------
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
----------------------------------------------------------
-RepositoryTest: test_we_can_add_a_check_to_the_repository
----------------------------------------------------------
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
---------------------------------------------------------------
-RepositoryTest: test_we_can_remove_a_check_from_the_repository
---------------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
------------------------------------------------------------------
-RedisCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
------------------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
+---------------------------------------------------------------------
+SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
+---------------------------------------------------------------------
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
--------------------------------------------------------------------
-RedisCheckTest: test_#run_sets_success_conditions_on_successful_run
--------------------------------------------------------------------
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
-------------------------------------------
-RedisCheckTest: test_given_nil_as_a_config
-------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
+-----------------------------------------------------------------------
+SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run
+-----------------------------------------------------------------------
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
--------------------------------------------------------------------------
ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run
--------------------------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
----------------------------------------------------------------------------
ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run
----------------------------------------------------------------------------
- [1m[35m (0.1ms)[0m SELECT 1
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
-------------------------------------------------
@@ -2923,969 +1912,332 @@
-------------------------------------------------
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
-----------------------------------------------------------------------------
-TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run
-----------------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
-------------------------------------------------------------------------------
-TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run
-------------------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
---------------------------------------------------------------------------------
-SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down
---------------------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mSELECT 1[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
--------------------------------------------------------------------------------
-SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down
--------------------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mSELECT 1[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
--------------------------------------------------------------------------------
-SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run
--------------------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mSELECT 1[0m
- [1m[35m (0.1ms)[0m SELECT 1
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
-------------------------------------------------------
-SplitActiveRecordCheckTest: test_given_nil_as_a_config
-------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m BEGIN
----------------------------------------------------------------
HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
----------------------------------------------------------------
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
------------------------------------------------------------------
HttpCheckTest: test_#run_sets_failure_conditions_on_an_errored_run
------------------------------------------------------------------
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
------------------------------------------------------------------
HttpCheckTest: test_#run_sets_success_conditions_on_successful_run
------------------------------------------------------------------
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
--------------------------------------
HttpCheckTest: test_given_nil_as_a_url
--------------------------------------
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
---------------------------------------------------------------------------------------
-ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_failed_result_on_a_failed_run
---------------------------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
-----------------------------------------------------------------------------------------
-ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_successful_result_on_a_good_run
-----------------------------------------------------------------------------------------
- [1m[36m (0.2ms)[0m [1mSELECT 1[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
----------------------------------------------------------------------------
TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run
----------------------------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
------------------------------------------------------------------------------
TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run
------------------------------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
------------------------------------------------------------------
-RedisCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
------------------------------------------------------------------
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
--------------------------------------------------------------------
-RedisCheckTest: test_#run_sets_success_conditions_on_successful_run
--------------------------------------------------------------------
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
-------------------------------------------
-RedisCheckTest: test_given_nil_as_a_config
-------------------------------------------
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
---------------------------------------------------------------------------
-RepositoryTest: test_adds_checks_marked_critical_to_the_critical_checklist
---------------------------------------------------------------------------
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
---------------------------------------------
-RepositoryTest: test_fetches_a_check_by_name
---------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
------------------------------------------------------
-RepositoryTest: test_fetches_a_critical_check_by_name
------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
----------------------------------------------------
-RepositoryTest: test_returns_a_checklist_when_asked
----------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
----------------------------------------------------------
-RepositoryTest: test_we_can_add_a_check_to_the_repository
----------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
---------------------------------------------------------------
-RepositoryTest: test_we_can_remove_a_check_from_the_repository
---------------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
--------------------------------------------------------------------------------
SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down
--------------------------------------------------------------------------------
- [1m[35m (0.2ms)[0m SELECT 1
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
-------------------------------------------------------------------------------
SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down
-------------------------------------------------------------------------------
- [1m[35m (0.1ms)[0m SELECT 1
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
-------------------------------------------------------------------------------
SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run
-------------------------------------------------------------------------------
- [1m[35m (0.1ms)[0m SELECT 1
- [1m[36m (0.1ms)[0m [1mSELECT 1[0m
- [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
------------------------------------------------------
SplitActiveRecordCheckTest: test_given_nil_as_a_config
------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
----------------------------------------------------------------------
-ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass
----------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mSELECT 1[0m
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
-------------------------------------------------------------------------------------
-ChecklistTest: test_#response_status_returns_:service_unavailable_when_a_check_fails
-------------------------------------------------------------------------------------
- [1m[35m (0.1ms)[0m SELECT 1
-Dalli::Server#connect 127.0.0.1:11211
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
------------------------------------------------------------------
-ChecklistTest: test_#success?_returns_false_when_results_is_empty
------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
----------------------------------------------------------
-ChecklistTest: test_#timing_is_a_sum_of_all_check_results
----------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
--------------------------------------------------------------------------
-ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist
--------------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mSELECT 1[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
-----------------------------------------------
-ChecklistTest: test_can_look_up_checks_by_name
-----------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
----------------------------------------------
-ChecklistTest: test_cat_fetch_a_check_by_name
----------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
--------------------------------------------------------------------
-ChecklistTest: test_it_knows_the_number_of_checks_in_the_Repository
--------------------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
-------------------------------------------
-ChecklistTest: test_it_will_run_each_check
-------------------------------------------
- [1m[35m (0.1ms)[0m SELECT 1
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
----------------------------------------------------------------------
-MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
----------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
------------------------------------------------------------------------
-MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run
------------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
-------------------------------------------------------------------
-MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers
-------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
----------------------------------------------------------
-MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache
----------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
---------------------------------------------------------------------------
-ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run
---------------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
-----------------------------------------------------------------------------
-ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run
-----------------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mSELECT 1[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
--------------------------------------------------
-ActiveRecordCheckTest: test_given_nil_as_a_config
--------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
------------------------------------------------------------
Easymon::ChecksControllerTest: test_index_returns_valid_json
------------------------------------------------------------
Processing by Easymon::ChecksController#index as JSON
- [1m[35m (0.3ms)[0m SELECT 1
-Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.3ms)
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
------------------------------------------------------------
Easymon::ChecksControllerTest: test_index_when_a_check_fails
------------------------------------------------------------
Processing by Easymon::ChecksController#index as HTML
- [1m[36m (0.1ms)[0m [1mSELECT 1[0m
Rendered text template (0.0ms)
-Completed 503 Service Unavailable in 2ms (Views: 1.5ms | ActiveRecord: 0.1ms)
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
+Completed 503 Service Unavailable in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
---------------------------------------------------------------------
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)
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
-------------------------------------------------------------------------
Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails
-------------------------------------------------------------------------
Processing by Easymon::ChecksController#index as HTML
- [1m[35m (0.2ms)[0m SELECT 1
Rendered text template (0.0ms)
-Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
--------------------------------------------------------------
Easymon::ChecksControllerTest: test_index_when_all_checks_pass
--------------------------------------------------------------
Processing by Easymon::ChecksController#index as HTML
- [1m[36m (0.2ms)[0m [1mSELECT 1[0m
Rendered text template (0.0ms)
-Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
+Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
--------------------------------------------------------------------
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)
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
----------------------------------------------------------------
-Easymon::ChecksControllerTest: test_return_404_if_not_authorized
+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)
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
------------------------------------------------------------------
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)
+Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
-------------------------------------------------------------------
Easymon::ChecksControllerTest: test_show_json_when_the_check_passes
-------------------------------------------------------------------
Processing by Easymon::ChecksController#show as JSON
Parameters: {"check"=>"database"}
- [1m[35m (0.1ms)[0m SELECT 1
-Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
+Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
-------------------------------------------------------------
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)
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.3ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
---------------------------------------------------------------
-Easymon::ChecksControllerTest: test_show_when_the_check_passes
---------------------------------------------------------------
-Processing by Easymon::ChecksController#show as HTML
- Parameters: {"check"=>"database"}
- [1m[36m (0.2ms)[0m [1mSELECT 1[0m
- Rendered text template (0.0ms)
-Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
----------------------------------------------------------------------
-SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
----------------------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
------------------------------------------------------------------------
-SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run
------------------------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
-------------------------------------------------------------
-Easymon::ChecksControllerTest: test_index_returns_valid_json
-------------------------------------------------------------
-Processing by Easymon::ChecksController#index as JSON
- [1m[36m (0.2ms)[0m [1mSELECT 1[0m
-Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
-------------------------------------------------------------
-Easymon::ChecksControllerTest: test_index_when_a_check_fails
-------------------------------------------------------------
-Processing by Easymon::ChecksController#index as HTML
- [1m[35m (0.3ms)[0m SELECT 1
- Rendered text template (0.0ms)
-Completed 503 Service Unavailable in 2ms (Views: 1.1ms | ActiveRecord: 0.3ms)
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m 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)
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.2ms)[0m ROLLBACK
[1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m BEGIN
--------------------------------------------------------------------------
-Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails
--------------------------------------------------------------------------
-Processing by Easymon::ChecksController#index as HTML
- [1m[36m (0.3ms)[0m [1mSELECT 1[0m
- Rendered text template (0.0ms)
-Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.3ms)
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
---------------------------------------------------------------
-Easymon::ChecksControllerTest: test_index_when_all_checks_pass
---------------------------------------------------------------
-Processing by Easymon::ChecksController#index as HTML
- [1m[35m (0.2ms)[0m SELECT 1
- Rendered text template (0.0ms)
-Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m 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)
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m 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)
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m 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)
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
--------------------------------------------------------------------
-Easymon::ChecksControllerTest: test_show_json_when_the_check_passes
--------------------------------------------------------------------
-Processing by Easymon::ChecksController#show as JSON
- Parameters: {"check"=>"database"}
- [1m[36m (0.1ms)[0m [1mSELECT 1[0m
-Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
--------------------------------------------------------------
-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)
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
--------------------------------------------------------------
Easymon::ChecksControllerTest: test_show_when_the_check_passes
--------------------------------------------------------------
Processing by Easymon::ChecksController#show as HTML
Parameters: {"check"=>"database"}
- [1m[35m (0.2ms)[0m SELECT 1
Rendered text template (0.0ms)
-Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
-----------------------------------------------------------------------------
-TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run
-----------------------------------------------------------------------------
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
-------------------------------------------------------------------------------
-TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run
-------------------------------------------------------------------------------
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
-----------------------------------------------------------------
RedisCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
-----------------------------------------------------------------
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m BEGIN
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
-------------------------------------------------------------------
RedisCheckTest: test_#run_sets_success_conditions_on_successful_run
-------------------------------------------------------------------
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.2ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m BEGIN
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
------------------------------------------
RedisCheckTest: test_given_nil_as_a_config
------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
---------------------------------------------------------------------------
-RepositoryTest: test_adds_checks_marked_critical_to_the_critical_checklist
---------------------------------------------------------------------------
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
---------------------------------------------
-RepositoryTest: test_fetches_a_check_by_name
---------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[35m (0.2ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
------------------------------------------------------
-RepositoryTest: test_fetches_a_critical_check_by_name
------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.3ms)[0m BEGIN
----------------------------------------------------
-RepositoryTest: test_returns_a_checklist_when_asked
----------------------------------------------------
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.4ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
----------------------------------------------------------
-RepositoryTest: test_we_can_add_a_check_to_the_repository
----------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
---------------------------------------------------------------
-RepositoryTest: test_we_can_remove_a_check_from_the_repository
---------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
---------------------------------------------------------------------------
-ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run
---------------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
-----------------------------------------------------------------------------
-ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run
-----------------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mSELECT 1[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
--------------------------------------------------
-ActiveRecordCheckTest: test_given_nil_as_a_config
--------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
---------------------------------------------------------------------------------------
-ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_failed_result_on_a_failed_run
---------------------------------------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
-----------------------------------------------------------------------------------------
-ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_successful_result_on_a_good_run
-----------------------------------------------------------------------------------------
- [1m[35m (0.1ms)[0m SELECT 1
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
---------------------------------------------------------------------------------
-SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down
---------------------------------------------------------------------------------
- [1m[36m (0.2ms)[0m [1mSELECT 1[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m BEGIN
[1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
--------------------------------------------------------------------------------
-SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down
--------------------------------------------------------------------------------
- [1m[36m (0.2ms)[0m [1mSELECT 1[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
--------------------------------------------------------------------------------
-SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run
--------------------------------------------------------------------------------
- [1m[36m (0.2ms)[0m [1mSELECT 1[0m
- [1m[35m (0.1ms)[0m SELECT 1
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
-------------------------------------------------------
-SplitActiveRecordCheckTest: test_given_nil_as_a_config
-------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
---------------------------------------------------------------------
-ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass
+MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
---------------------------------------------------------------------
- [1m[35m (0.1ms)[0m SELECT 1
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
-------------------------------------------------------------------------------------
-ChecklistTest: test_#response_status_returns_:service_unavailable_when_a_check_fails
-------------------------------------------------------------------------------------
- [1m[36m (0.2ms)[0m [1mSELECT 1[0m
-Dalli::Server#connect 127.0.0.1:11211
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
------------------------------------------------------------------
-ChecklistTest: test_#success?_returns_false_when_results_is_empty
------------------------------------------------------------------
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+-----------------------------------------------------------------------
+MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run
+-----------------------------------------------------------------------
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
----------------------------------------------------------
-ChecklistTest: test_#timing_is_a_sum_of_all_check_results
----------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
--------------------------------------------------------------------------
-ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist
--------------------------------------------------------------------------
- [1m[35m (0.1ms)[0m SELECT 1
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
-----------------------------------------------
-ChecklistTest: test_can_look_up_checks_by_name
-----------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
----------------------------------------------
-ChecklistTest: test_cat_fetch_a_check_by_name
----------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
--------------------------------------------------------------------
-ChecklistTest: test_it_knows_the_number_of_checks_in_the_Repository
--------------------------------------------------------------------
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
-------------------------------------------
-ChecklistTest: test_it_will_run_each_check
-------------------------------------------
- [1m[36m (0.1ms)[0m [1mSELECT 1[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
-----------------------------------------------------------------
-HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
-----------------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
------------------------------------------------------------------
-HttpCheckTest: test_#run_sets_failure_conditions_on_an_errored_run
+MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers
------------------------------------------------------------------
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
-------------------------------------------------------------------
-HttpCheckTest: test_#run_sets_success_conditions_on_successful_run
-------------------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+---------------------------------------------------------
+MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache
+---------------------------------------------------------
+ [1m[35m (0.2ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
---------------------------------------
-HttpCheckTest: test_given_nil_as_a_url
---------------------------------------
+--------------------------------------------------------------------------
+RepositoryTest: test_adds_checks_marked_critical_to_the_critical_checklist
+--------------------------------------------------------------------------
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
----------------------------------------------------------------------
-MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
----------------------------------------------------------------------
+--------------------------------------------
+RepositoryTest: test_fetches_a_check_by_name
+--------------------------------------------
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
------------------------------------------------------------------------
-MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run
------------------------------------------------------------------------
+-----------------------------------------------------
+RepositoryTest: test_fetches_a_critical_check_by_name
+-----------------------------------------------------
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
-------------------------------------------------------------------
-MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers
-------------------------------------------------------------------
+---------------------------------------------------
+RepositoryTest: test_returns_a_checklist_when_asked
+---------------------------------------------------
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
---------------------------------------------------------
-MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache
+RepositoryTest: test_we_can_add_a_check_to_the_repository
---------------------------------------------------------
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
----------------------------------------------------------------------
-SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
----------------------------------------------------------------------
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
------------------------------------------------------------------------
-SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run
------------------------------------------------------------------------
+--------------------------------------------------------------
+RepositoryTest: test_we_can_remove_a_check_from_the_repository
+--------------------------------------------------------------
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK