easymon 1.2.4 → 1.2.5
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/app/controllers/easymon/checks_controller.rb +10 -7
- data/lib/easymon.rb +9 -0
- data/lib/easymon/version.rb +1 -1
- data/test/dummy/log/test.log +2155 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 29ecc776d155e2a0953af0b15d22569a09944d9b
|
4
|
+
data.tar.gz: 936153e7e49f93aec7933313205d1181393fb0d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f2d69c09de39473a0fb124adaac50fe571a42d09b7ebbdbb42f37b26c896841c7a9514304f94e52153edd99aacba358d2ef6e22c7d81ae480955c7dba8e04a3
|
7
|
+
data.tar.gz: 0c26aad8b1237d6767c0e9e0b2f564cd0fcb1a4950faf66c364d712d04bb24defb7dc675cb3963bf4e3cd3fa1793483c0c165cb5682976787c461a74162655b8
|
@@ -5,8 +5,8 @@ module Easymon
|
|
5
5
|
class ChecksController < ApplicationController
|
6
6
|
rescue_from Easymon::NoSuchCheck do |e|
|
7
7
|
respond_to do |format|
|
8
|
-
|
9
|
-
|
8
|
+
format.any(:text, :html) { render_result e.message, :not_found }
|
9
|
+
format.json { render :json => e.message, :status => :not_found }
|
10
10
|
end
|
11
11
|
end
|
12
12
|
|
@@ -32,7 +32,7 @@ module Easymon
|
|
32
32
|
end
|
33
33
|
|
34
34
|
respond_to do |format|
|
35
|
-
format.any(:text, :html) {
|
35
|
+
format.any(:text, :html) { render_result message, response_status }
|
36
36
|
format.json { render :json => checklist, :status => response_status }
|
37
37
|
end
|
38
38
|
end
|
@@ -55,14 +55,12 @@ module Easymon
|
|
55
55
|
result = Easymon::Result.new(check_result, timing, check[:critical])
|
56
56
|
end
|
57
57
|
|
58
|
-
|
59
|
-
|
60
58
|
respond_to do |format|
|
61
59
|
format.any(:text, :html) do
|
62
60
|
if is_critical
|
63
|
-
|
61
|
+
render_result add_prefix(checklist.success?, checklist), checklist.response_status
|
64
62
|
else
|
65
|
-
|
63
|
+
render_result result, result.response_status
|
66
64
|
end
|
67
65
|
end
|
68
66
|
format.json do
|
@@ -76,6 +74,11 @@ module Easymon
|
|
76
74
|
end
|
77
75
|
|
78
76
|
private
|
77
|
+
def render_result(message, status)
|
78
|
+
symbol_for_plain = Easymon.has_render_plain? ? :plain : :text
|
79
|
+
render symbol_for_plain => message, :status => status
|
80
|
+
end
|
81
|
+
|
79
82
|
def add_prefix(result, message)
|
80
83
|
result ? "OK #{message}" : "DOWN #{message}"
|
81
84
|
end
|
data/lib/easymon.rb
CHANGED
@@ -35,6 +35,15 @@ module Easymon
|
|
35
35
|
Easymon.rails_version > Gem::Version.new("3.1")
|
36
36
|
end
|
37
37
|
|
38
|
+
def self.newer_than?(version)
|
39
|
+
Easymon.rails_version > Gem::Version.new(version)
|
40
|
+
end
|
41
|
+
|
42
|
+
def self.has_render_plain?
|
43
|
+
# Rails 4.1.0 introduced :plain, Rails 5 deprecated :text
|
44
|
+
Easymon.newer_than?("4.1.0.beta")
|
45
|
+
end
|
46
|
+
|
38
47
|
def self.routes(mapper, path = "/up")
|
39
48
|
if Easymon.rails2?
|
40
49
|
# Rails 2.3.x (anything less than 3, really)
|
data/lib/easymon/version.rb
CHANGED
data/test/dummy/log/test.log
CHANGED
@@ -408,3 +408,2158 @@ MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache
|
|
408
408
|
[1m[35m (0.1ms)[0m ROLLBACK
|
409
409
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
410
410
|
[1m[35m (0.1ms)[0m ROLLBACK
|
411
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
412
|
+
[1m[35m (0.2ms)[0m BEGIN
|
413
|
+
--------------------------------------------------------------------------
|
414
|
+
RepositoryTest: test_adds_checks_marked_critical_to_the_critical_checklist
|
415
|
+
--------------------------------------------------------------------------
|
416
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
417
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
418
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
419
|
+
[1m[35m (0.2ms)[0m BEGIN
|
420
|
+
--------------------------------------------
|
421
|
+
RepositoryTest: test_fetches_a_check_by_name
|
422
|
+
--------------------------------------------
|
423
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
424
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
425
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
426
|
+
[1m[35m (0.1ms)[0m BEGIN
|
427
|
+
-----------------------------------------------------
|
428
|
+
RepositoryTest: test_fetches_a_critical_check_by_name
|
429
|
+
-----------------------------------------------------
|
430
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
431
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
432
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
433
|
+
[1m[35m (0.1ms)[0m BEGIN
|
434
|
+
---------------------------------------------------
|
435
|
+
RepositoryTest: test_returns_a_checklist_when_asked
|
436
|
+
---------------------------------------------------
|
437
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
438
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
439
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
440
|
+
[1m[35m (0.1ms)[0m BEGIN
|
441
|
+
---------------------------------------------------------
|
442
|
+
RepositoryTest: test_we_can_add_a_check_to_the_repository
|
443
|
+
---------------------------------------------------------
|
444
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
445
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
446
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
447
|
+
[1m[35m (0.1ms)[0m BEGIN
|
448
|
+
--------------------------------------------------------------
|
449
|
+
RepositoryTest: test_we_can_remove_a_check_from_the_repository
|
450
|
+
--------------------------------------------------------------
|
451
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
452
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
453
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
454
|
+
[1m[35m (0.1ms)[0m BEGIN
|
455
|
+
--------------------------------------------------------------------------------
|
456
|
+
SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down
|
457
|
+
--------------------------------------------------------------------------------
|
458
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1[0m
|
459
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
460
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
461
|
+
[1m[35m (0.2ms)[0m BEGIN
|
462
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
463
|
+
[1m[35m (0.2ms)[0m BEGIN
|
464
|
+
-------------------------------------------------------------------------------
|
465
|
+
SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down
|
466
|
+
-------------------------------------------------------------------------------
|
467
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1[0m
|
468
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
469
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
470
|
+
[1m[35m (0.2ms)[0m BEGIN
|
471
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
472
|
+
[1m[35m (0.1ms)[0m BEGIN
|
473
|
+
-------------------------------------------------------------------------------
|
474
|
+
SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run
|
475
|
+
-------------------------------------------------------------------------------
|
476
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1[0m
|
477
|
+
[1m[35m (0.1ms)[0m SELECT 1
|
478
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
479
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
480
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
481
|
+
[1m[35m (0.1ms)[0m BEGIN
|
482
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
483
|
+
------------------------------------------------------
|
484
|
+
SplitActiveRecordCheckTest: test_given_nil_as_a_config
|
485
|
+
------------------------------------------------------
|
486
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
487
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
488
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
489
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
490
|
+
[1m[35m (0.1ms)[0m BEGIN
|
491
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
492
|
+
---------------------------------------------------------------------
|
493
|
+
MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
|
494
|
+
---------------------------------------------------------------------
|
495
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
496
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
497
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
498
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
499
|
+
[1m[35m (0.1ms)[0m BEGIN
|
500
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
501
|
+
-----------------------------------------------------------------------
|
502
|
+
MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run
|
503
|
+
-----------------------------------------------------------------------
|
504
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
505
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
506
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
507
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
508
|
+
[1m[35m (0.1ms)[0m BEGIN
|
509
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
510
|
+
------------------------------------------------------------------
|
511
|
+
MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers
|
512
|
+
------------------------------------------------------------------
|
513
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
514
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
515
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
516
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
517
|
+
[1m[35m (0.1ms)[0m BEGIN
|
518
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
519
|
+
---------------------------------------------------------
|
520
|
+
MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache
|
521
|
+
---------------------------------------------------------
|
522
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
523
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
524
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
525
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
526
|
+
[1m[35m (0.1ms)[0m BEGIN
|
527
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
528
|
+
----------------------------------------------------------------------------
|
529
|
+
TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run
|
530
|
+
----------------------------------------------------------------------------
|
531
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
532
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
533
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
534
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
535
|
+
[1m[35m (0.1ms)[0m BEGIN
|
536
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
537
|
+
------------------------------------------------------------------------------
|
538
|
+
TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run
|
539
|
+
------------------------------------------------------------------------------
|
540
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
541
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
542
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
543
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
544
|
+
[1m[35m (0.1ms)[0m BEGIN
|
545
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
546
|
+
---------------------------------------------------------------------
|
547
|
+
SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
|
548
|
+
---------------------------------------------------------------------
|
549
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
550
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
551
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
552
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
553
|
+
[1m[35m (0.1ms)[0m BEGIN
|
554
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
555
|
+
-----------------------------------------------------------------------
|
556
|
+
SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run
|
557
|
+
-----------------------------------------------------------------------
|
558
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
559
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
560
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
561
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
562
|
+
[1m[35m (0.1ms)[0m BEGIN
|
563
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
564
|
+
--------------------------------------------------------------------------
|
565
|
+
ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run
|
566
|
+
--------------------------------------------------------------------------
|
567
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
568
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
569
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
570
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
571
|
+
[1m[35m (0.1ms)[0m BEGIN
|
572
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
573
|
+
----------------------------------------------------------------------------
|
574
|
+
ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run
|
575
|
+
----------------------------------------------------------------------------
|
576
|
+
[1m[35m (0.1ms)[0m SELECT 1
|
577
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
578
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
579
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
580
|
+
[1m[35m (0.1ms)[0m BEGIN
|
581
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
582
|
+
[1m[35m (0.1ms)[0m BEGIN
|
583
|
+
-------------------------------------------------
|
584
|
+
ActiveRecordCheckTest: test_given_nil_as_a_config
|
585
|
+
-------------------------------------------------
|
586
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
587
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
588
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
589
|
+
[1m[35m (0.1ms)[0m BEGIN
|
590
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
591
|
+
[1m[35m (0.1ms)[0m BEGIN
|
592
|
+
-----------------------------------------------------------------
|
593
|
+
RedisCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
|
594
|
+
-----------------------------------------------------------------
|
595
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
596
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
597
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
598
|
+
[1m[35m (0.1ms)[0m BEGIN
|
599
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
600
|
+
[1m[35m (0.1ms)[0m BEGIN
|
601
|
+
-------------------------------------------------------------------
|
602
|
+
RedisCheckTest: test_#run_sets_success_conditions_on_successful_run
|
603
|
+
-------------------------------------------------------------------
|
604
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
605
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
606
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
607
|
+
[1m[35m (0.1ms)[0m BEGIN
|
608
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
609
|
+
[1m[35m (0.1ms)[0m BEGIN
|
610
|
+
------------------------------------------
|
611
|
+
RedisCheckTest: test_given_nil_as_a_config
|
612
|
+
------------------------------------------
|
613
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
614
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
615
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
616
|
+
[1m[35m (0.1ms)[0m BEGIN
|
617
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
618
|
+
[1m[35m (0.1ms)[0m BEGIN
|
619
|
+
--------------------------------------------------------------------------------------
|
620
|
+
ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_failed_result_on_a_failed_run
|
621
|
+
--------------------------------------------------------------------------------------
|
622
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
623
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
624
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
625
|
+
[1m[35m (0.1ms)[0m BEGIN
|
626
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
627
|
+
[1m[35m (0.1ms)[0m BEGIN
|
628
|
+
----------------------------------------------------------------------------------------
|
629
|
+
ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_successful_result_on_a_good_run
|
630
|
+
----------------------------------------------------------------------------------------
|
631
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1[0m
|
632
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
633
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
634
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
635
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
636
|
+
[1m[35m (0.1ms)[0m BEGIN
|
637
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
638
|
+
------------------------------------------------------------
|
639
|
+
Easymon::ChecksControllerTest: test_index_returns_valid_json
|
640
|
+
------------------------------------------------------------
|
641
|
+
Processing by Easymon::ChecksController#index as JSON
|
642
|
+
[1m[35m (0.2ms)[0m SELECT 1
|
643
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
644
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
645
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
646
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
647
|
+
[1m[35m (0.1ms)[0m BEGIN
|
648
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
649
|
+
[1m[35m (0.1ms)[0m BEGIN
|
650
|
+
------------------------------------------------------------
|
651
|
+
Easymon::ChecksControllerTest: test_index_when_a_check_fails
|
652
|
+
------------------------------------------------------------
|
653
|
+
Processing by Easymon::ChecksController#index as HTML
|
654
|
+
[1m[36m (0.3ms)[0m [1mSELECT 1[0m
|
655
|
+
Rendered text template (0.0ms)
|
656
|
+
Completed 503 Service Unavailable in 2ms (Views: 1.4ms | ActiveRecord: 0.3ms)
|
657
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
658
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
659
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
660
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
661
|
+
[1m[35m (0.1ms)[0m BEGIN
|
662
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
663
|
+
---------------------------------------------------------------------
|
664
|
+
Easymon::ChecksControllerTest: test_index_when_a_critical_check_fails
|
665
|
+
---------------------------------------------------------------------
|
666
|
+
Processing by Easymon::ChecksController#index as HTML
|
667
|
+
Rendered text template (0.0ms)
|
668
|
+
Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
669
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
670
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
671
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
672
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
673
|
+
[1m[35m (0.1ms)[0m BEGIN
|
674
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
675
|
+
-------------------------------------------------------------------------
|
676
|
+
Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails
|
677
|
+
-------------------------------------------------------------------------
|
678
|
+
Processing by Easymon::ChecksController#index as HTML
|
679
|
+
[1m[35m (0.2ms)[0m SELECT 1
|
680
|
+
Rendered text template (0.0ms)
|
681
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
682
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
683
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
684
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
685
|
+
[1m[35m (0.1ms)[0m BEGIN
|
686
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
687
|
+
[1m[35m (0.1ms)[0m BEGIN
|
688
|
+
--------------------------------------------------------------
|
689
|
+
Easymon::ChecksControllerTest: test_index_when_all_checks_pass
|
690
|
+
--------------------------------------------------------------
|
691
|
+
Processing by Easymon::ChecksController#index as HTML
|
692
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1[0m
|
693
|
+
Rendered text template (0.0ms)
|
694
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
695
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
696
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
697
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
698
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
699
|
+
[1m[35m (0.1ms)[0m BEGIN
|
700
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
701
|
+
--------------------------------------------------------------------
|
702
|
+
Easymon::ChecksControllerTest: test_index_when_no_checks_are_defined
|
703
|
+
--------------------------------------------------------------------
|
704
|
+
Processing by Easymon::ChecksController#index as HTML
|
705
|
+
Rendered text template (0.0ms)
|
706
|
+
Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
707
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
708
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
709
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
710
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
711
|
+
[1m[35m (0.1ms)[0m BEGIN
|
712
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
713
|
+
------------------------------------------------------------------
|
714
|
+
Easymon::ChecksControllerTest: test_show_if_the_check_is_not_found
|
715
|
+
------------------------------------------------------------------
|
716
|
+
Processing by Easymon::ChecksController#show as HTML
|
717
|
+
Parameters: {"check"=>"database"}
|
718
|
+
Rendered text template (0.0ms)
|
719
|
+
Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
720
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
721
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
722
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
723
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
724
|
+
[1m[35m (0.1ms)[0m BEGIN
|
725
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
726
|
+
-------------------------------------------------------------------
|
727
|
+
Easymon::ChecksControllerTest: test_show_json_when_the_check_passes
|
728
|
+
-------------------------------------------------------------------
|
729
|
+
Processing by Easymon::ChecksController#show as JSON
|
730
|
+
Parameters: {"check"=>"database"}
|
731
|
+
[1m[35m (0.2ms)[0m SELECT 1
|
732
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
733
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
734
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
735
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
736
|
+
[1m[35m (0.1ms)[0m BEGIN
|
737
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
738
|
+
[1m[35m (0.1ms)[0m BEGIN
|
739
|
+
-------------------------------------------------------------
|
740
|
+
Easymon::ChecksControllerTest: test_show_when_the_check_fails
|
741
|
+
-------------------------------------------------------------
|
742
|
+
Processing by Easymon::ChecksController#show as HTML
|
743
|
+
Parameters: {"check"=>"database"}
|
744
|
+
Rendered text template (0.0ms)
|
745
|
+
Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
746
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
747
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
748
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
749
|
+
[1m[35m (0.2ms)[0m BEGIN
|
750
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
751
|
+
[1m[35m (0.2ms)[0m BEGIN
|
752
|
+
--------------------------------------------------------------
|
753
|
+
Easymon::ChecksControllerTest: test_show_when_the_check_passes
|
754
|
+
--------------------------------------------------------------
|
755
|
+
Processing by Easymon::ChecksController#show as HTML
|
756
|
+
Parameters: {"check"=>"database"}
|
757
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1[0m
|
758
|
+
Rendered text template (0.0ms)
|
759
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
760
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
761
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
762
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
763
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
764
|
+
[1m[35m (0.1ms)[0m BEGIN
|
765
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
766
|
+
---------------------------------------------------------------------
|
767
|
+
ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass
|
768
|
+
---------------------------------------------------------------------
|
769
|
+
[1m[35m (0.1ms)[0m SELECT 1
|
770
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
771
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
772
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
773
|
+
[1m[35m (0.1ms)[0m BEGIN
|
774
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
775
|
+
[1m[35m (0.1ms)[0m BEGIN
|
776
|
+
------------------------------------------------------------------------------------
|
777
|
+
ChecklistTest: test_#response_status_returns_:service_unavailable_when_a_check_fails
|
778
|
+
------------------------------------------------------------------------------------
|
779
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1[0m
|
780
|
+
Dalli::Server#connect 127.0.0.1:11211
|
781
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
782
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
783
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
784
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
785
|
+
[1m[35m (0.1ms)[0m BEGIN
|
786
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
787
|
+
-----------------------------------------------------------------
|
788
|
+
ChecklistTest: test_#success?_returns_false_when_results_is_empty
|
789
|
+
-----------------------------------------------------------------
|
790
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
791
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
792
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
793
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
794
|
+
[1m[35m (0.1ms)[0m BEGIN
|
795
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
796
|
+
---------------------------------------------------------
|
797
|
+
ChecklistTest: test_#timing_is_a_sum_of_all_check_results
|
798
|
+
---------------------------------------------------------
|
799
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
800
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
801
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
802
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
803
|
+
[1m[35m (0.1ms)[0m BEGIN
|
804
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
805
|
+
-------------------------------------------------------------------------
|
806
|
+
ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist
|
807
|
+
-------------------------------------------------------------------------
|
808
|
+
[1m[35m (0.1ms)[0m SELECT 1
|
809
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
810
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
811
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
812
|
+
[1m[35m (0.1ms)[0m BEGIN
|
813
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
814
|
+
[1m[35m (0.1ms)[0m BEGIN
|
815
|
+
----------------------------------------------
|
816
|
+
ChecklistTest: test_can_look_up_checks_by_name
|
817
|
+
----------------------------------------------
|
818
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
819
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
820
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
821
|
+
[1m[35m (0.1ms)[0m BEGIN
|
822
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
823
|
+
[1m[35m (0.1ms)[0m BEGIN
|
824
|
+
---------------------------------------------
|
825
|
+
ChecklistTest: test_cat_fetch_a_check_by_name
|
826
|
+
---------------------------------------------
|
827
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
828
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
829
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
830
|
+
[1m[35m (0.1ms)[0m BEGIN
|
831
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
832
|
+
[1m[35m (0.1ms)[0m BEGIN
|
833
|
+
-------------------------------------------------------------------
|
834
|
+
ChecklistTest: test_it_knows_the_number_of_checks_in_the_Repository
|
835
|
+
-------------------------------------------------------------------
|
836
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
837
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
838
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
839
|
+
[1m[35m (0.1ms)[0m BEGIN
|
840
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
841
|
+
[1m[35m (0.1ms)[0m BEGIN
|
842
|
+
------------------------------------------
|
843
|
+
ChecklistTest: test_it_will_run_each_check
|
844
|
+
------------------------------------------
|
845
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1[0m
|
846
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
847
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
848
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
849
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
850
|
+
[1m[35m (0.1ms)[0m BEGIN
|
851
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
852
|
+
----------------------------------------------------------------
|
853
|
+
HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
|
854
|
+
----------------------------------------------------------------
|
855
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
856
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
857
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
858
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
859
|
+
[1m[35m (0.1ms)[0m BEGIN
|
860
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
861
|
+
------------------------------------------------------------------
|
862
|
+
HttpCheckTest: test_#run_sets_failure_conditions_on_an_errored_run
|
863
|
+
------------------------------------------------------------------
|
864
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
865
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
866
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
867
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
868
|
+
[1m[35m (0.1ms)[0m BEGIN
|
869
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
870
|
+
------------------------------------------------------------------
|
871
|
+
HttpCheckTest: test_#run_sets_success_conditions_on_successful_run
|
872
|
+
------------------------------------------------------------------
|
873
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
874
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
875
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
876
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
877
|
+
[1m[35m (0.1ms)[0m BEGIN
|
878
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
879
|
+
--------------------------------------
|
880
|
+
HttpCheckTest: test_given_nil_as_a_url
|
881
|
+
--------------------------------------
|
882
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
883
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
884
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
885
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
886
|
+
----------------------------------------------------------------------------
|
887
|
+
TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run
|
888
|
+
----------------------------------------------------------------------------
|
889
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
890
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
891
|
+
------------------------------------------------------------------------------
|
892
|
+
TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run
|
893
|
+
------------------------------------------------------------------------------
|
894
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
895
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
896
|
+
---------------------------------------------------------------------
|
897
|
+
ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass
|
898
|
+
---------------------------------------------------------------------
|
899
|
+
[1m[35m (0.3ms)[0m SELECT 1=1
|
900
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
901
|
+
[1m[35m (0.2ms)[0m BEGIN
|
902
|
+
------------------------------------------------------------------------------------
|
903
|
+
ChecklistTest: test_#response_status_returns_:service_unavailable_when_a_check_fails
|
904
|
+
------------------------------------------------------------------------------------
|
905
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1=1[0m
|
906
|
+
Dalli::Server#connect 127.0.0.1:11211
|
907
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
908
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
909
|
+
-----------------------------------------------------------------
|
910
|
+
ChecklistTest: test_#success?_returns_false_when_results_is_empty
|
911
|
+
-----------------------------------------------------------------
|
912
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
913
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
914
|
+
---------------------------------------------------------
|
915
|
+
ChecklistTest: test_#timing_is_a_sum_of_all_check_results
|
916
|
+
---------------------------------------------------------
|
917
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
918
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
919
|
+
-------------------------------------------------------------------------
|
920
|
+
ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist
|
921
|
+
-------------------------------------------------------------------------
|
922
|
+
[1m[35m (0.2ms)[0m SELECT 1=1
|
923
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
924
|
+
[1m[35m (0.1ms)[0m BEGIN
|
925
|
+
----------------------------------------------
|
926
|
+
ChecklistTest: test_can_look_up_checks_by_name
|
927
|
+
----------------------------------------------
|
928
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
929
|
+
[1m[35m (0.1ms)[0m BEGIN
|
930
|
+
---------------------------------------------
|
931
|
+
ChecklistTest: test_cat_fetch_a_check_by_name
|
932
|
+
---------------------------------------------
|
933
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
934
|
+
[1m[35m (0.1ms)[0m BEGIN
|
935
|
+
-------------------------------------------------------------------
|
936
|
+
ChecklistTest: test_it_knows_the_number_of_checks_in_the_Repository
|
937
|
+
-------------------------------------------------------------------
|
938
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
939
|
+
[1m[35m (0.1ms)[0m BEGIN
|
940
|
+
------------------------------------------
|
941
|
+
ChecklistTest: test_it_will_run_each_check
|
942
|
+
------------------------------------------
|
943
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1=1[0m
|
944
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
945
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
946
|
+
--------------------------------------------------------------------------
|
947
|
+
RepositoryTest: test_adds_checks_marked_critical_to_the_critical_checklist
|
948
|
+
--------------------------------------------------------------------------
|
949
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
950
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
951
|
+
--------------------------------------------
|
952
|
+
RepositoryTest: test_fetches_a_check_by_name
|
953
|
+
--------------------------------------------
|
954
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
955
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
956
|
+
-----------------------------------------------------
|
957
|
+
RepositoryTest: test_fetches_a_critical_check_by_name
|
958
|
+
-----------------------------------------------------
|
959
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
960
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
961
|
+
---------------------------------------------------
|
962
|
+
RepositoryTest: test_returns_a_checklist_when_asked
|
963
|
+
---------------------------------------------------
|
964
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
965
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
966
|
+
---------------------------------------------------------
|
967
|
+
RepositoryTest: test_we_can_add_a_check_to_the_repository
|
968
|
+
---------------------------------------------------------
|
969
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
970
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
971
|
+
--------------------------------------------------------------
|
972
|
+
RepositoryTest: test_we_can_remove_a_check_from_the_repository
|
973
|
+
--------------------------------------------------------------
|
974
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
975
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
976
|
+
------------------------------------------------------------
|
977
|
+
Easymon::ChecksControllerTest: test_index_returns_valid_json
|
978
|
+
------------------------------------------------------------
|
979
|
+
Processing by Easymon::ChecksController#index as JSON
|
980
|
+
[1m[35m (0.2ms)[0m SELECT 1=1
|
981
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
982
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
983
|
+
[1m[35m (0.2ms)[0m BEGIN
|
984
|
+
------------------------------------------------------------
|
985
|
+
Easymon::ChecksControllerTest: test_index_when_a_check_fails
|
986
|
+
------------------------------------------------------------
|
987
|
+
Processing by Easymon::ChecksController#index as HTML
|
988
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1=1[0m
|
989
|
+
Rendered text template (0.0ms)
|
990
|
+
Completed 503 Service Unavailable in 5ms (Views: 2.0ms | ActiveRecord: 0.2ms)
|
991
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
992
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
993
|
+
---------------------------------------------------------------------
|
994
|
+
Easymon::ChecksControllerTest: test_index_when_a_critical_check_fails
|
995
|
+
---------------------------------------------------------------------
|
996
|
+
Processing by Easymon::ChecksController#index as HTML
|
997
|
+
Rendered text template (0.0ms)
|
998
|
+
Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
999
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1000
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1001
|
+
-------------------------------------------------------------------------
|
1002
|
+
Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails
|
1003
|
+
-------------------------------------------------------------------------
|
1004
|
+
Processing by Easymon::ChecksController#index as HTML
|
1005
|
+
[1m[35m (0.2ms)[0m SELECT 1=1
|
1006
|
+
Rendered text template (0.0ms)
|
1007
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
1008
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1009
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1010
|
+
--------------------------------------------------------------
|
1011
|
+
Easymon::ChecksControllerTest: test_index_when_all_checks_pass
|
1012
|
+
--------------------------------------------------------------
|
1013
|
+
Processing by Easymon::ChecksController#index as HTML
|
1014
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1=1[0m
|
1015
|
+
Rendered text template (0.0ms)
|
1016
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
1017
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1018
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1019
|
+
--------------------------------------------------------------------
|
1020
|
+
Easymon::ChecksControllerTest: test_index_when_no_checks_are_defined
|
1021
|
+
--------------------------------------------------------------------
|
1022
|
+
Processing by Easymon::ChecksController#index as HTML
|
1023
|
+
Rendered text template (0.0ms)
|
1024
|
+
Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
1025
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1026
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1027
|
+
----------------------------------------------------------------
|
1028
|
+
Easymon::ChecksControllerTest: test_return_404_if_not_authorized
|
1029
|
+
----------------------------------------------------------------
|
1030
|
+
Processing by Easymon::ChecksController#index as HTML
|
1031
|
+
Filter chain halted as :authorize_request rendered or redirected
|
1032
|
+
Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
|
1033
|
+
Processing by Easymon::ChecksController#show as HTML
|
1034
|
+
Parameters: {"check"=>"database"}
|
1035
|
+
Filter chain halted as :authorize_request rendered or redirected
|
1036
|
+
Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
|
1037
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1038
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1039
|
+
------------------------------------------------------------------
|
1040
|
+
Easymon::ChecksControllerTest: test_show_if_the_check_is_not_found
|
1041
|
+
------------------------------------------------------------------
|
1042
|
+
Processing by Easymon::ChecksController#show as HTML
|
1043
|
+
Parameters: {"check"=>"database"}
|
1044
|
+
Rendered text template (0.0ms)
|
1045
|
+
Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
1046
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1047
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1048
|
+
-------------------------------------------------------------------
|
1049
|
+
Easymon::ChecksControllerTest: test_show_json_when_the_check_passes
|
1050
|
+
-------------------------------------------------------------------
|
1051
|
+
Processing by Easymon::ChecksController#show as JSON
|
1052
|
+
Parameters: {"check"=>"database"}
|
1053
|
+
[1m[35m (0.2ms)[0m SELECT 1=1
|
1054
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
1055
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1056
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1057
|
+
-------------------------------------------------------------
|
1058
|
+
Easymon::ChecksControllerTest: test_show_when_the_check_fails
|
1059
|
+
-------------------------------------------------------------
|
1060
|
+
Processing by Easymon::ChecksController#show as HTML
|
1061
|
+
Parameters: {"check"=>"database"}
|
1062
|
+
Rendered text template (0.0ms)
|
1063
|
+
Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
1064
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1065
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1066
|
+
--------------------------------------------------------------
|
1067
|
+
Easymon::ChecksControllerTest: test_show_when_the_check_passes
|
1068
|
+
--------------------------------------------------------------
|
1069
|
+
Processing by Easymon::ChecksController#show as HTML
|
1070
|
+
Parameters: {"check"=>"database"}
|
1071
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1=1[0m
|
1072
|
+
Rendered text template (0.0ms)
|
1073
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
1074
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1075
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1076
|
+
---------------------------------------------------------------------
|
1077
|
+
MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
|
1078
|
+
---------------------------------------------------------------------
|
1079
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1080
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1081
|
+
-----------------------------------------------------------------------
|
1082
|
+
MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run
|
1083
|
+
-----------------------------------------------------------------------
|
1084
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1085
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1086
|
+
------------------------------------------------------------------
|
1087
|
+
MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers
|
1088
|
+
------------------------------------------------------------------
|
1089
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1090
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1091
|
+
---------------------------------------------------------
|
1092
|
+
MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache
|
1093
|
+
---------------------------------------------------------
|
1094
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1095
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1096
|
+
--------------------------------------------------------------------------------
|
1097
|
+
SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down
|
1098
|
+
--------------------------------------------------------------------------------
|
1099
|
+
[1m[35m (0.2ms)[0m SELECT 1=1
|
1100
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1101
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1102
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1103
|
+
-------------------------------------------------------------------------------
|
1104
|
+
SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down
|
1105
|
+
-------------------------------------------------------------------------------
|
1106
|
+
[1m[35m (0.2ms)[0m SELECT 1=1
|
1107
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1108
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1109
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1110
|
+
-------------------------------------------------------------------------------
|
1111
|
+
SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run
|
1112
|
+
-------------------------------------------------------------------------------
|
1113
|
+
[1m[35m (0.1ms)[0m SELECT 1=1
|
1114
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1=1[0m
|
1115
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1116
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1117
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1118
|
+
------------------------------------------------------
|
1119
|
+
SplitActiveRecordCheckTest: test_given_nil_as_a_config
|
1120
|
+
------------------------------------------------------
|
1121
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1122
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1123
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1124
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1125
|
+
----------------------------------------------------------------
|
1126
|
+
HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
|
1127
|
+
----------------------------------------------------------------
|
1128
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1129
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1130
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1131
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1132
|
+
------------------------------------------------------------------
|
1133
|
+
HttpCheckTest: test_#run_sets_failure_conditions_on_an_errored_run
|
1134
|
+
------------------------------------------------------------------
|
1135
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1136
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1137
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1138
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1139
|
+
------------------------------------------------------------------
|
1140
|
+
HttpCheckTest: test_#run_sets_success_conditions_on_successful_run
|
1141
|
+
------------------------------------------------------------------
|
1142
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1143
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1144
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1145
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1146
|
+
--------------------------------------
|
1147
|
+
HttpCheckTest: test_given_nil_as_a_url
|
1148
|
+
--------------------------------------
|
1149
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1150
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1151
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1152
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1153
|
+
--------------------------------------------------------------------------
|
1154
|
+
ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run
|
1155
|
+
--------------------------------------------------------------------------
|
1156
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1157
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1158
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1159
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1160
|
+
----------------------------------------------------------------------------
|
1161
|
+
ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run
|
1162
|
+
----------------------------------------------------------------------------
|
1163
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1=1[0m
|
1164
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1165
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1166
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1167
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1168
|
+
-------------------------------------------------
|
1169
|
+
ActiveRecordCheckTest: test_given_nil_as_a_config
|
1170
|
+
-------------------------------------------------
|
1171
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1172
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1173
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1174
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1175
|
+
-----------------------------------------------------------------
|
1176
|
+
RedisCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
|
1177
|
+
-----------------------------------------------------------------
|
1178
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1179
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1180
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1181
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1182
|
+
-------------------------------------------------------------------
|
1183
|
+
RedisCheckTest: test_#run_sets_success_conditions_on_successful_run
|
1184
|
+
-------------------------------------------------------------------
|
1185
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1186
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1187
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1188
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1189
|
+
------------------------------------------
|
1190
|
+
RedisCheckTest: test_given_nil_as_a_config
|
1191
|
+
------------------------------------------
|
1192
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1193
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1194
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1195
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1196
|
+
---------------------------------------------------------------------
|
1197
|
+
SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
|
1198
|
+
---------------------------------------------------------------------
|
1199
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1200
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1201
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1202
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1203
|
+
-----------------------------------------------------------------------
|
1204
|
+
SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run
|
1205
|
+
-----------------------------------------------------------------------
|
1206
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1207
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1208
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1209
|
+
------------------------------------------------------------
|
1210
|
+
Easymon::ChecksControllerTest: test_index_returns_valid_json
|
1211
|
+
------------------------------------------------------------
|
1212
|
+
Processing by Easymon::ChecksController#index as JSON
|
1213
|
+
[1m[35m (0.2ms)[0m SELECT 1=1
|
1214
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
1215
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1216
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1217
|
+
------------------------------------------------------------
|
1218
|
+
Easymon::ChecksControllerTest: test_index_when_a_check_fails
|
1219
|
+
------------------------------------------------------------
|
1220
|
+
Processing by Easymon::ChecksController#index as HTML
|
1221
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1=1[0m
|
1222
|
+
Rendered text template (0.0ms)
|
1223
|
+
Completed 503 Service Unavailable in 2ms (Views: 1.8ms | ActiveRecord: 0.2ms)
|
1224
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1225
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1226
|
+
---------------------------------------------------------------------
|
1227
|
+
Easymon::ChecksControllerTest: test_index_when_a_critical_check_fails
|
1228
|
+
---------------------------------------------------------------------
|
1229
|
+
Processing by Easymon::ChecksController#index as HTML
|
1230
|
+
Rendered text template (0.0ms)
|
1231
|
+
Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
1232
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1233
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1234
|
+
-------------------------------------------------------------------------
|
1235
|
+
Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails
|
1236
|
+
-------------------------------------------------------------------------
|
1237
|
+
Processing by Easymon::ChecksController#index as HTML
|
1238
|
+
[1m[35m (0.2ms)[0m SELECT 1=1
|
1239
|
+
Rendered text template (0.0ms)
|
1240
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
1241
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1242
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1243
|
+
--------------------------------------------------------------
|
1244
|
+
Easymon::ChecksControllerTest: test_index_when_all_checks_pass
|
1245
|
+
--------------------------------------------------------------
|
1246
|
+
Processing by Easymon::ChecksController#index as HTML
|
1247
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1=1[0m
|
1248
|
+
Rendered text template (0.0ms)
|
1249
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
1250
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1251
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
1252
|
+
--------------------------------------------------------------------
|
1253
|
+
Easymon::ChecksControllerTest: test_index_when_no_checks_are_defined
|
1254
|
+
--------------------------------------------------------------------
|
1255
|
+
Processing by Easymon::ChecksController#index as HTML
|
1256
|
+
Rendered text template (0.0ms)
|
1257
|
+
Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
1258
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1259
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1260
|
+
----------------------------------------------------------------
|
1261
|
+
Easymon::ChecksControllerTest: test_return_404_if_not_authorized
|
1262
|
+
----------------------------------------------------------------
|
1263
|
+
Processing by Easymon::ChecksController#index as HTML
|
1264
|
+
Filter chain halted as :authorize_request rendered or redirected
|
1265
|
+
Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
|
1266
|
+
Processing by Easymon::ChecksController#show as HTML
|
1267
|
+
Parameters: {"check"=>"database"}
|
1268
|
+
Filter chain halted as :authorize_request rendered or redirected
|
1269
|
+
Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
|
1270
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1271
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1272
|
+
------------------------------------------------------------------
|
1273
|
+
Easymon::ChecksControllerTest: test_show_if_the_check_is_not_found
|
1274
|
+
------------------------------------------------------------------
|
1275
|
+
Processing by Easymon::ChecksController#show as HTML
|
1276
|
+
Parameters: {"check"=>"database"}
|
1277
|
+
Rendered text template (0.0ms)
|
1278
|
+
Completed 404 Not Found in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
1279
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1280
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1281
|
+
-------------------------------------------------------------------
|
1282
|
+
Easymon::ChecksControllerTest: test_show_json_when_the_check_passes
|
1283
|
+
-------------------------------------------------------------------
|
1284
|
+
Processing by Easymon::ChecksController#show as JSON
|
1285
|
+
Parameters: {"check"=>"database"}
|
1286
|
+
[1m[35m (0.2ms)[0m SELECT 1=1
|
1287
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
1288
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1289
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1290
|
+
-------------------------------------------------------------
|
1291
|
+
Easymon::ChecksControllerTest: test_show_when_the_check_fails
|
1292
|
+
-------------------------------------------------------------
|
1293
|
+
Processing by Easymon::ChecksController#show as HTML
|
1294
|
+
Parameters: {"check"=>"database"}
|
1295
|
+
Rendered text template (0.0ms)
|
1296
|
+
Completed 503 Service Unavailable in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
1297
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1298
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1299
|
+
--------------------------------------------------------------
|
1300
|
+
Easymon::ChecksControllerTest: test_show_when_the_check_passes
|
1301
|
+
--------------------------------------------------------------
|
1302
|
+
Processing by Easymon::ChecksController#show as HTML
|
1303
|
+
Parameters: {"check"=>"database"}
|
1304
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1=1[0m
|
1305
|
+
Rendered text template (0.0ms)
|
1306
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
1307
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1308
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1309
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1310
|
+
-----------------------------------------------------------------
|
1311
|
+
RedisCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
|
1312
|
+
-----------------------------------------------------------------
|
1313
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1314
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1315
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1316
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1317
|
+
-------------------------------------------------------------------
|
1318
|
+
RedisCheckTest: test_#run_sets_success_conditions_on_successful_run
|
1319
|
+
-------------------------------------------------------------------
|
1320
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1321
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1322
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1323
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1324
|
+
------------------------------------------
|
1325
|
+
RedisCheckTest: test_given_nil_as_a_config
|
1326
|
+
------------------------------------------
|
1327
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1328
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1329
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1330
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1331
|
+
----------------------------------------------------------------------------
|
1332
|
+
TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run
|
1333
|
+
----------------------------------------------------------------------------
|
1334
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1335
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1336
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1337
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1338
|
+
------------------------------------------------------------------------------
|
1339
|
+
TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run
|
1340
|
+
------------------------------------------------------------------------------
|
1341
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1342
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1343
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1344
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1345
|
+
--------------------------------------------------------------------------
|
1346
|
+
ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run
|
1347
|
+
--------------------------------------------------------------------------
|
1348
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1349
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1350
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1351
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1352
|
+
----------------------------------------------------------------------------
|
1353
|
+
ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run
|
1354
|
+
----------------------------------------------------------------------------
|
1355
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1[0m
|
1356
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1357
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1358
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1359
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1360
|
+
-------------------------------------------------
|
1361
|
+
ActiveRecordCheckTest: test_given_nil_as_a_config
|
1362
|
+
-------------------------------------------------
|
1363
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1364
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1365
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1366
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1367
|
+
--------------------------------------------------------------------------------------
|
1368
|
+
ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_failed_result_on_a_failed_run
|
1369
|
+
--------------------------------------------------------------------------------------
|
1370
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1371
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1372
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1373
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1374
|
+
----------------------------------------------------------------------------------------
|
1375
|
+
ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_successful_result_on_a_good_run
|
1376
|
+
----------------------------------------------------------------------------------------
|
1377
|
+
[1m[35m (0.1ms)[0m SELECT 1
|
1378
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1379
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
1380
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1381
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1382
|
+
----------------------------------------------------------------
|
1383
|
+
HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
|
1384
|
+
----------------------------------------------------------------
|
1385
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1386
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1387
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1388
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1389
|
+
------------------------------------------------------------------
|
1390
|
+
HttpCheckTest: test_#run_sets_failure_conditions_on_an_errored_run
|
1391
|
+
------------------------------------------------------------------
|
1392
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1393
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1394
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1395
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1396
|
+
------------------------------------------------------------------
|
1397
|
+
HttpCheckTest: test_#run_sets_success_conditions_on_successful_run
|
1398
|
+
------------------------------------------------------------------
|
1399
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1400
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1401
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1402
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1403
|
+
--------------------------------------
|
1404
|
+
HttpCheckTest: test_given_nil_as_a_url
|
1405
|
+
--------------------------------------
|
1406
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1407
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1408
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1409
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1410
|
+
---------------------------------------------------------------------
|
1411
|
+
ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass
|
1412
|
+
---------------------------------------------------------------------
|
1413
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1[0m
|
1414
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1415
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1416
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1417
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1418
|
+
------------------------------------------------------------------------------------
|
1419
|
+
ChecklistTest: test_#response_status_returns_:service_unavailable_when_a_check_fails
|
1420
|
+
------------------------------------------------------------------------------------
|
1421
|
+
[1m[35m (0.2ms)[0m SELECT 1
|
1422
|
+
Dalli::Server#connect 127.0.0.1:11211
|
1423
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1424
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1425
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1426
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1427
|
+
-----------------------------------------------------------------
|
1428
|
+
ChecklistTest: test_#success?_returns_false_when_results_is_empty
|
1429
|
+
-----------------------------------------------------------------
|
1430
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1431
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1432
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1433
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1434
|
+
---------------------------------------------------------
|
1435
|
+
ChecklistTest: test_#timing_is_a_sum_of_all_check_results
|
1436
|
+
---------------------------------------------------------
|
1437
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1438
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1439
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1440
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1441
|
+
-------------------------------------------------------------------------
|
1442
|
+
ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist
|
1443
|
+
-------------------------------------------------------------------------
|
1444
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1[0m
|
1445
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1446
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1447
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1448
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1449
|
+
----------------------------------------------
|
1450
|
+
ChecklistTest: test_can_look_up_checks_by_name
|
1451
|
+
----------------------------------------------
|
1452
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1453
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1454
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1455
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1456
|
+
---------------------------------------------
|
1457
|
+
ChecklistTest: test_cat_fetch_a_check_by_name
|
1458
|
+
---------------------------------------------
|
1459
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1460
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1461
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1462
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1463
|
+
-------------------------------------------------------------------
|
1464
|
+
ChecklistTest: test_it_knows_the_number_of_checks_in_the_Repository
|
1465
|
+
-------------------------------------------------------------------
|
1466
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1467
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1468
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1469
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1470
|
+
------------------------------------------
|
1471
|
+
ChecklistTest: test_it_will_run_each_check
|
1472
|
+
------------------------------------------
|
1473
|
+
[1m[35m (0.1ms)[0m SELECT 1
|
1474
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1475
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1476
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1477
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1478
|
+
---------------------------------------------------------------------
|
1479
|
+
MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
|
1480
|
+
---------------------------------------------------------------------
|
1481
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1482
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1483
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1484
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1485
|
+
-----------------------------------------------------------------------
|
1486
|
+
MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run
|
1487
|
+
-----------------------------------------------------------------------
|
1488
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1489
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1490
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1491
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1492
|
+
------------------------------------------------------------------
|
1493
|
+
MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers
|
1494
|
+
------------------------------------------------------------------
|
1495
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1496
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1497
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1498
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1499
|
+
---------------------------------------------------------
|
1500
|
+
MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache
|
1501
|
+
---------------------------------------------------------
|
1502
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1503
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1504
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1505
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1506
|
+
---------------------------------------------------------------------
|
1507
|
+
SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
|
1508
|
+
---------------------------------------------------------------------
|
1509
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1510
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1511
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1512
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1513
|
+
-----------------------------------------------------------------------
|
1514
|
+
SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run
|
1515
|
+
-----------------------------------------------------------------------
|
1516
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1517
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1518
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1519
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1520
|
+
--------------------------------------------------------------------------
|
1521
|
+
RepositoryTest: test_adds_checks_marked_critical_to_the_critical_checklist
|
1522
|
+
--------------------------------------------------------------------------
|
1523
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1524
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1525
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1526
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1527
|
+
--------------------------------------------
|
1528
|
+
RepositoryTest: test_fetches_a_check_by_name
|
1529
|
+
--------------------------------------------
|
1530
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1531
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1532
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1533
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1534
|
+
-----------------------------------------------------
|
1535
|
+
RepositoryTest: test_fetches_a_critical_check_by_name
|
1536
|
+
-----------------------------------------------------
|
1537
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1538
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1539
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1540
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1541
|
+
---------------------------------------------------
|
1542
|
+
RepositoryTest: test_returns_a_checklist_when_asked
|
1543
|
+
---------------------------------------------------
|
1544
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1545
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1546
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1547
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1548
|
+
---------------------------------------------------------
|
1549
|
+
RepositoryTest: test_we_can_add_a_check_to_the_repository
|
1550
|
+
---------------------------------------------------------
|
1551
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1552
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1553
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1554
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1555
|
+
--------------------------------------------------------------
|
1556
|
+
RepositoryTest: test_we_can_remove_a_check_from_the_repository
|
1557
|
+
--------------------------------------------------------------
|
1558
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1559
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1560
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1561
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1562
|
+
--------------------------------------------------------------------------------
|
1563
|
+
SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down
|
1564
|
+
--------------------------------------------------------------------------------
|
1565
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1[0m
|
1566
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1567
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1568
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1569
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1570
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1571
|
+
-------------------------------------------------------------------------------
|
1572
|
+
SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down
|
1573
|
+
-------------------------------------------------------------------------------
|
1574
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1[0m
|
1575
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1576
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1577
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1578
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1579
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1580
|
+
-------------------------------------------------------------------------------
|
1581
|
+
SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run
|
1582
|
+
-------------------------------------------------------------------------------
|
1583
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1[0m
|
1584
|
+
[1m[35m (0.1ms)[0m SELECT 1
|
1585
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1586
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1587
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1588
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1589
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1590
|
+
------------------------------------------------------
|
1591
|
+
SplitActiveRecordCheckTest: test_given_nil_as_a_config
|
1592
|
+
------------------------------------------------------
|
1593
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1594
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1595
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1596
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1597
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1598
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1599
|
+
------------------------------------------------------------
|
1600
|
+
Easymon::ChecksControllerTest: test_index_returns_valid_json
|
1601
|
+
------------------------------------------------------------
|
1602
|
+
Processing by Easymon::ChecksController#index as JSON
|
1603
|
+
[1m[35m (0.3ms)[0m SELECT 1
|
1604
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.3ms)
|
1605
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1606
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1607
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1608
|
+
[1m[35m (0.3ms)[0m BEGIN
|
1609
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1610
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1611
|
+
------------------------------------------------------------
|
1612
|
+
Easymon::ChecksControllerTest: test_index_when_a_check_fails
|
1613
|
+
------------------------------------------------------------
|
1614
|
+
Processing by Easymon::ChecksController#index as HTML
|
1615
|
+
[1m[36m (0.3ms)[0m [1mSELECT 1[0m
|
1616
|
+
Rendered text template (0.0ms)
|
1617
|
+
Completed 503 Service Unavailable in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms)
|
1618
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1619
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1620
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1621
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1622
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1623
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1624
|
+
---------------------------------------------------------------------
|
1625
|
+
Easymon::ChecksControllerTest: test_index_when_a_critical_check_fails
|
1626
|
+
---------------------------------------------------------------------
|
1627
|
+
Processing by Easymon::ChecksController#index as HTML
|
1628
|
+
Rendered text template (0.0ms)
|
1629
|
+
Completed 503 Service Unavailable in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
1630
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1631
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1632
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1633
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
1634
|
+
[1m[35m (0.3ms)[0m BEGIN
|
1635
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1636
|
+
-------------------------------------------------------------------------
|
1637
|
+
Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails
|
1638
|
+
-------------------------------------------------------------------------
|
1639
|
+
Processing by Easymon::ChecksController#index as HTML
|
1640
|
+
[1m[35m (0.2ms)[0m SELECT 1
|
1641
|
+
Rendered text template (0.0ms)
|
1642
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
1643
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1644
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1645
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1646
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1647
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1648
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1649
|
+
--------------------------------------------------------------
|
1650
|
+
Easymon::ChecksControllerTest: test_index_when_all_checks_pass
|
1651
|
+
--------------------------------------------------------------
|
1652
|
+
Processing by Easymon::ChecksController#index as HTML
|
1653
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1[0m
|
1654
|
+
Rendered text template (0.0ms)
|
1655
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
1656
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1657
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1658
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1659
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1660
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1661
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1662
|
+
--------------------------------------------------------------------
|
1663
|
+
Easymon::ChecksControllerTest: test_index_when_no_checks_are_defined
|
1664
|
+
--------------------------------------------------------------------
|
1665
|
+
Processing by Easymon::ChecksController#index as HTML
|
1666
|
+
Rendered text template (0.0ms)
|
1667
|
+
Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
1668
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1669
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1670
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1671
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1672
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1673
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1674
|
+
------------------------------------------------------------------
|
1675
|
+
Easymon::ChecksControllerTest: test_show_if_the_check_is_not_found
|
1676
|
+
------------------------------------------------------------------
|
1677
|
+
Processing by Easymon::ChecksController#show as HTML
|
1678
|
+
Parameters: {"check"=>"database"}
|
1679
|
+
Rendered text template (0.0ms)
|
1680
|
+
Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
1681
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1682
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1683
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1684
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1685
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1686
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1687
|
+
-------------------------------------------------------------------
|
1688
|
+
Easymon::ChecksControllerTest: test_show_json_when_the_check_passes
|
1689
|
+
-------------------------------------------------------------------
|
1690
|
+
Processing by Easymon::ChecksController#show as JSON
|
1691
|
+
Parameters: {"check"=>"database"}
|
1692
|
+
[1m[35m (0.2ms)[0m SELECT 1
|
1693
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
1694
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1695
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1696
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1697
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1698
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1699
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1700
|
+
-------------------------------------------------------------
|
1701
|
+
Easymon::ChecksControllerTest: test_show_when_the_check_fails
|
1702
|
+
-------------------------------------------------------------
|
1703
|
+
Processing by Easymon::ChecksController#show as HTML
|
1704
|
+
Parameters: {"check"=>"database"}
|
1705
|
+
Rendered text template (0.0ms)
|
1706
|
+
Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
1707
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1708
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1709
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1710
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1711
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1712
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1713
|
+
--------------------------------------------------------------
|
1714
|
+
Easymon::ChecksControllerTest: test_show_when_the_check_passes
|
1715
|
+
--------------------------------------------------------------
|
1716
|
+
Processing by Easymon::ChecksController#show as HTML
|
1717
|
+
Parameters: {"check"=>"database"}
|
1718
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1[0m
|
1719
|
+
Rendered text template (0.0ms)
|
1720
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
1721
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1722
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1723
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1724
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1725
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1726
|
+
--------------------------------------------------------------------------
|
1727
|
+
RepositoryTest: test_adds_checks_marked_critical_to_the_critical_checklist
|
1728
|
+
--------------------------------------------------------------------------
|
1729
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1730
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1731
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1732
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1733
|
+
--------------------------------------------
|
1734
|
+
RepositoryTest: test_fetches_a_check_by_name
|
1735
|
+
--------------------------------------------
|
1736
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1737
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1738
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1739
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1740
|
+
-----------------------------------------------------
|
1741
|
+
RepositoryTest: test_fetches_a_critical_check_by_name
|
1742
|
+
-----------------------------------------------------
|
1743
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1744
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1745
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1746
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1747
|
+
---------------------------------------------------
|
1748
|
+
RepositoryTest: test_returns_a_checklist_when_asked
|
1749
|
+
---------------------------------------------------
|
1750
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1751
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1752
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1753
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1754
|
+
---------------------------------------------------------
|
1755
|
+
RepositoryTest: test_we_can_add_a_check_to_the_repository
|
1756
|
+
---------------------------------------------------------
|
1757
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1758
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1759
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1760
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1761
|
+
--------------------------------------------------------------
|
1762
|
+
RepositoryTest: test_we_can_remove_a_check_from_the_repository
|
1763
|
+
--------------------------------------------------------------
|
1764
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1765
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1766
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1767
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1768
|
+
---------------------------------------------------------------------
|
1769
|
+
ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass
|
1770
|
+
---------------------------------------------------------------------
|
1771
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1[0m
|
1772
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1773
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1774
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1775
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1776
|
+
------------------------------------------------------------------------------------
|
1777
|
+
ChecklistTest: test_#response_status_returns_:service_unavailable_when_a_check_fails
|
1778
|
+
------------------------------------------------------------------------------------
|
1779
|
+
[1m[35m (0.1ms)[0m SELECT 1
|
1780
|
+
Dalli::Server#connect 127.0.0.1:11211
|
1781
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1782
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1783
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1784
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1785
|
+
-----------------------------------------------------------------
|
1786
|
+
ChecklistTest: test_#success?_returns_false_when_results_is_empty
|
1787
|
+
-----------------------------------------------------------------
|
1788
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1789
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1790
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1791
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1792
|
+
---------------------------------------------------------
|
1793
|
+
ChecklistTest: test_#timing_is_a_sum_of_all_check_results
|
1794
|
+
---------------------------------------------------------
|
1795
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1796
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1797
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1798
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1799
|
+
-------------------------------------------------------------------------
|
1800
|
+
ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist
|
1801
|
+
-------------------------------------------------------------------------
|
1802
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1[0m
|
1803
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1804
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1805
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1806
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1807
|
+
----------------------------------------------
|
1808
|
+
ChecklistTest: test_can_look_up_checks_by_name
|
1809
|
+
----------------------------------------------
|
1810
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1811
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1812
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1813
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1814
|
+
---------------------------------------------
|
1815
|
+
ChecklistTest: test_cat_fetch_a_check_by_name
|
1816
|
+
---------------------------------------------
|
1817
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1818
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1819
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1820
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1821
|
+
-------------------------------------------------------------------
|
1822
|
+
ChecklistTest: test_it_knows_the_number_of_checks_in_the_Repository
|
1823
|
+
-------------------------------------------------------------------
|
1824
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1825
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1826
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1827
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1828
|
+
------------------------------------------
|
1829
|
+
ChecklistTest: test_it_will_run_each_check
|
1830
|
+
------------------------------------------
|
1831
|
+
[1m[35m (0.1ms)[0m SELECT 1
|
1832
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1833
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1834
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1835
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1836
|
+
----------------------------------------------------------------
|
1837
|
+
HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
|
1838
|
+
----------------------------------------------------------------
|
1839
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1840
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1841
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
1842
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1843
|
+
------------------------------------------------------------------
|
1844
|
+
HttpCheckTest: test_#run_sets_failure_conditions_on_an_errored_run
|
1845
|
+
------------------------------------------------------------------
|
1846
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1847
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1848
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1849
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1850
|
+
------------------------------------------------------------------
|
1851
|
+
HttpCheckTest: test_#run_sets_success_conditions_on_successful_run
|
1852
|
+
------------------------------------------------------------------
|
1853
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1854
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1855
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1856
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1857
|
+
--------------------------------------
|
1858
|
+
HttpCheckTest: test_given_nil_as_a_url
|
1859
|
+
--------------------------------------
|
1860
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1861
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1862
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1863
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1864
|
+
---------------------------------------------------------------------
|
1865
|
+
SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
|
1866
|
+
---------------------------------------------------------------------
|
1867
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1868
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1869
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1870
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1871
|
+
-----------------------------------------------------------------------
|
1872
|
+
SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run
|
1873
|
+
-----------------------------------------------------------------------
|
1874
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1875
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1876
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1877
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1878
|
+
--------------------------------------------------------------------------------------
|
1879
|
+
ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_failed_result_on_a_failed_run
|
1880
|
+
--------------------------------------------------------------------------------------
|
1881
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1882
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1883
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1884
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1885
|
+
----------------------------------------------------------------------------------------
|
1886
|
+
ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_successful_result_on_a_good_run
|
1887
|
+
----------------------------------------------------------------------------------------
|
1888
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1[0m
|
1889
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1890
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1891
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1892
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1893
|
+
--------------------------------------------------------------------------
|
1894
|
+
ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run
|
1895
|
+
--------------------------------------------------------------------------
|
1896
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1897
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1898
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1899
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1900
|
+
----------------------------------------------------------------------------
|
1901
|
+
ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run
|
1902
|
+
----------------------------------------------------------------------------
|
1903
|
+
[1m[35m (0.1ms)[0m SELECT 1
|
1904
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1905
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1906
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1907
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1908
|
+
-------------------------------------------------
|
1909
|
+
ActiveRecordCheckTest: test_given_nil_as_a_config
|
1910
|
+
-------------------------------------------------
|
1911
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1912
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1913
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1914
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1915
|
+
------------------------------------------------------------
|
1916
|
+
Easymon::ChecksControllerTest: test_index_returns_valid_json
|
1917
|
+
------------------------------------------------------------
|
1918
|
+
Processing by Easymon::ChecksController#index as JSON
|
1919
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1[0m
|
1920
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1921
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1922
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1923
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1924
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1925
|
+
------------------------------------------------------------
|
1926
|
+
Easymon::ChecksControllerTest: test_index_when_a_check_fails
|
1927
|
+
------------------------------------------------------------
|
1928
|
+
Processing by Easymon::ChecksController#index as HTML
|
1929
|
+
[1m[35m (0.1ms)[0m SELECT 1
|
1930
|
+
Rendered text template (0.0ms)
|
1931
|
+
Completed 503 Service Unavailable in 2ms (Views: 1.4ms | ActiveRecord: 0.1ms)
|
1932
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1933
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1934
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1935
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1936
|
+
---------------------------------------------------------------------
|
1937
|
+
Easymon::ChecksControllerTest: test_index_when_a_critical_check_fails
|
1938
|
+
---------------------------------------------------------------------
|
1939
|
+
Processing by Easymon::ChecksController#index as HTML
|
1940
|
+
Rendered text template (0.0ms)
|
1941
|
+
Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
1942
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1943
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1944
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1945
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1946
|
+
-------------------------------------------------------------------------
|
1947
|
+
Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails
|
1948
|
+
-------------------------------------------------------------------------
|
1949
|
+
Processing by Easymon::ChecksController#index as HTML
|
1950
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1[0m
|
1951
|
+
Rendered text template (0.0ms)
|
1952
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
1953
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
1954
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1955
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1956
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1957
|
+
--------------------------------------------------------------
|
1958
|
+
Easymon::ChecksControllerTest: test_index_when_all_checks_pass
|
1959
|
+
--------------------------------------------------------------
|
1960
|
+
Processing by Easymon::ChecksController#index as HTML
|
1961
|
+
[1m[35m (0.2ms)[0m SELECT 1
|
1962
|
+
Rendered text template (0.0ms)
|
1963
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
1964
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1965
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1966
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1967
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1968
|
+
--------------------------------------------------------------------
|
1969
|
+
Easymon::ChecksControllerTest: test_index_when_no_checks_are_defined
|
1970
|
+
--------------------------------------------------------------------
|
1971
|
+
Processing by Easymon::ChecksController#index as HTML
|
1972
|
+
Rendered text template (0.0ms)
|
1973
|
+
Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
1974
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1975
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1976
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1977
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1978
|
+
------------------------------------------------------------------
|
1979
|
+
Easymon::ChecksControllerTest: test_show_if_the_check_is_not_found
|
1980
|
+
------------------------------------------------------------------
|
1981
|
+
Processing by Easymon::ChecksController#show as HTML
|
1982
|
+
Parameters: {"check"=>"database"}
|
1983
|
+
Rendered text template (0.0ms)
|
1984
|
+
Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
1985
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1986
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1987
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1988
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1989
|
+
-------------------------------------------------------------------
|
1990
|
+
Easymon::ChecksControllerTest: test_show_json_when_the_check_passes
|
1991
|
+
-------------------------------------------------------------------
|
1992
|
+
Processing by Easymon::ChecksController#show as JSON
|
1993
|
+
Parameters: {"check"=>"database"}
|
1994
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1[0m
|
1995
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
1996
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1997
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1998
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1999
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2000
|
+
-------------------------------------------------------------
|
2001
|
+
Easymon::ChecksControllerTest: test_show_when_the_check_fails
|
2002
|
+
-------------------------------------------------------------
|
2003
|
+
Processing by Easymon::ChecksController#show as HTML
|
2004
|
+
Parameters: {"check"=>"database"}
|
2005
|
+
Rendered text template (0.0ms)
|
2006
|
+
Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
2007
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2008
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2009
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2010
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2011
|
+
--------------------------------------------------------------
|
2012
|
+
Easymon::ChecksControllerTest: test_show_when_the_check_passes
|
2013
|
+
--------------------------------------------------------------
|
2014
|
+
Processing by Easymon::ChecksController#show as HTML
|
2015
|
+
Parameters: {"check"=>"database"}
|
2016
|
+
[1m[35m (0.2ms)[0m SELECT 1
|
2017
|
+
Rendered text template (0.0ms)
|
2018
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
2019
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2020
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2021
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2022
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2023
|
+
---------------------------------------------------------------------
|
2024
|
+
MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
|
2025
|
+
---------------------------------------------------------------------
|
2026
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2027
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2028
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2029
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2030
|
+
-----------------------------------------------------------------------
|
2031
|
+
MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run
|
2032
|
+
-----------------------------------------------------------------------
|
2033
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2034
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2035
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2036
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2037
|
+
------------------------------------------------------------------
|
2038
|
+
MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers
|
2039
|
+
------------------------------------------------------------------
|
2040
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2041
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2042
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2043
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2044
|
+
---------------------------------------------------------
|
2045
|
+
MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache
|
2046
|
+
---------------------------------------------------------
|
2047
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2048
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2049
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2050
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2051
|
+
----------------------------------------------------------------------------
|
2052
|
+
TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run
|
2053
|
+
----------------------------------------------------------------------------
|
2054
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2055
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2056
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2057
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2058
|
+
------------------------------------------------------------------------------
|
2059
|
+
TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run
|
2060
|
+
------------------------------------------------------------------------------
|
2061
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2062
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2063
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2064
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2065
|
+
--------------------------------------------------------------------------------
|
2066
|
+
SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down
|
2067
|
+
--------------------------------------------------------------------------------
|
2068
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1[0m
|
2069
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2070
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2071
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2072
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2073
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2074
|
+
-------------------------------------------------------------------------------
|
2075
|
+
SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down
|
2076
|
+
-------------------------------------------------------------------------------
|
2077
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1[0m
|
2078
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2079
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2080
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2081
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2082
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2083
|
+
-------------------------------------------------------------------------------
|
2084
|
+
SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run
|
2085
|
+
-------------------------------------------------------------------------------
|
2086
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1[0m
|
2087
|
+
[1m[35m (0.1ms)[0m SELECT 1
|
2088
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2089
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2090
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2091
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2092
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2093
|
+
------------------------------------------------------
|
2094
|
+
SplitActiveRecordCheckTest: test_given_nil_as_a_config
|
2095
|
+
------------------------------------------------------
|
2096
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2097
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2098
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2099
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2100
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2101
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2102
|
+
-----------------------------------------------------------------
|
2103
|
+
RedisCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
|
2104
|
+
-----------------------------------------------------------------
|
2105
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2106
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2107
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2108
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2109
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2110
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2111
|
+
-------------------------------------------------------------------
|
2112
|
+
RedisCheckTest: test_#run_sets_success_conditions_on_successful_run
|
2113
|
+
-------------------------------------------------------------------
|
2114
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2115
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2116
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2117
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2118
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2119
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2120
|
+
------------------------------------------
|
2121
|
+
RedisCheckTest: test_given_nil_as_a_config
|
2122
|
+
------------------------------------------
|
2123
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2124
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2125
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2126
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2127
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2128
|
+
------------------------------------------------------------
|
2129
|
+
Easymon::ChecksControllerTest: test_index_returns_valid_json
|
2130
|
+
------------------------------------------------------------
|
2131
|
+
Processing by Easymon::ChecksController#index as JSON
|
2132
|
+
[1m[36m (0.3ms)[0m [1mSELECT 1[0m
|
2133
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.3ms)
|
2134
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2135
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2136
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2137
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2138
|
+
------------------------------------------------------------
|
2139
|
+
Easymon::ChecksControllerTest: test_index_when_a_check_fails
|
2140
|
+
------------------------------------------------------------
|
2141
|
+
Processing by Easymon::ChecksController#index as HTML
|
2142
|
+
[1m[35m (0.2ms)[0m SELECT 1
|
2143
|
+
Rendered text template (0.0ms)
|
2144
|
+
Completed 503 Service Unavailable in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms)
|
2145
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2146
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2147
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2148
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2149
|
+
---------------------------------------------------------------------
|
2150
|
+
Easymon::ChecksControllerTest: test_index_when_a_critical_check_fails
|
2151
|
+
---------------------------------------------------------------------
|
2152
|
+
Processing by Easymon::ChecksController#index as HTML
|
2153
|
+
Rendered text template (0.0ms)
|
2154
|
+
Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
2155
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2156
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2157
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2158
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2159
|
+
-------------------------------------------------------------------------
|
2160
|
+
Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails
|
2161
|
+
-------------------------------------------------------------------------
|
2162
|
+
Processing by Easymon::ChecksController#index as HTML
|
2163
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1[0m
|
2164
|
+
Rendered text template (0.0ms)
|
2165
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
2166
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2167
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2168
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2169
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2170
|
+
--------------------------------------------------------------
|
2171
|
+
Easymon::ChecksControllerTest: test_index_when_all_checks_pass
|
2172
|
+
--------------------------------------------------------------
|
2173
|
+
Processing by Easymon::ChecksController#index as HTML
|
2174
|
+
[1m[35m (0.2ms)[0m SELECT 1
|
2175
|
+
Rendered text template (0.0ms)
|
2176
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
2177
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2178
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2179
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2180
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2181
|
+
--------------------------------------------------------------------
|
2182
|
+
Easymon::ChecksControllerTest: test_index_when_no_checks_are_defined
|
2183
|
+
--------------------------------------------------------------------
|
2184
|
+
Processing by Easymon::ChecksController#index as HTML
|
2185
|
+
Rendered text template (0.0ms)
|
2186
|
+
Completed 503 Service Unavailable in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
2187
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2188
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2189
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2190
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2191
|
+
------------------------------------------------------------------
|
2192
|
+
Easymon::ChecksControllerTest: test_show_if_the_check_is_not_found
|
2193
|
+
------------------------------------------------------------------
|
2194
|
+
Processing by Easymon::ChecksController#show as HTML
|
2195
|
+
Parameters: {"check"=>"database"}
|
2196
|
+
Rendered text template (0.0ms)
|
2197
|
+
Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
2198
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2199
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2200
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2201
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2202
|
+
-------------------------------------------------------------------
|
2203
|
+
Easymon::ChecksControllerTest: test_show_json_when_the_check_passes
|
2204
|
+
-------------------------------------------------------------------
|
2205
|
+
Processing by Easymon::ChecksController#show as JSON
|
2206
|
+
Parameters: {"check"=>"database"}
|
2207
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1[0m
|
2208
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
2209
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2210
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2211
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2212
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2213
|
+
-------------------------------------------------------------
|
2214
|
+
Easymon::ChecksControllerTest: test_show_when_the_check_fails
|
2215
|
+
-------------------------------------------------------------
|
2216
|
+
Processing by Easymon::ChecksController#show as HTML
|
2217
|
+
Parameters: {"check"=>"database"}
|
2218
|
+
Rendered text template (0.0ms)
|
2219
|
+
Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
2220
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2221
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2222
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2223
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2224
|
+
--------------------------------------------------------------
|
2225
|
+
Easymon::ChecksControllerTest: test_show_when_the_check_passes
|
2226
|
+
--------------------------------------------------------------
|
2227
|
+
Processing by Easymon::ChecksController#show as HTML
|
2228
|
+
Parameters: {"check"=>"database"}
|
2229
|
+
[1m[35m (0.2ms)[0m SELECT 1
|
2230
|
+
Rendered text template (0.0ms)
|
2231
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
2232
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2233
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2234
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2235
|
+
[1m[35m (0.2ms)[0m BEGIN
|
2236
|
+
--------------------------------------------------------------------------
|
2237
|
+
ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run
|
2238
|
+
--------------------------------------------------------------------------
|
2239
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2240
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2241
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2242
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2243
|
+
----------------------------------------------------------------------------
|
2244
|
+
ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run
|
2245
|
+
----------------------------------------------------------------------------
|
2246
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1[0m
|
2247
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2248
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2249
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2250
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2251
|
+
-------------------------------------------------
|
2252
|
+
ActiveRecordCheckTest: test_given_nil_as_a_config
|
2253
|
+
-------------------------------------------------
|
2254
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2255
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2256
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2257
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2258
|
+
---------------------------------------------------------------------
|
2259
|
+
MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
|
2260
|
+
---------------------------------------------------------------------
|
2261
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2262
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2263
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2264
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2265
|
+
-----------------------------------------------------------------------
|
2266
|
+
MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run
|
2267
|
+
-----------------------------------------------------------------------
|
2268
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2269
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2270
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2271
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2272
|
+
------------------------------------------------------------------
|
2273
|
+
MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers
|
2274
|
+
------------------------------------------------------------------
|
2275
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2276
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2277
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2278
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2279
|
+
---------------------------------------------------------
|
2280
|
+
MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache
|
2281
|
+
---------------------------------------------------------
|
2282
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2283
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2284
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2285
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2286
|
+
----------------------------------------------------------------------------
|
2287
|
+
TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run
|
2288
|
+
----------------------------------------------------------------------------
|
2289
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2290
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2291
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2292
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2293
|
+
------------------------------------------------------------------------------
|
2294
|
+
TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run
|
2295
|
+
------------------------------------------------------------------------------
|
2296
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2297
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2298
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2299
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2300
|
+
--------------------------------------------------------------------------------------
|
2301
|
+
ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_failed_result_on_a_failed_run
|
2302
|
+
--------------------------------------------------------------------------------------
|
2303
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2304
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2305
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2306
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2307
|
+
----------------------------------------------------------------------------------------
|
2308
|
+
ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_successful_result_on_a_good_run
|
2309
|
+
----------------------------------------------------------------------------------------
|
2310
|
+
[1m[35m (0.1ms)[0m SELECT 1
|
2311
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2312
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2313
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2314
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2315
|
+
---------------------------------------------------------------------
|
2316
|
+
SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
|
2317
|
+
---------------------------------------------------------------------
|
2318
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2319
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2320
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2321
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2322
|
+
-----------------------------------------------------------------------
|
2323
|
+
SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run
|
2324
|
+
-----------------------------------------------------------------------
|
2325
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2326
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2327
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2328
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2329
|
+
--------------------------------------------------------------------------------
|
2330
|
+
SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down
|
2331
|
+
--------------------------------------------------------------------------------
|
2332
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1[0m
|
2333
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2334
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2335
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2336
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2337
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2338
|
+
-------------------------------------------------------------------------------
|
2339
|
+
SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down
|
2340
|
+
-------------------------------------------------------------------------------
|
2341
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1[0m
|
2342
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2343
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2344
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2345
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2346
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2347
|
+
-------------------------------------------------------------------------------
|
2348
|
+
SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run
|
2349
|
+
-------------------------------------------------------------------------------
|
2350
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1[0m
|
2351
|
+
[1m[35m (0.1ms)[0m SELECT 1
|
2352
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2353
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2354
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2355
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2356
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2357
|
+
------------------------------------------------------
|
2358
|
+
SplitActiveRecordCheckTest: test_given_nil_as_a_config
|
2359
|
+
------------------------------------------------------
|
2360
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2361
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2362
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2363
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2364
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2365
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2366
|
+
--------------------------------------------------------------------------
|
2367
|
+
RepositoryTest: test_adds_checks_marked_critical_to_the_critical_checklist
|
2368
|
+
--------------------------------------------------------------------------
|
2369
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2370
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2371
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2372
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2373
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2374
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2375
|
+
--------------------------------------------
|
2376
|
+
RepositoryTest: test_fetches_a_check_by_name
|
2377
|
+
--------------------------------------------
|
2378
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2379
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2380
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2381
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2382
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2383
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2384
|
+
-----------------------------------------------------
|
2385
|
+
RepositoryTest: test_fetches_a_critical_check_by_name
|
2386
|
+
-----------------------------------------------------
|
2387
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2388
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2389
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2390
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2391
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2392
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2393
|
+
---------------------------------------------------
|
2394
|
+
RepositoryTest: test_returns_a_checklist_when_asked
|
2395
|
+
---------------------------------------------------
|
2396
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2397
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2398
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2399
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2400
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2401
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2402
|
+
---------------------------------------------------------
|
2403
|
+
RepositoryTest: test_we_can_add_a_check_to_the_repository
|
2404
|
+
---------------------------------------------------------
|
2405
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2406
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2407
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2408
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2409
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2410
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2411
|
+
--------------------------------------------------------------
|
2412
|
+
RepositoryTest: test_we_can_remove_a_check_from_the_repository
|
2413
|
+
--------------------------------------------------------------
|
2414
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2415
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2416
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2417
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2418
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2419
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2420
|
+
-----------------------------------------------------------------
|
2421
|
+
RedisCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
|
2422
|
+
-----------------------------------------------------------------
|
2423
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2424
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2425
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2426
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2427
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2428
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2429
|
+
-------------------------------------------------------------------
|
2430
|
+
RedisCheckTest: test_#run_sets_success_conditions_on_successful_run
|
2431
|
+
-------------------------------------------------------------------
|
2432
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2433
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2434
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2435
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2436
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2437
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2438
|
+
------------------------------------------
|
2439
|
+
RedisCheckTest: test_given_nil_as_a_config
|
2440
|
+
------------------------------------------
|
2441
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2442
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2443
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2444
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2445
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2446
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2447
|
+
----------------------------------------------------------------
|
2448
|
+
HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
|
2449
|
+
----------------------------------------------------------------
|
2450
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2451
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2452
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2453
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2454
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2455
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2456
|
+
------------------------------------------------------------------
|
2457
|
+
HttpCheckTest: test_#run_sets_failure_conditions_on_an_errored_run
|
2458
|
+
------------------------------------------------------------------
|
2459
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2460
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2461
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2462
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2463
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2464
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2465
|
+
------------------------------------------------------------------
|
2466
|
+
HttpCheckTest: test_#run_sets_success_conditions_on_successful_run
|
2467
|
+
------------------------------------------------------------------
|
2468
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2469
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2470
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2471
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2472
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2473
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2474
|
+
--------------------------------------
|
2475
|
+
HttpCheckTest: test_given_nil_as_a_url
|
2476
|
+
--------------------------------------
|
2477
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2478
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2479
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2480
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2481
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2482
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2483
|
+
---------------------------------------------------------------------
|
2484
|
+
ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass
|
2485
|
+
---------------------------------------------------------------------
|
2486
|
+
[1m[35m (0.1ms)[0m SELECT 1
|
2487
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2488
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2489
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2490
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2491
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2492
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2493
|
+
------------------------------------------------------------------------------------
|
2494
|
+
ChecklistTest: test_#response_status_returns_:service_unavailable_when_a_check_fails
|
2495
|
+
------------------------------------------------------------------------------------
|
2496
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1[0m
|
2497
|
+
Dalli::Server#connect 127.0.0.1:11211
|
2498
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2499
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2500
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2501
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2502
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2503
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2504
|
+
-----------------------------------------------------------------
|
2505
|
+
ChecklistTest: test_#success?_returns_false_when_results_is_empty
|
2506
|
+
-----------------------------------------------------------------
|
2507
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2508
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2509
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2510
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2511
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2512
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2513
|
+
---------------------------------------------------------
|
2514
|
+
ChecklistTest: test_#timing_is_a_sum_of_all_check_results
|
2515
|
+
---------------------------------------------------------
|
2516
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2517
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2518
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2519
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2520
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2521
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2522
|
+
-------------------------------------------------------------------------
|
2523
|
+
ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist
|
2524
|
+
-------------------------------------------------------------------------
|
2525
|
+
[1m[35m (0.1ms)[0m SELECT 1
|
2526
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2527
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2528
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2529
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2530
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2531
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2532
|
+
----------------------------------------------
|
2533
|
+
ChecklistTest: test_can_look_up_checks_by_name
|
2534
|
+
----------------------------------------------
|
2535
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2536
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2537
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2538
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2539
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2540
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2541
|
+
---------------------------------------------
|
2542
|
+
ChecklistTest: test_cat_fetch_a_check_by_name
|
2543
|
+
---------------------------------------------
|
2544
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2545
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2546
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2547
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2548
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2549
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2550
|
+
-------------------------------------------------------------------
|
2551
|
+
ChecklistTest: test_it_knows_the_number_of_checks_in_the_Repository
|
2552
|
+
-------------------------------------------------------------------
|
2553
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2554
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2555
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2556
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2557
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2558
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2559
|
+
------------------------------------------
|
2560
|
+
ChecklistTest: test_it_will_run_each_check
|
2561
|
+
------------------------------------------
|
2562
|
+
[1m[36m (0.1ms)[0m [1mSELECT 1[0m
|
2563
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
2564
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
2565
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|