easymon 1.2.5 → 1.2.6
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of easymon might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +20 -0
- data/app/controllers/easymon/checks_controller.rb +16 -0
- data/lib/easymon.rb +14 -2
- data/lib/easymon/version.rb +1 -1
- data/test/controllers/easymon/checks_controller_test.rb +11 -0
- data/test/dummy/log/test.log +1326 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 809c1b97064222083a28debb508040f09c9ece69
|
4
|
+
data.tar.gz: 3a798f7cd1ca64fac7030a87ff5536544b0c20c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 79eb1c36b4d43ec4830f708c37430d224b606bbe360db0c63c9395c5491c453600d1252fd2fd46dc40333470ab28eff43fe4e2b7d210b08af0999af85fd70222
|
7
|
+
data.tar.gz: 2a2138973ea8c8d0aa8b419c94308cd1410436d9c43ee61b17d7d12bb5c29e46730296f7f40ee35ba25ebadeeaa10a7dd0b531d8a143bdbd63e636c91a73f302
|
data/README.md
CHANGED
@@ -87,6 +87,26 @@ individually available at:
|
|
87
87
|
* `/up/memcached`
|
88
88
|
* `/up/critical` - Runs both the application-database and redis checks.
|
89
89
|
|
90
|
+
## Security
|
91
|
+
|
92
|
+
You might not want to have this data available to everyone who hits your site,
|
93
|
+
as it can expose both timing data and, depending on your check names, various
|
94
|
+
bits of your infrastructure. You can tell Easymon what addresses, headers,
|
95
|
+
or whatever defines an authorized request by providing a block to
|
96
|
+
`Easymon.authorize_with` that will be called with the current request object:
|
97
|
+
|
98
|
+
```ruby
|
99
|
+
Easymon.authorize_with = Proc.new { |request| request.remote_ip == '192.168.1.1'}
|
100
|
+
# Or
|
101
|
+
Easymon.authorize_with = Proc.new { |request|
|
102
|
+
request.headers["X-Forwarded-For"].nil?
|
103
|
+
}
|
104
|
+
```
|
105
|
+
|
106
|
+
This will get run on each request, so keep it simple. (Actually, that's a good
|
107
|
+
rule of thumb for any checks you write, too. Remember, these are all in your
|
108
|
+
main app request pipeline!)
|
109
|
+
|
90
110
|
## Checks
|
91
111
|
|
92
112
|
A check can be any ruby code that responds_to? a #check method that returns a
|
@@ -3,6 +3,18 @@ require "benchmark"
|
|
3
3
|
|
4
4
|
module Easymon
|
5
5
|
class ChecksController < ApplicationController
|
6
|
+
# Rails 5+ deprecates `before_filter` in favor of `before_action`. Alias
|
7
|
+
# the latter for forward compatibility.
|
8
|
+
unless defined?(before_action)
|
9
|
+
class << self
|
10
|
+
%w( before ).each do |callback|
|
11
|
+
alias_method :"#{callback}_action", :"#{callback}_filter"
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
before_action :authorize_request
|
17
|
+
|
6
18
|
rescue_from Easymon::NoSuchCheck do |e|
|
7
19
|
respond_to do |format|
|
8
20
|
format.any(:text, :html) { render_result e.message, :not_found }
|
@@ -82,5 +94,9 @@ module Easymon
|
|
82
94
|
def add_prefix(result, message)
|
83
95
|
result ? "OK #{message}" : "DOWN #{message}"
|
84
96
|
end
|
97
|
+
|
98
|
+
def authorize_request
|
99
|
+
head :forbidden unless Easymon.authorized?(request)
|
100
|
+
end
|
85
101
|
end
|
86
102
|
end
|
data/lib/easymon.rb
CHANGED
@@ -35,13 +35,17 @@ module Easymon
|
|
35
35
|
Easymon.rails_version > Gem::Version.new("3.1")
|
36
36
|
end
|
37
37
|
|
38
|
-
def self.
|
38
|
+
def self.rails_newer_than?(version)
|
39
39
|
Easymon.rails_version > Gem::Version.new(version)
|
40
40
|
end
|
41
41
|
|
42
42
|
def self.has_render_plain?
|
43
43
|
# Rails 4.1.0 introduced :plain, Rails 5 deprecated :text
|
44
|
-
Easymon.
|
44
|
+
Easymon.rails_newer_than?("4.1.0.beta")
|
45
|
+
end
|
46
|
+
|
47
|
+
def self.has_before_action?
|
48
|
+
Easymon.rails_newer_than?("4.0.0.beta")
|
45
49
|
end
|
46
50
|
|
47
51
|
def self.routes(mapper, path = "/up")
|
@@ -75,4 +79,12 @@ module Easymon
|
|
75
79
|
def self.timing_to_ms(timing = 0)
|
76
80
|
sprintf("%.3f", (timing * 1000))
|
77
81
|
end
|
82
|
+
|
83
|
+
def self.authorize_with=(block)
|
84
|
+
@authorize_with = block
|
85
|
+
end
|
86
|
+
|
87
|
+
def self.authorized?(request)
|
88
|
+
@authorize_with.nil? ? true : @authorize_with.call(request)
|
89
|
+
end
|
78
90
|
end
|
data/lib/easymon/version.rb
CHANGED
@@ -5,6 +5,7 @@ module Easymon
|
|
5
5
|
|
6
6
|
setup do
|
7
7
|
@routes = Easymon::Engine.routes
|
8
|
+
Easymon.authorize_with = nil
|
8
9
|
end
|
9
10
|
|
10
11
|
test "index when no checks are defined" do
|
@@ -91,5 +92,15 @@ module Easymon
|
|
91
92
|
get :show, :check => "database"
|
92
93
|
assert_response :not_found
|
93
94
|
end
|
95
|
+
|
96
|
+
test "return 403 if not authorized" do
|
97
|
+
Easymon.authorize_with = Proc.new { false }
|
98
|
+
|
99
|
+
get :index
|
100
|
+
assert_response :forbidden
|
101
|
+
|
102
|
+
get :show, :check => "database"
|
103
|
+
assert_response :forbidden
|
104
|
+
end
|
94
105
|
end
|
95
106
|
end
|
data/test/dummy/log/test.log
CHANGED
@@ -2563,3 +2563,1329 @@ ChecklistTest: test_it_will_run_each_check
|
|
2563
2563
|
[1m[35m (0.1ms)[0m ROLLBACK
|
2564
2564
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2565
2565
|
[1m[35m (0.1ms)[0m ROLLBACK
|
2566
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2567
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2568
|
+
--------------------------------------------------------------------------------------
|
2569
|
+
ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_failed_result_on_a_failed_run
|
2570
|
+
--------------------------------------------------------------------------------------
|
2571
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2572
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2573
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2574
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2575
|
+
----------------------------------------------------------------------------------------
|
2576
|
+
ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_successful_result_on_a_good_run
|
2577
|
+
----------------------------------------------------------------------------------------
|
2578
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1[0m
|
2579
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2580
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2581
|
+
[1m[35m (0.2ms)[0m BEGIN
|
2582
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2583
|
+
---------------------------------------------------------------------
|
2584
|
+
MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
|
2585
|
+
---------------------------------------------------------------------
|
2586
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2587
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2588
|
+
[1m[35m (0.2ms)[0m BEGIN
|
2589
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2590
|
+
-----------------------------------------------------------------------
|
2591
|
+
MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run
|
2592
|
+
-----------------------------------------------------------------------
|
2593
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2594
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2595
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2596
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2597
|
+
------------------------------------------------------------------
|
2598
|
+
MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers
|
2599
|
+
------------------------------------------------------------------
|
2600
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2601
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2602
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2603
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2604
|
+
---------------------------------------------------------
|
2605
|
+
MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache
|
2606
|
+
---------------------------------------------------------
|
2607
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2608
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2609
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2610
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2611
|
+
----------------------------------------------------------------
|
2612
|
+
HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
|
2613
|
+
----------------------------------------------------------------
|
2614
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2615
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2616
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2617
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2618
|
+
------------------------------------------------------------------
|
2619
|
+
HttpCheckTest: test_#run_sets_failure_conditions_on_an_errored_run
|
2620
|
+
------------------------------------------------------------------
|
2621
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2622
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2623
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2624
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2625
|
+
------------------------------------------------------------------
|
2626
|
+
HttpCheckTest: test_#run_sets_success_conditions_on_successful_run
|
2627
|
+
------------------------------------------------------------------
|
2628
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2629
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2630
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2631
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2632
|
+
--------------------------------------
|
2633
|
+
HttpCheckTest: test_given_nil_as_a_url
|
2634
|
+
--------------------------------------
|
2635
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2636
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2637
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2638
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2639
|
+
------------------------------------------------------------
|
2640
|
+
Easymon::ChecksControllerTest: test_index_returns_valid_json
|
2641
|
+
------------------------------------------------------------
|
2642
|
+
Processing by Easymon::ChecksController#index as JSON
|
2643
|
+
[1m[35m (0.3ms)[0m SELECT 1
|
2644
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.3ms)
|
2645
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2646
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2647
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2648
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2649
|
+
------------------------------------------------------------
|
2650
|
+
Easymon::ChecksControllerTest: test_index_when_a_check_fails
|
2651
|
+
------------------------------------------------------------
|
2652
|
+
Processing by Easymon::ChecksController#index as HTML
|
2653
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1[0m
|
2654
|
+
Rendered text template (0.0ms)
|
2655
|
+
Completed 503 Service Unavailable in 2ms (Views: 1.2ms | ActiveRecord: 0.2ms)
|
2656
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2657
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2658
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2659
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2660
|
+
---------------------------------------------------------------------
|
2661
|
+
Easymon::ChecksControllerTest: test_index_when_a_critical_check_fails
|
2662
|
+
---------------------------------------------------------------------
|
2663
|
+
Processing by Easymon::ChecksController#index as HTML
|
2664
|
+
Rendered text template (0.0ms)
|
2665
|
+
Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
2666
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2667
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2668
|
+
[1m[35m (0.2ms)[0m BEGIN
|
2669
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2670
|
+
-------------------------------------------------------------------------
|
2671
|
+
Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails
|
2672
|
+
-------------------------------------------------------------------------
|
2673
|
+
Processing by Easymon::ChecksController#index as HTML
|
2674
|
+
[1m[35m (0.2ms)[0m SELECT 1
|
2675
|
+
Rendered text template (0.0ms)
|
2676
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
2677
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2678
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2679
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2680
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2681
|
+
--------------------------------------------------------------
|
2682
|
+
Easymon::ChecksControllerTest: test_index_when_all_checks_pass
|
2683
|
+
--------------------------------------------------------------
|
2684
|
+
Processing by Easymon::ChecksController#index as HTML
|
2685
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1[0m
|
2686
|
+
Rendered text template (0.0ms)
|
2687
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
2688
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2689
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2690
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2691
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2692
|
+
--------------------------------------------------------------------
|
2693
|
+
Easymon::ChecksControllerTest: test_index_when_no_checks_are_defined
|
2694
|
+
--------------------------------------------------------------------
|
2695
|
+
Processing by Easymon::ChecksController#index as HTML
|
2696
|
+
Rendered text template (0.0ms)
|
2697
|
+
Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
2698
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2699
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2700
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2701
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2702
|
+
----------------------------------------------------------------
|
2703
|
+
Easymon::ChecksControllerTest: test_return_404_if_not_authorized
|
2704
|
+
----------------------------------------------------------------
|
2705
|
+
Processing by Easymon::ChecksController#index as HTML
|
2706
|
+
Filter chain halted as :authorize_request rendered or redirected
|
2707
|
+
Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
|
2708
|
+
Processing by Easymon::ChecksController#show as HTML
|
2709
|
+
Parameters: {"check"=>"database"}
|
2710
|
+
Filter chain halted as :authorize_request rendered or redirected
|
2711
|
+
Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
|
2712
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2713
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2714
|
+
[1m[35m (0.2ms)[0m BEGIN
|
2715
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2716
|
+
------------------------------------------------------------------
|
2717
|
+
Easymon::ChecksControllerTest: test_show_if_the_check_is_not_found
|
2718
|
+
------------------------------------------------------------------
|
2719
|
+
Processing by Easymon::ChecksController#show as HTML
|
2720
|
+
Parameters: {"check"=>"database"}
|
2721
|
+
Rendered text template (0.0ms)
|
2722
|
+
Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
2723
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2724
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2725
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2726
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2727
|
+
-------------------------------------------------------------------
|
2728
|
+
Easymon::ChecksControllerTest: test_show_json_when_the_check_passes
|
2729
|
+
-------------------------------------------------------------------
|
2730
|
+
Processing by Easymon::ChecksController#show as JSON
|
2731
|
+
Parameters: {"check"=>"database"}
|
2732
|
+
[1m[35m (0.2ms)[0m SELECT 1
|
2733
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
2734
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2735
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2736
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
2737
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2738
|
+
-------------------------------------------------------------
|
2739
|
+
Easymon::ChecksControllerTest: test_show_when_the_check_fails
|
2740
|
+
-------------------------------------------------------------
|
2741
|
+
Processing by Easymon::ChecksController#show as HTML
|
2742
|
+
Parameters: {"check"=>"database"}
|
2743
|
+
Rendered text template (0.0ms)
|
2744
|
+
Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
2745
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2746
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2747
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2748
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2749
|
+
--------------------------------------------------------------
|
2750
|
+
Easymon::ChecksControllerTest: test_show_when_the_check_passes
|
2751
|
+
--------------------------------------------------------------
|
2752
|
+
Processing by Easymon::ChecksController#show as HTML
|
2753
|
+
Parameters: {"check"=>"database"}
|
2754
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1[0m
|
2755
|
+
Rendered text template (0.0ms)
|
2756
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
2757
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2758
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2759
|
+
[1m[35m (0.2ms)[0m BEGIN
|
2760
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2761
|
+
---------------------------------------------------------------------
|
2762
|
+
ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass
|
2763
|
+
---------------------------------------------------------------------
|
2764
|
+
[1m[35m (0.1ms)[0m SELECT 1
|
2765
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2766
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2767
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2768
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2769
|
+
------------------------------------------------------------------------------------
|
2770
|
+
ChecklistTest: test_#response_status_returns_:service_unavailable_when_a_check_fails
|
2771
|
+
------------------------------------------------------------------------------------
|
2772
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1[0m
|
2773
|
+
Dalli::Server#connect 127.0.0.1:11211
|
2774
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2775
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2776
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2777
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2778
|
+
-----------------------------------------------------------------
|
2779
|
+
ChecklistTest: test_#success?_returns_false_when_results_is_empty
|
2780
|
+
-----------------------------------------------------------------
|
2781
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2782
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2783
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2784
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2785
|
+
---------------------------------------------------------
|
2786
|
+
ChecklistTest: test_#timing_is_a_sum_of_all_check_results
|
2787
|
+
---------------------------------------------------------
|
2788
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2789
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2790
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2791
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2792
|
+
-------------------------------------------------------------------------
|
2793
|
+
ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist
|
2794
|
+
-------------------------------------------------------------------------
|
2795
|
+
[1m[35m (0.1ms)[0m SELECT 1
|
2796
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2797
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2798
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2799
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2800
|
+
----------------------------------------------
|
2801
|
+
ChecklistTest: test_can_look_up_checks_by_name
|
2802
|
+
----------------------------------------------
|
2803
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2804
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2805
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2806
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2807
|
+
---------------------------------------------
|
2808
|
+
ChecklistTest: test_cat_fetch_a_check_by_name
|
2809
|
+
---------------------------------------------
|
2810
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2811
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2812
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2813
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2814
|
+
-------------------------------------------------------------------
|
2815
|
+
ChecklistTest: test_it_knows_the_number_of_checks_in_the_Repository
|
2816
|
+
-------------------------------------------------------------------
|
2817
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2818
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2819
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2820
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2821
|
+
------------------------------------------
|
2822
|
+
ChecklistTest: test_it_will_run_each_check
|
2823
|
+
------------------------------------------
|
2824
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1[0m
|
2825
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2826
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2827
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2828
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2829
|
+
---------------------------------------------------------------------
|
2830
|
+
SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
|
2831
|
+
---------------------------------------------------------------------
|
2832
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2833
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2834
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2835
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2836
|
+
-----------------------------------------------------------------------
|
2837
|
+
SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run
|
2838
|
+
-----------------------------------------------------------------------
|
2839
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2840
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2841
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2842
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2843
|
+
--------------------------------------------------------------------------
|
2844
|
+
RepositoryTest: test_adds_checks_marked_critical_to_the_critical_checklist
|
2845
|
+
--------------------------------------------------------------------------
|
2846
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2847
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2848
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2849
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2850
|
+
--------------------------------------------
|
2851
|
+
RepositoryTest: test_fetches_a_check_by_name
|
2852
|
+
--------------------------------------------
|
2853
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2854
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2855
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2856
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2857
|
+
-----------------------------------------------------
|
2858
|
+
RepositoryTest: test_fetches_a_critical_check_by_name
|
2859
|
+
-----------------------------------------------------
|
2860
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2861
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2862
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2863
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2864
|
+
---------------------------------------------------
|
2865
|
+
RepositoryTest: test_returns_a_checklist_when_asked
|
2866
|
+
---------------------------------------------------
|
2867
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2868
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2869
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2870
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2871
|
+
---------------------------------------------------------
|
2872
|
+
RepositoryTest: test_we_can_add_a_check_to_the_repository
|
2873
|
+
---------------------------------------------------------
|
2874
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2875
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2876
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2877
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2878
|
+
--------------------------------------------------------------
|
2879
|
+
RepositoryTest: test_we_can_remove_a_check_from_the_repository
|
2880
|
+
--------------------------------------------------------------
|
2881
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2882
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2883
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2884
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2885
|
+
-----------------------------------------------------------------
|
2886
|
+
RedisCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
|
2887
|
+
-----------------------------------------------------------------
|
2888
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2889
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2890
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2891
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2892
|
+
-------------------------------------------------------------------
|
2893
|
+
RedisCheckTest: test_#run_sets_success_conditions_on_successful_run
|
2894
|
+
-------------------------------------------------------------------
|
2895
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2896
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2897
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2898
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2899
|
+
------------------------------------------
|
2900
|
+
RedisCheckTest: test_given_nil_as_a_config
|
2901
|
+
------------------------------------------
|
2902
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2903
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2904
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2905
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2906
|
+
--------------------------------------------------------------------------
|
2907
|
+
ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run
|
2908
|
+
--------------------------------------------------------------------------
|
2909
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2910
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2911
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2912
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2913
|
+
----------------------------------------------------------------------------
|
2914
|
+
ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run
|
2915
|
+
----------------------------------------------------------------------------
|
2916
|
+
[1m[35m (0.1ms)[0m SELECT 1
|
2917
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2918
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2919
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2920
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2921
|
+
-------------------------------------------------
|
2922
|
+
ActiveRecordCheckTest: test_given_nil_as_a_config
|
2923
|
+
-------------------------------------------------
|
2924
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2925
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2926
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2927
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2928
|
+
----------------------------------------------------------------------------
|
2929
|
+
TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run
|
2930
|
+
----------------------------------------------------------------------------
|
2931
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2932
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2933
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2934
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2935
|
+
------------------------------------------------------------------------------
|
2936
|
+
TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run
|
2937
|
+
------------------------------------------------------------------------------
|
2938
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2939
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2940
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2941
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2942
|
+
--------------------------------------------------------------------------------
|
2943
|
+
SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down
|
2944
|
+
--------------------------------------------------------------------------------
|
2945
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1[0m
|
2946
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2947
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2948
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2949
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2950
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2951
|
+
-------------------------------------------------------------------------------
|
2952
|
+
SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down
|
2953
|
+
-------------------------------------------------------------------------------
|
2954
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1[0m
|
2955
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2956
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2957
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2958
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2959
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2960
|
+
-------------------------------------------------------------------------------
|
2961
|
+
SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run
|
2962
|
+
-------------------------------------------------------------------------------
|
2963
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1[0m
|
2964
|
+
[1m[35m (0.1ms)[0m SELECT 1
|
2965
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2966
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2967
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2968
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2969
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2970
|
+
------------------------------------------------------
|
2971
|
+
SplitActiveRecordCheckTest: test_given_nil_as_a_config
|
2972
|
+
------------------------------------------------------
|
2973
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2974
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2975
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2976
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2977
|
+
[1m[35m (0.2ms)[0m BEGIN
|
2978
|
+
----------------------------------------------------------------
|
2979
|
+
HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
|
2980
|
+
----------------------------------------------------------------
|
2981
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2982
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2983
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2984
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2985
|
+
------------------------------------------------------------------
|
2986
|
+
HttpCheckTest: test_#run_sets_failure_conditions_on_an_errored_run
|
2987
|
+
------------------------------------------------------------------
|
2988
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2989
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2990
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2991
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2992
|
+
------------------------------------------------------------------
|
2993
|
+
HttpCheckTest: test_#run_sets_success_conditions_on_successful_run
|
2994
|
+
------------------------------------------------------------------
|
2995
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2996
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2997
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2998
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2999
|
+
--------------------------------------
|
3000
|
+
HttpCheckTest: test_given_nil_as_a_url
|
3001
|
+
--------------------------------------
|
3002
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3003
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3004
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3005
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3006
|
+
--------------------------------------------------------------------------------------
|
3007
|
+
ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_failed_result_on_a_failed_run
|
3008
|
+
--------------------------------------------------------------------------------------
|
3009
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3010
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3011
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3012
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3013
|
+
----------------------------------------------------------------------------------------
|
3014
|
+
ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_successful_result_on_a_good_run
|
3015
|
+
----------------------------------------------------------------------------------------
|
3016
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1[0m
|
3017
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3018
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3019
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3020
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3021
|
+
----------------------------------------------------------------------------
|
3022
|
+
TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run
|
3023
|
+
----------------------------------------------------------------------------
|
3024
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3025
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3026
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3027
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3028
|
+
------------------------------------------------------------------------------
|
3029
|
+
TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run
|
3030
|
+
------------------------------------------------------------------------------
|
3031
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3032
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3033
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3034
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3035
|
+
-----------------------------------------------------------------
|
3036
|
+
RedisCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
|
3037
|
+
-----------------------------------------------------------------
|
3038
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3039
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3040
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3041
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3042
|
+
-------------------------------------------------------------------
|
3043
|
+
RedisCheckTest: test_#run_sets_success_conditions_on_successful_run
|
3044
|
+
-------------------------------------------------------------------
|
3045
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3046
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3047
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3048
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
3049
|
+
------------------------------------------
|
3050
|
+
RedisCheckTest: test_given_nil_as_a_config
|
3051
|
+
------------------------------------------
|
3052
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3053
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3054
|
+
[1m[35m (0.2ms)[0m BEGIN
|
3055
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
3056
|
+
--------------------------------------------------------------------------
|
3057
|
+
RepositoryTest: test_adds_checks_marked_critical_to_the_critical_checklist
|
3058
|
+
--------------------------------------------------------------------------
|
3059
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3060
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3061
|
+
[1m[35m (0.2ms)[0m BEGIN
|
3062
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3063
|
+
--------------------------------------------
|
3064
|
+
RepositoryTest: test_fetches_a_check_by_name
|
3065
|
+
--------------------------------------------
|
3066
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3067
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3068
|
+
[1m[35m (0.2ms)[0m BEGIN
|
3069
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3070
|
+
-----------------------------------------------------
|
3071
|
+
RepositoryTest: test_fetches_a_critical_check_by_name
|
3072
|
+
-----------------------------------------------------
|
3073
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3074
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3075
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3076
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
3077
|
+
---------------------------------------------------
|
3078
|
+
RepositoryTest: test_returns_a_checklist_when_asked
|
3079
|
+
---------------------------------------------------
|
3080
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3081
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3082
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3083
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3084
|
+
---------------------------------------------------------
|
3085
|
+
RepositoryTest: test_we_can_add_a_check_to_the_repository
|
3086
|
+
---------------------------------------------------------
|
3087
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3088
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3089
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3090
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3091
|
+
--------------------------------------------------------------
|
3092
|
+
RepositoryTest: test_we_can_remove_a_check_from_the_repository
|
3093
|
+
--------------------------------------------------------------
|
3094
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3095
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3096
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3097
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3098
|
+
--------------------------------------------------------------------------------
|
3099
|
+
SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down
|
3100
|
+
--------------------------------------------------------------------------------
|
3101
|
+
[1m[35m (0.2ms)[0m SELECT 1
|
3102
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3103
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3104
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3105
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3106
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3107
|
+
-------------------------------------------------------------------------------
|
3108
|
+
SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down
|
3109
|
+
-------------------------------------------------------------------------------
|
3110
|
+
[1m[35m (0.1ms)[0m SELECT 1
|
3111
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3112
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3113
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3114
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3115
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3116
|
+
-------------------------------------------------------------------------------
|
3117
|
+
SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run
|
3118
|
+
-------------------------------------------------------------------------------
|
3119
|
+
[1m[35m (0.1ms)[0m SELECT 1
|
3120
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1[0m
|
3121
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3122
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3123
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3124
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3125
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3126
|
+
------------------------------------------------------
|
3127
|
+
SplitActiveRecordCheckTest: test_given_nil_as_a_config
|
3128
|
+
------------------------------------------------------
|
3129
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3130
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3131
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3132
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3133
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3134
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3135
|
+
---------------------------------------------------------------------
|
3136
|
+
ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass
|
3137
|
+
---------------------------------------------------------------------
|
3138
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1[0m
|
3139
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3140
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3141
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3142
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3143
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3144
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3145
|
+
------------------------------------------------------------------------------------
|
3146
|
+
ChecklistTest: test_#response_status_returns_:service_unavailable_when_a_check_fails
|
3147
|
+
------------------------------------------------------------------------------------
|
3148
|
+
[1m[35m (0.1ms)[0m SELECT 1
|
3149
|
+
Dalli::Server#connect 127.0.0.1:11211
|
3150
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3151
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3152
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3153
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3154
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3155
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3156
|
+
-----------------------------------------------------------------
|
3157
|
+
ChecklistTest: test_#success?_returns_false_when_results_is_empty
|
3158
|
+
-----------------------------------------------------------------
|
3159
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3160
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3161
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3162
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3163
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3164
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3165
|
+
---------------------------------------------------------
|
3166
|
+
ChecklistTest: test_#timing_is_a_sum_of_all_check_results
|
3167
|
+
---------------------------------------------------------
|
3168
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3169
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3170
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3171
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3172
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3173
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3174
|
+
-------------------------------------------------------------------------
|
3175
|
+
ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist
|
3176
|
+
-------------------------------------------------------------------------
|
3177
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1[0m
|
3178
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3179
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3180
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3181
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3182
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3183
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3184
|
+
----------------------------------------------
|
3185
|
+
ChecklistTest: test_can_look_up_checks_by_name
|
3186
|
+
----------------------------------------------
|
3187
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3188
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3189
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3190
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3191
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3192
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3193
|
+
---------------------------------------------
|
3194
|
+
ChecklistTest: test_cat_fetch_a_check_by_name
|
3195
|
+
---------------------------------------------
|
3196
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3197
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3198
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3199
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3200
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3201
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3202
|
+
-------------------------------------------------------------------
|
3203
|
+
ChecklistTest: test_it_knows_the_number_of_checks_in_the_Repository
|
3204
|
+
-------------------------------------------------------------------
|
3205
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3206
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3207
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3208
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3209
|
+
[1m[35m (0.2ms)[0m BEGIN
|
3210
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3211
|
+
------------------------------------------
|
3212
|
+
ChecklistTest: test_it_will_run_each_check
|
3213
|
+
------------------------------------------
|
3214
|
+
[1m[35m (0.1ms)[0m SELECT 1
|
3215
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3216
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3217
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3218
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3219
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3220
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3221
|
+
---------------------------------------------------------------------
|
3222
|
+
MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
|
3223
|
+
---------------------------------------------------------------------
|
3224
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3225
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3226
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3227
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3228
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3229
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3230
|
+
-----------------------------------------------------------------------
|
3231
|
+
MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run
|
3232
|
+
-----------------------------------------------------------------------
|
3233
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3234
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3235
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3236
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3237
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3238
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3239
|
+
------------------------------------------------------------------
|
3240
|
+
MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers
|
3241
|
+
------------------------------------------------------------------
|
3242
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3243
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3244
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3245
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3246
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3247
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3248
|
+
---------------------------------------------------------
|
3249
|
+
MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache
|
3250
|
+
---------------------------------------------------------
|
3251
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3252
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3253
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3254
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3255
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3256
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3257
|
+
--------------------------------------------------------------------------
|
3258
|
+
ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run
|
3259
|
+
--------------------------------------------------------------------------
|
3260
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3261
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3262
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3263
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3264
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3265
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3266
|
+
----------------------------------------------------------------------------
|
3267
|
+
ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run
|
3268
|
+
----------------------------------------------------------------------------
|
3269
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1[0m
|
3270
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3271
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3272
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3273
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3274
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3275
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3276
|
+
-------------------------------------------------
|
3277
|
+
ActiveRecordCheckTest: test_given_nil_as_a_config
|
3278
|
+
-------------------------------------------------
|
3279
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3280
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3281
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3282
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3283
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3284
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3285
|
+
------------------------------------------------------------
|
3286
|
+
Easymon::ChecksControllerTest: test_index_returns_valid_json
|
3287
|
+
------------------------------------------------------------
|
3288
|
+
Processing by Easymon::ChecksController#index as JSON
|
3289
|
+
[1m[35m (0.3ms)[0m SELECT 1
|
3290
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.3ms)
|
3291
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3292
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3293
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3294
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3295
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3296
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3297
|
+
------------------------------------------------------------
|
3298
|
+
Easymon::ChecksControllerTest: test_index_when_a_check_fails
|
3299
|
+
------------------------------------------------------------
|
3300
|
+
Processing by Easymon::ChecksController#index as HTML
|
3301
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1[0m
|
3302
|
+
Rendered text template (0.0ms)
|
3303
|
+
Completed 503 Service Unavailable in 2ms (Views: 1.5ms | ActiveRecord: 0.1ms)
|
3304
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3305
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3306
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3307
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3308
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3309
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3310
|
+
---------------------------------------------------------------------
|
3311
|
+
Easymon::ChecksControllerTest: test_index_when_a_critical_check_fails
|
3312
|
+
---------------------------------------------------------------------
|
3313
|
+
Processing by Easymon::ChecksController#index as HTML
|
3314
|
+
Rendered text template (0.0ms)
|
3315
|
+
Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
3316
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3317
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3318
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3319
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3320
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3321
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3322
|
+
-------------------------------------------------------------------------
|
3323
|
+
Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails
|
3324
|
+
-------------------------------------------------------------------------
|
3325
|
+
Processing by Easymon::ChecksController#index as HTML
|
3326
|
+
[1m[35m (0.2ms)[0m SELECT 1
|
3327
|
+
Rendered text template (0.0ms)
|
3328
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
3329
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3330
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3331
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3332
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3333
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3334
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3335
|
+
--------------------------------------------------------------
|
3336
|
+
Easymon::ChecksControllerTest: test_index_when_all_checks_pass
|
3337
|
+
--------------------------------------------------------------
|
3338
|
+
Processing by Easymon::ChecksController#index as HTML
|
3339
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1[0m
|
3340
|
+
Rendered text template (0.0ms)
|
3341
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
3342
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3343
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3344
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3345
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3346
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3347
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3348
|
+
--------------------------------------------------------------------
|
3349
|
+
Easymon::ChecksControllerTest: test_index_when_no_checks_are_defined
|
3350
|
+
--------------------------------------------------------------------
|
3351
|
+
Processing by Easymon::ChecksController#index as HTML
|
3352
|
+
Rendered text template (0.0ms)
|
3353
|
+
Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
3354
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3355
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3356
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3357
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3358
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3359
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3360
|
+
----------------------------------------------------------------
|
3361
|
+
Easymon::ChecksControllerTest: test_return_404_if_not_authorized
|
3362
|
+
----------------------------------------------------------------
|
3363
|
+
Processing by Easymon::ChecksController#index as HTML
|
3364
|
+
Filter chain halted as :authorize_request rendered or redirected
|
3365
|
+
Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
|
3366
|
+
Processing by Easymon::ChecksController#show as HTML
|
3367
|
+
Parameters: {"check"=>"database"}
|
3368
|
+
Filter chain halted as :authorize_request rendered or redirected
|
3369
|
+
Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
|
3370
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3371
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3372
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3373
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3374
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3375
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
3376
|
+
------------------------------------------------------------------
|
3377
|
+
Easymon::ChecksControllerTest: test_show_if_the_check_is_not_found
|
3378
|
+
------------------------------------------------------------------
|
3379
|
+
Processing by Easymon::ChecksController#show as HTML
|
3380
|
+
Parameters: {"check"=>"database"}
|
3381
|
+
Rendered text template (0.0ms)
|
3382
|
+
Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
3383
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3384
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3385
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3386
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3387
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3388
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3389
|
+
-------------------------------------------------------------------
|
3390
|
+
Easymon::ChecksControllerTest: test_show_json_when_the_check_passes
|
3391
|
+
-------------------------------------------------------------------
|
3392
|
+
Processing by Easymon::ChecksController#show as JSON
|
3393
|
+
Parameters: {"check"=>"database"}
|
3394
|
+
[1m[35m (0.1ms)[0m SELECT 1
|
3395
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
3396
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3397
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3398
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3399
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3400
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3401
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3402
|
+
-------------------------------------------------------------
|
3403
|
+
Easymon::ChecksControllerTest: test_show_when_the_check_fails
|
3404
|
+
-------------------------------------------------------------
|
3405
|
+
Processing by Easymon::ChecksController#show as HTML
|
3406
|
+
Parameters: {"check"=>"database"}
|
3407
|
+
Rendered text template (0.0ms)
|
3408
|
+
Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
3409
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3410
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
3411
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3412
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3413
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3414
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3415
|
+
--------------------------------------------------------------
|
3416
|
+
Easymon::ChecksControllerTest: test_show_when_the_check_passes
|
3417
|
+
--------------------------------------------------------------
|
3418
|
+
Processing by Easymon::ChecksController#show as HTML
|
3419
|
+
Parameters: {"check"=>"database"}
|
3420
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1[0m
|
3421
|
+
Rendered text template (0.0ms)
|
3422
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
3423
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3424
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3425
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3426
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3427
|
+
[1m[35m (0.2ms)[0m BEGIN
|
3428
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3429
|
+
---------------------------------------------------------------------
|
3430
|
+
SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
|
3431
|
+
---------------------------------------------------------------------
|
3432
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3433
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3434
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3435
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3436
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3437
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3438
|
+
-----------------------------------------------------------------------
|
3439
|
+
SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run
|
3440
|
+
-----------------------------------------------------------------------
|
3441
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3442
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3443
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3444
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
3445
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3446
|
+
------------------------------------------------------------
|
3447
|
+
Easymon::ChecksControllerTest: test_index_returns_valid_json
|
3448
|
+
------------------------------------------------------------
|
3449
|
+
Processing by Easymon::ChecksController#index as JSON
|
3450
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1[0m
|
3451
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
3452
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3453
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3454
|
+
[1m[35m (0.2ms)[0m BEGIN
|
3455
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3456
|
+
------------------------------------------------------------
|
3457
|
+
Easymon::ChecksControllerTest: test_index_when_a_check_fails
|
3458
|
+
------------------------------------------------------------
|
3459
|
+
Processing by Easymon::ChecksController#index as HTML
|
3460
|
+
[1m[35m (0.3ms)[0m SELECT 1
|
3461
|
+
Rendered text template (0.0ms)
|
3462
|
+
Completed 503 Service Unavailable in 2ms (Views: 1.1ms | ActiveRecord: 0.3ms)
|
3463
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3464
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3465
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
3466
|
+
[1m[35m (0.2ms)[0m BEGIN
|
3467
|
+
---------------------------------------------------------------------
|
3468
|
+
Easymon::ChecksControllerTest: test_index_when_a_critical_check_fails
|
3469
|
+
---------------------------------------------------------------------
|
3470
|
+
Processing by Easymon::ChecksController#index as HTML
|
3471
|
+
Rendered text template (0.0ms)
|
3472
|
+
Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
3473
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3474
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3475
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
3476
|
+
[1m[35m (0.2ms)[0m BEGIN
|
3477
|
+
-------------------------------------------------------------------------
|
3478
|
+
Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails
|
3479
|
+
-------------------------------------------------------------------------
|
3480
|
+
Processing by Easymon::ChecksController#index as HTML
|
3481
|
+
[1m[36m (0.3ms)[0m [1mSELECT 1[0m
|
3482
|
+
Rendered text template (0.0ms)
|
3483
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.3ms)
|
3484
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3485
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3486
|
+
[1m[35m (0.2ms)[0m BEGIN
|
3487
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3488
|
+
--------------------------------------------------------------
|
3489
|
+
Easymon::ChecksControllerTest: test_index_when_all_checks_pass
|
3490
|
+
--------------------------------------------------------------
|
3491
|
+
Processing by Easymon::ChecksController#index as HTML
|
3492
|
+
[1m[35m (0.2ms)[0m SELECT 1
|
3493
|
+
Rendered text template (0.0ms)
|
3494
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
3495
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3496
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3497
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3498
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3499
|
+
--------------------------------------------------------------------
|
3500
|
+
Easymon::ChecksControllerTest: test_index_when_no_checks_are_defined
|
3501
|
+
--------------------------------------------------------------------
|
3502
|
+
Processing by Easymon::ChecksController#index as HTML
|
3503
|
+
Rendered text template (0.0ms)
|
3504
|
+
Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
3505
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3506
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3507
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3508
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3509
|
+
----------------------------------------------------------------
|
3510
|
+
Easymon::ChecksControllerTest: test_return_403_if_not_authorized
|
3511
|
+
----------------------------------------------------------------
|
3512
|
+
Processing by Easymon::ChecksController#index as HTML
|
3513
|
+
Filter chain halted as :authorize_request rendered or redirected
|
3514
|
+
Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
|
3515
|
+
Processing by Easymon::ChecksController#show as HTML
|
3516
|
+
Parameters: {"check"=>"database"}
|
3517
|
+
Filter chain halted as :authorize_request rendered or redirected
|
3518
|
+
Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
|
3519
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3520
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3521
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3522
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3523
|
+
------------------------------------------------------------------
|
3524
|
+
Easymon::ChecksControllerTest: test_show_if_the_check_is_not_found
|
3525
|
+
------------------------------------------------------------------
|
3526
|
+
Processing by Easymon::ChecksController#show as HTML
|
3527
|
+
Parameters: {"check"=>"database"}
|
3528
|
+
Rendered text template (0.0ms)
|
3529
|
+
Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
3530
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3531
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3532
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3533
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3534
|
+
-------------------------------------------------------------------
|
3535
|
+
Easymon::ChecksControllerTest: test_show_json_when_the_check_passes
|
3536
|
+
-------------------------------------------------------------------
|
3537
|
+
Processing by Easymon::ChecksController#show as JSON
|
3538
|
+
Parameters: {"check"=>"database"}
|
3539
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1[0m
|
3540
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
3541
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3542
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3543
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3544
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3545
|
+
-------------------------------------------------------------
|
3546
|
+
Easymon::ChecksControllerTest: test_show_when_the_check_fails
|
3547
|
+
-------------------------------------------------------------
|
3548
|
+
Processing by Easymon::ChecksController#show as HTML
|
3549
|
+
Parameters: {"check"=>"database"}
|
3550
|
+
Rendered text template (0.0ms)
|
3551
|
+
Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
3552
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3553
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3554
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3555
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3556
|
+
--------------------------------------------------------------
|
3557
|
+
Easymon::ChecksControllerTest: test_show_when_the_check_passes
|
3558
|
+
--------------------------------------------------------------
|
3559
|
+
Processing by Easymon::ChecksController#show as HTML
|
3560
|
+
Parameters: {"check"=>"database"}
|
3561
|
+
[1m[35m (0.2ms)[0m SELECT 1
|
3562
|
+
Rendered text template (0.0ms)
|
3563
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
3564
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3565
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3566
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3567
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3568
|
+
----------------------------------------------------------------------------
|
3569
|
+
TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run
|
3570
|
+
----------------------------------------------------------------------------
|
3571
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3572
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3573
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
3574
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3575
|
+
------------------------------------------------------------------------------
|
3576
|
+
TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run
|
3577
|
+
------------------------------------------------------------------------------
|
3578
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3579
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3580
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3581
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3582
|
+
-----------------------------------------------------------------
|
3583
|
+
RedisCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
|
3584
|
+
-----------------------------------------------------------------
|
3585
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3586
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3587
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
3588
|
+
[1m[35m (0.2ms)[0m BEGIN
|
3589
|
+
-------------------------------------------------------------------
|
3590
|
+
RedisCheckTest: test_#run_sets_success_conditions_on_successful_run
|
3591
|
+
-------------------------------------------------------------------
|
3592
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3593
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3594
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3595
|
+
[1m[35m (0.2ms)[0m BEGIN
|
3596
|
+
------------------------------------------
|
3597
|
+
RedisCheckTest: test_given_nil_as_a_config
|
3598
|
+
------------------------------------------
|
3599
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3600
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3601
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3602
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3603
|
+
--------------------------------------------------------------------------
|
3604
|
+
RepositoryTest: test_adds_checks_marked_critical_to_the_critical_checklist
|
3605
|
+
--------------------------------------------------------------------------
|
3606
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3607
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3608
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
3609
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3610
|
+
--------------------------------------------
|
3611
|
+
RepositoryTest: test_fetches_a_check_by_name
|
3612
|
+
--------------------------------------------
|
3613
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3614
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3615
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3616
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3617
|
+
-----------------------------------------------------
|
3618
|
+
RepositoryTest: test_fetches_a_critical_check_by_name
|
3619
|
+
-----------------------------------------------------
|
3620
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3621
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3622
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3623
|
+
[1m[35m (0.3ms)[0m BEGIN
|
3624
|
+
---------------------------------------------------
|
3625
|
+
RepositoryTest: test_returns_a_checklist_when_asked
|
3626
|
+
---------------------------------------------------
|
3627
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3628
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
3629
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3630
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3631
|
+
---------------------------------------------------------
|
3632
|
+
RepositoryTest: test_we_can_add_a_check_to_the_repository
|
3633
|
+
---------------------------------------------------------
|
3634
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3635
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3636
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3637
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3638
|
+
--------------------------------------------------------------
|
3639
|
+
RepositoryTest: test_we_can_remove_a_check_from_the_repository
|
3640
|
+
--------------------------------------------------------------
|
3641
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3642
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3643
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3644
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3645
|
+
--------------------------------------------------------------------------
|
3646
|
+
ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run
|
3647
|
+
--------------------------------------------------------------------------
|
3648
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3649
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3650
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3651
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3652
|
+
----------------------------------------------------------------------------
|
3653
|
+
ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run
|
3654
|
+
----------------------------------------------------------------------------
|
3655
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1[0m
|
3656
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3657
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3658
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3659
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3660
|
+
-------------------------------------------------
|
3661
|
+
ActiveRecordCheckTest: test_given_nil_as_a_config
|
3662
|
+
-------------------------------------------------
|
3663
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3664
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3665
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3666
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3667
|
+
--------------------------------------------------------------------------------------
|
3668
|
+
ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_failed_result_on_a_failed_run
|
3669
|
+
--------------------------------------------------------------------------------------
|
3670
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3671
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3672
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3673
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3674
|
+
----------------------------------------------------------------------------------------
|
3675
|
+
ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_successful_result_on_a_good_run
|
3676
|
+
----------------------------------------------------------------------------------------
|
3677
|
+
[1m[35m (0.1ms)[0m SELECT 1
|
3678
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3679
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3680
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3681
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3682
|
+
--------------------------------------------------------------------------------
|
3683
|
+
SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down
|
3684
|
+
--------------------------------------------------------------------------------
|
3685
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1[0m
|
3686
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3687
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3688
|
+
[1m[35m (0.2ms)[0m BEGIN
|
3689
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
3690
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3691
|
+
-------------------------------------------------------------------------------
|
3692
|
+
SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down
|
3693
|
+
-------------------------------------------------------------------------------
|
3694
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1[0m
|
3695
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3696
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3697
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3698
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3699
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3700
|
+
-------------------------------------------------------------------------------
|
3701
|
+
SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run
|
3702
|
+
-------------------------------------------------------------------------------
|
3703
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1[0m
|
3704
|
+
[1m[35m (0.1ms)[0m SELECT 1
|
3705
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3706
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3707
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3708
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3709
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3710
|
+
------------------------------------------------------
|
3711
|
+
SplitActiveRecordCheckTest: test_given_nil_as_a_config
|
3712
|
+
------------------------------------------------------
|
3713
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3714
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3715
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3716
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3717
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3718
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3719
|
+
---------------------------------------------------------------------
|
3720
|
+
ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass
|
3721
|
+
---------------------------------------------------------------------
|
3722
|
+
[1m[35m (0.1ms)[0m SELECT 1
|
3723
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3724
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3725
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3726
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3727
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3728
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3729
|
+
------------------------------------------------------------------------------------
|
3730
|
+
ChecklistTest: test_#response_status_returns_:service_unavailable_when_a_check_fails
|
3731
|
+
------------------------------------------------------------------------------------
|
3732
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1[0m
|
3733
|
+
Dalli::Server#connect 127.0.0.1:11211
|
3734
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3735
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3736
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3737
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3738
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3739
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3740
|
+
-----------------------------------------------------------------
|
3741
|
+
ChecklistTest: test_#success?_returns_false_when_results_is_empty
|
3742
|
+
-----------------------------------------------------------------
|
3743
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3744
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3745
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3746
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3747
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3748
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3749
|
+
---------------------------------------------------------
|
3750
|
+
ChecklistTest: test_#timing_is_a_sum_of_all_check_results
|
3751
|
+
---------------------------------------------------------
|
3752
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3753
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3754
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3755
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3756
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3757
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3758
|
+
-------------------------------------------------------------------------
|
3759
|
+
ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist
|
3760
|
+
-------------------------------------------------------------------------
|
3761
|
+
[1m[35m (0.1ms)[0m SELECT 1
|
3762
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3763
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3764
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3765
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3766
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3767
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3768
|
+
----------------------------------------------
|
3769
|
+
ChecklistTest: test_can_look_up_checks_by_name
|
3770
|
+
----------------------------------------------
|
3771
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3772
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3773
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3774
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3775
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3776
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3777
|
+
---------------------------------------------
|
3778
|
+
ChecklistTest: test_cat_fetch_a_check_by_name
|
3779
|
+
---------------------------------------------
|
3780
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3781
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3782
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3783
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3784
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3785
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3786
|
+
-------------------------------------------------------------------
|
3787
|
+
ChecklistTest: test_it_knows_the_number_of_checks_in_the_Repository
|
3788
|
+
-------------------------------------------------------------------
|
3789
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3790
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3791
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3792
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3793
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3794
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3795
|
+
------------------------------------------
|
3796
|
+
ChecklistTest: test_it_will_run_each_check
|
3797
|
+
------------------------------------------
|
3798
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1[0m
|
3799
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3800
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3801
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3802
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3803
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3804
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3805
|
+
----------------------------------------------------------------
|
3806
|
+
HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
|
3807
|
+
----------------------------------------------------------------
|
3808
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3809
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3810
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3811
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3812
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3813
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3814
|
+
------------------------------------------------------------------
|
3815
|
+
HttpCheckTest: test_#run_sets_failure_conditions_on_an_errored_run
|
3816
|
+
------------------------------------------------------------------
|
3817
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3818
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3819
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3820
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3821
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3822
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3823
|
+
------------------------------------------------------------------
|
3824
|
+
HttpCheckTest: test_#run_sets_success_conditions_on_successful_run
|
3825
|
+
------------------------------------------------------------------
|
3826
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3827
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3828
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3829
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3830
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3831
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3832
|
+
--------------------------------------
|
3833
|
+
HttpCheckTest: test_given_nil_as_a_url
|
3834
|
+
--------------------------------------
|
3835
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3836
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3837
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3838
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3839
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3840
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3841
|
+
---------------------------------------------------------------------
|
3842
|
+
MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
|
3843
|
+
---------------------------------------------------------------------
|
3844
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3845
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3846
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3847
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3848
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3849
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3850
|
+
-----------------------------------------------------------------------
|
3851
|
+
MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run
|
3852
|
+
-----------------------------------------------------------------------
|
3853
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3854
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3855
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3856
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3857
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3858
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3859
|
+
------------------------------------------------------------------
|
3860
|
+
MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers
|
3861
|
+
------------------------------------------------------------------
|
3862
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3863
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3864
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3865
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3866
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3867
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3868
|
+
---------------------------------------------------------
|
3869
|
+
MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache
|
3870
|
+
---------------------------------------------------------
|
3871
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3872
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3873
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3874
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3875
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3876
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3877
|
+
---------------------------------------------------------------------
|
3878
|
+
SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
|
3879
|
+
---------------------------------------------------------------------
|
3880
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3881
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3882
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3883
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3884
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3885
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3886
|
+
-----------------------------------------------------------------------
|
3887
|
+
SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run
|
3888
|
+
-----------------------------------------------------------------------
|
3889
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
3890
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3891
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|