easymon 1.0.8 → 1.0.9

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.

@@ -2584,6 +2584,2627 @@ TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run
2584
2584
   (0.1ms) BEGIN
2585
2585
  ------------------------------------------------------------------------------
2586
2586
  TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run
2587
+ ------------------------------------------------------------------------------
2588
+  (0.1ms) ROLLBACK
2589
+  (0.1ms) ROLLBACK
2590
+  (0.1ms) BEGIN
2591
+ --------------------------------------------------------------------------
2592
+ ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run
2593
+ --------------------------------------------------------------------------
2594
+  (0.2ms) ROLLBACK
2595
+  (0.1ms) BEGIN
2596
+ ----------------------------------------------------------------------------
2597
+ ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run
2598
+ ----------------------------------------------------------------------------
2599
+  (0.1ms) SELECT 1=1
2600
+  (0.1ms) ROLLBACK
2601
+  (0.1ms) BEGIN
2602
+ -------------------------------------------------
2603
+ ActiveRecordCheckTest: test_given_nil_as_a_config
2604
+ -------------------------------------------------
2605
+  (0.1ms) ROLLBACK
2606
+  (0.1ms) BEGIN
2607
+ ---------------------------------------------------------------------
2608
+ ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass
2609
+ ---------------------------------------------------------------------
2610
+  (0.2ms) SELECT 1=1
2611
+  (0.2ms) ROLLBACK
2612
+  (0.1ms) BEGIN
2613
+ ------------------------------------------------------------------------------------
2614
+ ChecklistTest: test_#response_status_returns_:service_unavailable_when_a_check_fails
2615
+ ------------------------------------------------------------------------------------
2616
+  (0.2ms) SELECT 1=1
2617
+  (0.1ms) ROLLBACK
2618
+  (0.2ms) BEGIN
2619
+ -----------------------------------------------------------------
2620
+ ChecklistTest: test_#success?_returns_false_when_results_is_empty
2621
+ -----------------------------------------------------------------
2622
+  (0.1ms) ROLLBACK
2623
+  (0.1ms) BEGIN
2624
+ ---------------------------------------------------------
2625
+ ChecklistTest: test_#timing_is_a_sum_of_all_check_results
2626
+ ---------------------------------------------------------
2627
+  (0.1ms) ROLLBACK
2628
+  (0.1ms) BEGIN
2629
+ -------------------------------------------------------------------------
2630
+ ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist
2631
+ -------------------------------------------------------------------------
2632
+  (0.1ms) SELECT 1=1
2633
+  (0.1ms) ROLLBACK
2634
+  (0.1ms) BEGIN
2635
+ ----------------------------------------------
2636
+ ChecklistTest: test_can_look_up_checks_by_name
2637
+ ----------------------------------------------
2638
+  (0.1ms) ROLLBACK
2639
+  (0.1ms) BEGIN
2640
+ ---------------------------------------------
2641
+ ChecklistTest: test_cat_fetch_a_check_by_name
2642
+ ---------------------------------------------
2643
+  (0.1ms) ROLLBACK
2644
+  (0.1ms) BEGIN
2645
+ -------------------------------------------------------------------
2646
+ ChecklistTest: test_it_knows_the_number_of_checks_in_the_Repository
2647
+ -------------------------------------------------------------------
2648
+  (0.1ms) ROLLBACK
2649
+  (0.1ms) BEGIN
2650
+ ------------------------------------------
2651
+ ChecklistTest: test_it_will_run_each_check
2652
+ ------------------------------------------
2653
+  (0.1ms) SELECT 1=1
2654
+  (0.1ms) ROLLBACK
2655
+  (0.1ms) BEGIN
2656
+ ---------------------------------------------------------------------
2657
+ Easymon::ChecksControllerTest: test_index_when_a_critical_check_fails
2658
+ ---------------------------------------------------------------------
2659
+ Processing by Easymon::ChecksController#index as HTML
2660
+ Completed 500 Internal Server Error in 0ms
2661
+  (0.2ms) ROLLBACK
2662
+  (0.1ms) BEGIN
2663
+ -------------------------------------------------------------------------
2664
+ Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails
2665
+ -------------------------------------------------------------------------
2666
+ Processing by Easymon::ChecksController#index as HTML
2667
+  (0.2ms) SELECT 1=1
2668
+ Completed 500 Internal Server Error in 1ms
2669
+  (0.2ms) ROLLBACK
2670
+  (0.1ms) BEGIN
2671
+ --------------------------------------------------------------
2672
+ Easymon::ChecksControllerTest: test_index_when_all_checks_pass
2673
+ --------------------------------------------------------------
2674
+ Processing by Easymon::ChecksController#index as HTML
2675
+  (0.2ms) SELECT 1=1
2676
+ Completed 500 Internal Server Error in 1ms
2677
+  (0.1ms) ROLLBACK
2678
+  (0.3ms) BEGIN
2679
+ --------------------------------------------------------------------
2680
+ Easymon::ChecksControllerTest: test_index_when_no_checks_are_defined
2681
+ --------------------------------------------------------------------
2682
+ Processing by Easymon::ChecksController#index as HTML
2683
+ Completed 503 Service Unavailable in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
2684
+  (0.1ms) ROLLBACK
2685
+  (0.1ms) BEGIN
2686
+ ------------------------------------------------------------------
2687
+ Easymon::ChecksControllerTest: test_show_if_the_check_is_not_found
2688
+ ------------------------------------------------------------------
2689
+ Processing by Easymon::ChecksController#show as HTML
2690
+ Parameters: {"check"=>"database"}
2691
+ Completed 404 Not Found in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2692
+  (0.2ms) ROLLBACK
2693
+  (0.1ms) BEGIN
2694
+ -------------------------------------------------------------
2695
+ Easymon::ChecksControllerTest: test_show_when_the_check_fails
2696
+ -------------------------------------------------------------
2697
+ Processing by Easymon::ChecksController#show as HTML
2698
+ Parameters: {"check"=>"database"}
2699
+ Completed 500 Internal Server Error in 0ms
2700
+  (0.2ms) ROLLBACK
2701
+  (0.1ms) BEGIN
2702
+ --------------------------------------------------------------
2703
+ Easymon::ChecksControllerTest: test_show_when_the_check_passes
2704
+ --------------------------------------------------------------
2705
+ Processing by Easymon::ChecksController#show as HTML
2706
+ Parameters: {"check"=>"database"}
2707
+  (0.2ms) SELECT 1=1
2708
+ Completed 500 Internal Server Error in 1ms
2709
+  (0.1ms) ROLLBACK
2710
+  (0.1ms) BEGIN
2711
+ ----------------------------------------------------------------
2712
+ HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
2713
+ ----------------------------------------------------------------
2714
+  (0.2ms) ROLLBACK
2715
+  (0.1ms) BEGIN
2716
+ ------------------------------------------------------------------
2717
+ HttpCheckTest: test_#run_sets_success_conditions_on_successful_run
2718
+ ------------------------------------------------------------------
2719
+  (0.1ms) ROLLBACK
2720
+  (0.1ms) BEGIN
2721
+ --------------------------------------
2722
+ HttpCheckTest: test_given_nil_as_a_url
2723
+ --------------------------------------
2724
+  (0.1ms) ROLLBACK
2725
+  (0.1ms) BEGIN
2726
+ ---------------------------------------------------------------------
2727
+ MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
2728
+ ---------------------------------------------------------------------
2729
+  (0.1ms) ROLLBACK
2730
+  (0.1ms) BEGIN
2731
+ -----------------------------------------------------------------------
2732
+ MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run
2733
+ -----------------------------------------------------------------------
2734
+ Dalli::Server#connect 127.0.0.1:11211
2735
+  (0.1ms) ROLLBACK
2736
+  (0.1ms) BEGIN
2737
+ ------------------------------------------------------------------
2738
+ MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers
2739
+ ------------------------------------------------------------------
2740
+  (0.1ms) ROLLBACK
2741
+  (0.1ms) BEGIN
2742
+ ---------------------------------------------------------
2743
+ MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache
2744
+ ---------------------------------------------------------
2745
+  (0.1ms) ROLLBACK
2746
+  (0.1ms) BEGIN
2747
+ -----------------------------------------------------------------
2748
+ RedisCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
2749
+ -----------------------------------------------------------------
2750
+  (0.2ms) ROLLBACK
2751
+  (0.1ms) BEGIN
2752
+ -------------------------------------------------------------------
2753
+ RedisCheckTest: test_#run_sets_success_conditions_on_successful_run
2754
+ -------------------------------------------------------------------
2755
+  (0.1ms) ROLLBACK
2756
+  (0.1ms) BEGIN
2757
+ ------------------------------------------
2758
+ RedisCheckTest: test_given_nil_as_a_config
2759
+ ------------------------------------------
2760
+  (0.1ms) ROLLBACK
2761
+  (0.1ms) BEGIN
2762
+ ------------------------------------------------------------------------------
2763
+ RepositoryTest: test_adds_a_check_to_the_repository_for_the_critical_checklist
2764
+ ------------------------------------------------------------------------------
2765
+  (0.1ms) ROLLBACK
2766
+  (0.1ms) BEGIN
2767
+ --------------------------------------------------------------------------
2768
+ RepositoryTest: test_adds_checks_marked_critical_to_the_critical_checklist
2769
+ --------------------------------------------------------------------------
2770
+  (0.1ms) ROLLBACK
2771
+  (0.1ms) BEGIN
2772
+ --------------------------------------------
2773
+ RepositoryTest: test_fetches_a_check_by_name
2774
+ --------------------------------------------
2775
+  (0.1ms) ROLLBACK
2776
+  (0.1ms) BEGIN
2777
+ -----------------------------------------------------
2778
+ RepositoryTest: test_fetches_a_critical_check_by_name
2779
+ -----------------------------------------------------
2780
+  (0.1ms) ROLLBACK
2781
+  (0.1ms) BEGIN
2782
+ ---------------------------------------------------
2783
+ RepositoryTest: test_returns_a_checklist_when_asked
2784
+ ---------------------------------------------------
2785
+  (0.1ms) ROLLBACK
2786
+  (0.1ms) BEGIN
2787
+ ---------------------------------------------------------
2788
+ RepositoryTest: test_we_can_add_a_check_to_the_repository
2789
+ ---------------------------------------------------------
2790
+  (0.1ms) ROLLBACK
2791
+  (0.1ms) BEGIN
2792
+ --------------------------------------------------------------
2793
+ RepositoryTest: test_we_can_remove_a_check_from_the_repository
2794
+ --------------------------------------------------------------
2795
+  (0.1ms) ROLLBACK
2796
+  (0.1ms) BEGIN
2797
+ ---------------------------------------------------------------------
2798
+ SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
2799
+ ---------------------------------------------------------------------
2800
+  (0.1ms) ROLLBACK
2801
+  (0.1ms) BEGIN
2802
+ -----------------------------------------------------------------------
2803
+ SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run
2804
+ -----------------------------------------------------------------------
2805
+  (0.1ms) ROLLBACK
2806
+  (0.1ms) BEGIN
2807
+ --------------------------------------------------------------------------------
2808
+ SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down
2809
+ --------------------------------------------------------------------------------
2810
+  (0.1ms) SELECT 1=1
2811
+  (0.1ms) ROLLBACK
2812
+  (0.1ms) BEGIN
2813
+  (0.1ms) BEGIN
2814
+ -------------------------------------------------------------------------------
2815
+ SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down
2816
+ -------------------------------------------------------------------------------
2817
+  (0.1ms) SELECT 1=1
2818
+  (0.1ms) ROLLBACK
2819
+  (0.1ms) BEGIN
2820
+  (0.1ms) BEGIN
2821
+ -------------------------------------------------------------------------------
2822
+ SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run
2823
+ -------------------------------------------------------------------------------
2824
+  (0.1ms) SELECT 1=1
2825
+  (0.1ms) SELECT 1=1
2826
+  (0.1ms) ROLLBACK
2827
+  (0.2ms) BEGIN
2828
+  (0.1ms) BEGIN
2829
+ ------------------------------------------------------
2830
+ SplitActiveRecordCheckTest: test_given_nil_as_a_config
2831
+ ------------------------------------------------------
2832
+  (0.1ms) ROLLBACK
2833
+  (0.1ms) ROLLBACK
2834
+  (0.1ms) BEGIN
2835
+  (0.1ms) BEGIN
2836
+ ----------------------------------------------------------------------------
2837
+ TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run
2838
+ ----------------------------------------------------------------------------
2839
+  (0.1ms) ROLLBACK
2840
+  (0.1ms) ROLLBACK
2841
+  (0.1ms) BEGIN
2842
+  (0.1ms) BEGIN
2843
+ ------------------------------------------------------------------------------
2844
+ TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run
2845
+ ------------------------------------------------------------------------------
2846
+  (0.1ms) ROLLBACK
2847
+  (0.1ms) ROLLBACK
2848
+  (0.1ms) BEGIN
2849
+ --------------------------------------------------------------------------
2850
+ ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run
2851
+ --------------------------------------------------------------------------
2852
+  (0.1ms) ROLLBACK
2853
+  (0.1ms) BEGIN
2854
+ ----------------------------------------------------------------------------
2855
+ ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run
2856
+ ----------------------------------------------------------------------------
2857
+  (0.1ms) SELECT 1=1
2858
+  (0.1ms) ROLLBACK
2859
+  (0.1ms) BEGIN
2860
+ -------------------------------------------------
2861
+ ActiveRecordCheckTest: test_given_nil_as_a_config
2862
+ -------------------------------------------------
2863
+  (0.1ms) ROLLBACK
2864
+  (0.1ms) BEGIN
2865
+ ---------------------------------------------------------------------
2866
+ ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass
2867
+ ---------------------------------------------------------------------
2868
+  (0.2ms) SELECT 1=1
2869
+ Dalli::Server#connect 127.0.0.1:11211
2870
+  (0.1ms) ROLLBACK
2871
+  (0.1ms) BEGIN
2872
+ ------------------------------------------------------------------------------------
2873
+ ChecklistTest: test_#response_status_returns_:service_unavailable_when_a_check_fails
2874
+ ------------------------------------------------------------------------------------
2875
+  (0.1ms) SELECT 1=1
2876
+  (0.1ms) ROLLBACK
2877
+  (0.1ms) BEGIN
2878
+ -----------------------------------------------------------------
2879
+ ChecklistTest: test_#success?_returns_false_when_results_is_empty
2880
+ -----------------------------------------------------------------
2881
+  (0.2ms) ROLLBACK
2882
+  (0.1ms) BEGIN
2883
+ ---------------------------------------------------------
2884
+ ChecklistTest: test_#timing_is_a_sum_of_all_check_results
2885
+ ---------------------------------------------------------
2886
+  (0.2ms) ROLLBACK
2887
+  (0.1ms) BEGIN
2888
+ -------------------------------------------------------------------------
2889
+ ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist
2890
+ -------------------------------------------------------------------------
2891
+  (0.1ms) SELECT 1=1
2892
+  (0.1ms) ROLLBACK
2893
+  (0.1ms) BEGIN
2894
+ ----------------------------------------------
2895
+ ChecklistTest: test_can_look_up_checks_by_name
2896
+ ----------------------------------------------
2897
+  (0.1ms) ROLLBACK
2898
+  (0.1ms) BEGIN
2899
+ ---------------------------------------------
2900
+ ChecklistTest: test_cat_fetch_a_check_by_name
2901
+ ---------------------------------------------
2902
+  (0.1ms) ROLLBACK
2903
+  (0.1ms) BEGIN
2904
+ -------------------------------------------------------------------
2905
+ ChecklistTest: test_it_knows_the_number_of_checks_in_the_Repository
2906
+ -------------------------------------------------------------------
2907
+  (0.1ms) ROLLBACK
2908
+  (0.1ms) BEGIN
2909
+ ------------------------------------------
2910
+ ChecklistTest: test_it_will_run_each_check
2911
+ ------------------------------------------
2912
+  (0.1ms) SELECT 1=1
2913
+  (0.1ms) ROLLBACK
2914
+  (0.1ms) BEGIN
2915
+ ---------------------------------------------------------------------
2916
+ Easymon::ChecksControllerTest: test_index_when_a_critical_check_fails
2917
+ ---------------------------------------------------------------------
2918
+ Processing by Easymon::ChecksController#index as HTML
2919
+ Rendered text template (0.0ms)
2920
+ Completed 503 Service Unavailable in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
2921
+  (0.2ms) ROLLBACK
2922
+  (0.1ms) BEGIN
2923
+ -------------------------------------------------------------------------
2924
+ Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails
2925
+ -------------------------------------------------------------------------
2926
+ Processing by Easymon::ChecksController#index as HTML
2927
+  (0.2ms) SELECT 1=1
2928
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
2929
+  (0.2ms) ROLLBACK
2930
+  (0.1ms) BEGIN
2931
+ --------------------------------------------------------------
2932
+ Easymon::ChecksControllerTest: test_index_when_all_checks_pass
2933
+ --------------------------------------------------------------
2934
+ Processing by Easymon::ChecksController#index as HTML
2935
+  (0.2ms) SELECT 1=1
2936
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
2937
+  (0.1ms) ROLLBACK
2938
+  (0.1ms) BEGIN
2939
+ --------------------------------------------------------------------
2940
+ Easymon::ChecksControllerTest: test_index_when_no_checks_are_defined
2941
+ --------------------------------------------------------------------
2942
+ Processing by Easymon::ChecksController#index as HTML
2943
+ Completed 503 Service Unavailable in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2944
+  (0.1ms) ROLLBACK
2945
+  (0.1ms) BEGIN
2946
+ ------------------------------------------------------------------
2947
+ Easymon::ChecksControllerTest: test_show_if_the_check_is_not_found
2948
+ ------------------------------------------------------------------
2949
+ Processing by Easymon::ChecksController#show as HTML
2950
+ Parameters: {"check"=>"database"}
2951
+ Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2952
+  (0.2ms) ROLLBACK
2953
+  (0.1ms) BEGIN
2954
+ -------------------------------------------------------------
2955
+ Easymon::ChecksControllerTest: test_show_when_the_check_fails
2956
+ -------------------------------------------------------------
2957
+ Processing by Easymon::ChecksController#show as HTML
2958
+ Parameters: {"check"=>"database"}
2959
+ Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2960
+  (0.1ms) ROLLBACK
2961
+  (0.1ms) BEGIN
2962
+ --------------------------------------------------------------
2963
+ Easymon::ChecksControllerTest: test_show_when_the_check_passes
2964
+ --------------------------------------------------------------
2965
+ Processing by Easymon::ChecksController#show as HTML
2966
+ Parameters: {"check"=>"database"}
2967
+  (0.2ms) SELECT 1=1
2968
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
2969
+  (0.2ms) ROLLBACK
2970
+  (0.1ms) BEGIN
2971
+ ----------------------------------------------------------------
2972
+ HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
2973
+ ----------------------------------------------------------------
2974
+  (0.1ms) ROLLBACK
2975
+  (0.2ms) BEGIN
2976
+ ------------------------------------------------------------------
2977
+ HttpCheckTest: test_#run_sets_success_conditions_on_successful_run
2978
+ ------------------------------------------------------------------
2979
+  (0.2ms) ROLLBACK
2980
+  (0.1ms) BEGIN
2981
+ --------------------------------------
2982
+ HttpCheckTest: test_given_nil_as_a_url
2983
+ --------------------------------------
2984
+  (0.1ms) ROLLBACK
2985
+  (0.1ms) BEGIN
2986
+ ---------------------------------------------------------------------
2987
+ MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
2988
+ ---------------------------------------------------------------------
2989
+  (0.1ms) ROLLBACK
2990
+  (0.1ms) BEGIN
2991
+ -----------------------------------------------------------------------
2992
+ MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run
2993
+ -----------------------------------------------------------------------
2994
+  (0.1ms) ROLLBACK
2995
+  (0.1ms) BEGIN
2996
+ ------------------------------------------------------------------
2997
+ MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers
2998
+ ------------------------------------------------------------------
2999
+  (0.1ms) ROLLBACK
3000
+  (0.1ms) BEGIN
3001
+ ---------------------------------------------------------
3002
+ MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache
3003
+ ---------------------------------------------------------
3004
+  (0.1ms) ROLLBACK
3005
+  (0.1ms) BEGIN
3006
+ -----------------------------------------------------------------
3007
+ RedisCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
3008
+ -----------------------------------------------------------------
3009
+  (0.2ms) ROLLBACK
3010
+  (0.1ms) BEGIN
3011
+ -------------------------------------------------------------------
3012
+ RedisCheckTest: test_#run_sets_success_conditions_on_successful_run
3013
+ -------------------------------------------------------------------
3014
+  (0.2ms) ROLLBACK
3015
+  (0.1ms) BEGIN
3016
+ ------------------------------------------
3017
+ RedisCheckTest: test_given_nil_as_a_config
3018
+ ------------------------------------------
3019
+  (0.1ms) ROLLBACK
3020
+  (0.1ms) BEGIN
3021
+ ------------------------------------------------------------------------------
3022
+ RepositoryTest: test_adds_a_check_to_the_repository_for_the_critical_checklist
3023
+ ------------------------------------------------------------------------------
3024
+  (0.1ms) ROLLBACK
3025
+  (0.1ms) BEGIN
3026
+ --------------------------------------------------------------------------
3027
+ RepositoryTest: test_adds_checks_marked_critical_to_the_critical_checklist
3028
+ --------------------------------------------------------------------------
3029
+  (0.1ms) ROLLBACK
3030
+  (0.1ms) BEGIN
3031
+ --------------------------------------------
3032
+ RepositoryTest: test_fetches_a_check_by_name
3033
+ --------------------------------------------
3034
+  (0.1ms) ROLLBACK
3035
+  (0.1ms) BEGIN
3036
+ -----------------------------------------------------
3037
+ RepositoryTest: test_fetches_a_critical_check_by_name
3038
+ -----------------------------------------------------
3039
+  (0.1ms) ROLLBACK
3040
+  (0.1ms) BEGIN
3041
+ ---------------------------------------------------
3042
+ RepositoryTest: test_returns_a_checklist_when_asked
3043
+ ---------------------------------------------------
3044
+  (0.1ms) ROLLBACK
3045
+  (0.1ms) BEGIN
3046
+ ---------------------------------------------------------
3047
+ RepositoryTest: test_we_can_add_a_check_to_the_repository
3048
+ ---------------------------------------------------------
3049
+  (0.1ms) ROLLBACK
3050
+  (0.1ms) BEGIN
3051
+ --------------------------------------------------------------
3052
+ RepositoryTest: test_we_can_remove_a_check_from_the_repository
3053
+ --------------------------------------------------------------
3054
+  (0.1ms) ROLLBACK
3055
+  (0.1ms) BEGIN
3056
+ ---------------------------------------------------------------------
3057
+ SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
3058
+ ---------------------------------------------------------------------
3059
+  (0.1ms) ROLLBACK
3060
+  (0.1ms) BEGIN
3061
+ -----------------------------------------------------------------------
3062
+ SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run
3063
+ -----------------------------------------------------------------------
3064
+  (0.1ms) ROLLBACK
3065
+  (0.1ms) BEGIN
3066
+ --------------------------------------------------------------------------------
3067
+ SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down
3068
+ --------------------------------------------------------------------------------
3069
+  (0.2ms) SELECT 1=1
3070
+  (0.1ms) ROLLBACK
3071
+  (0.1ms) BEGIN
3072
+  (0.1ms) BEGIN
3073
+ -------------------------------------------------------------------------------
3074
+ SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down
3075
+ -------------------------------------------------------------------------------
3076
+  (0.1ms) SELECT 1=1
3077
+  (0.1ms) ROLLBACK
3078
+  (0.1ms) BEGIN
3079
+  (0.1ms) BEGIN
3080
+ -------------------------------------------------------------------------------
3081
+ SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run
3082
+ -------------------------------------------------------------------------------
3083
+  (0.1ms) SELECT 1=1
3084
+  (0.1ms) SELECT 1=1
3085
+  (0.1ms) ROLLBACK
3086
+  (0.1ms) BEGIN
3087
+  (0.1ms) BEGIN
3088
+ ------------------------------------------------------
3089
+ SplitActiveRecordCheckTest: test_given_nil_as_a_config
3090
+ ------------------------------------------------------
3091
+  (0.1ms) ROLLBACK
3092
+  (0.1ms) ROLLBACK
3093
+  (0.1ms) BEGIN
3094
+  (0.1ms) BEGIN
3095
+ ----------------------------------------------------------------------------
3096
+ TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run
3097
+ ----------------------------------------------------------------------------
3098
+  (0.1ms) ROLLBACK
3099
+  (0.1ms) ROLLBACK
3100
+  (0.2ms) BEGIN
3101
+  (0.1ms) BEGIN
3102
+ ------------------------------------------------------------------------------
3103
+ TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run
3104
+ ------------------------------------------------------------------------------
3105
+  (0.1ms) ROLLBACK
3106
+  (0.1ms) ROLLBACK
3107
+  (0.1ms) BEGIN
3108
+ --------------------------------------------------------------------------
3109
+ ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run
3110
+ --------------------------------------------------------------------------
3111
+  (0.1ms) ROLLBACK
3112
+  (0.1ms) BEGIN
3113
+ ----------------------------------------------------------------------------
3114
+ ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run
3115
+ ----------------------------------------------------------------------------
3116
+  (0.2ms) SELECT 1=1
3117
+  (0.1ms) ROLLBACK
3118
+  (0.1ms) BEGIN
3119
+ -------------------------------------------------
3120
+ ActiveRecordCheckTest: test_given_nil_as_a_config
3121
+ -------------------------------------------------
3122
+  (0.1ms) ROLLBACK
3123
+  (0.1ms) BEGIN
3124
+ ---------------------------------------------------------------------
3125
+ ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass
3126
+ ---------------------------------------------------------------------
3127
+  (0.1ms) SELECT 1=1
3128
+ Dalli::Server#connect 127.0.0.1:11211
3129
+  (0.1ms) ROLLBACK
3130
+  (0.1ms) BEGIN
3131
+ ------------------------------------------------------------------------------------
3132
+ ChecklistTest: test_#response_status_returns_:service_unavailable_when_a_check_fails
3133
+ ------------------------------------------------------------------------------------
3134
+  (0.2ms) SELECT 1=1
3135
+  (0.1ms) ROLLBACK
3136
+  (0.1ms) BEGIN
3137
+ -----------------------------------------------------------------
3138
+ ChecklistTest: test_#success?_returns_false_when_results_is_empty
3139
+ -----------------------------------------------------------------
3140
+  (0.1ms) ROLLBACK
3141
+  (0.1ms) BEGIN
3142
+ ---------------------------------------------------------
3143
+ ChecklistTest: test_#timing_is_a_sum_of_all_check_results
3144
+ ---------------------------------------------------------
3145
+  (0.1ms) ROLLBACK
3146
+  (0.1ms) BEGIN
3147
+ -------------------------------------------------------------------------
3148
+ ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist
3149
+ -------------------------------------------------------------------------
3150
+  (0.1ms) SELECT 1=1
3151
+  (0.1ms) ROLLBACK
3152
+  (0.1ms) BEGIN
3153
+ ----------------------------------------------
3154
+ ChecklistTest: test_can_look_up_checks_by_name
3155
+ ----------------------------------------------
3156
+  (0.1ms) ROLLBACK
3157
+  (0.1ms) BEGIN
3158
+ ---------------------------------------------
3159
+ ChecklistTest: test_cat_fetch_a_check_by_name
3160
+ ---------------------------------------------
3161
+  (0.1ms) ROLLBACK
3162
+  (0.1ms) BEGIN
3163
+ -------------------------------------------------------------------
3164
+ ChecklistTest: test_it_knows_the_number_of_checks_in_the_Repository
3165
+ -------------------------------------------------------------------
3166
+  (0.1ms) ROLLBACK
3167
+  (0.1ms) BEGIN
3168
+ ------------------------------------------
3169
+ ChecklistTest: test_it_will_run_each_check
3170
+ ------------------------------------------
3171
+  (0.1ms) SELECT 1=1
3172
+  (0.1ms) ROLLBACK
3173
+  (0.1ms) BEGIN
3174
+ ---------------------------------------------------------------------
3175
+ Easymon::ChecksControllerTest: test_index_when_a_critical_check_fails
3176
+ ---------------------------------------------------------------------
3177
+ Processing by Easymon::ChecksController#index as HTML
3178
+ Rendered text template (0.0ms)
3179
+ Completed 503 Service Unavailable in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
3180
+  (0.1ms) ROLLBACK
3181
+  (0.1ms) BEGIN
3182
+ -------------------------------------------------------------------------
3183
+ Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails
3184
+ -------------------------------------------------------------------------
3185
+ Processing by Easymon::ChecksController#index as HTML
3186
+  (0.2ms) SELECT 1=1
3187
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
3188
+  (0.1ms) ROLLBACK
3189
+  (0.1ms) BEGIN
3190
+ --------------------------------------------------------------
3191
+ Easymon::ChecksControllerTest: test_index_when_all_checks_pass
3192
+ --------------------------------------------------------------
3193
+ Processing by Easymon::ChecksController#index as HTML
3194
+  (0.2ms) SELECT 1=1
3195
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
3196
+  (0.1ms) ROLLBACK
3197
+  (0.1ms) BEGIN
3198
+ --------------------------------------------------------------------
3199
+ Easymon::ChecksControllerTest: test_index_when_no_checks_are_defined
3200
+ --------------------------------------------------------------------
3201
+ Processing by Easymon::ChecksController#index as HTML
3202
+ Completed 500 Internal Server Error in 0ms
3203
+  (0.1ms) ROLLBACK
3204
+  (0.1ms) BEGIN
3205
+ ------------------------------------------------------------------
3206
+ Easymon::ChecksControllerTest: test_show_if_the_check_is_not_found
3207
+ ------------------------------------------------------------------
3208
+ Processing by Easymon::ChecksController#show as HTML
3209
+ Parameters: {"check"=>"database"}
3210
+ Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
3211
+  (0.2ms) ROLLBACK
3212
+  (0.1ms) BEGIN
3213
+ -------------------------------------------------------------
3214
+ Easymon::ChecksControllerTest: test_show_when_the_check_fails
3215
+ -------------------------------------------------------------
3216
+ Processing by Easymon::ChecksController#show as HTML
3217
+ Parameters: {"check"=>"database"}
3218
+ Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
3219
+  (0.2ms) ROLLBACK
3220
+  (0.1ms) BEGIN
3221
+ --------------------------------------------------------------
3222
+ Easymon::ChecksControllerTest: test_show_when_the_check_passes
3223
+ --------------------------------------------------------------
3224
+ Processing by Easymon::ChecksController#show as HTML
3225
+ Parameters: {"check"=>"database"}
3226
+  (0.2ms) SELECT 1=1
3227
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
3228
+  (0.1ms) ROLLBACK
3229
+  (0.1ms) BEGIN
3230
+ ----------------------------------------------------------------
3231
+ HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
3232
+ ----------------------------------------------------------------
3233
+  (0.1ms) ROLLBACK
3234
+  (0.1ms) BEGIN
3235
+ ------------------------------------------------------------------
3236
+ HttpCheckTest: test_#run_sets_success_conditions_on_successful_run
3237
+ ------------------------------------------------------------------
3238
+  (0.1ms) ROLLBACK
3239
+  (0.1ms) BEGIN
3240
+ --------------------------------------
3241
+ HttpCheckTest: test_given_nil_as_a_url
3242
+ --------------------------------------
3243
+  (0.1ms) ROLLBACK
3244
+  (0.1ms) BEGIN
3245
+ ---------------------------------------------------------------------
3246
+ MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
3247
+ ---------------------------------------------------------------------
3248
+  (0.1ms) ROLLBACK
3249
+  (0.1ms) BEGIN
3250
+ -----------------------------------------------------------------------
3251
+ MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run
3252
+ -----------------------------------------------------------------------
3253
+  (0.1ms) ROLLBACK
3254
+  (0.1ms) BEGIN
3255
+ ------------------------------------------------------------------
3256
+ MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers
3257
+ ------------------------------------------------------------------
3258
+  (0.1ms) ROLLBACK
3259
+  (0.1ms) BEGIN
3260
+ ---------------------------------------------------------
3261
+ MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache
3262
+ ---------------------------------------------------------
3263
+  (0.1ms) ROLLBACK
3264
+  (0.1ms) BEGIN
3265
+ -----------------------------------------------------------------
3266
+ RedisCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
3267
+ -----------------------------------------------------------------
3268
+  (0.1ms) ROLLBACK
3269
+  (0.1ms) BEGIN
3270
+ -------------------------------------------------------------------
3271
+ RedisCheckTest: test_#run_sets_success_conditions_on_successful_run
3272
+ -------------------------------------------------------------------
3273
+  (0.1ms) ROLLBACK
3274
+  (0.1ms) BEGIN
3275
+ ------------------------------------------
3276
+ RedisCheckTest: test_given_nil_as_a_config
3277
+ ------------------------------------------
3278
+  (0.1ms) ROLLBACK
3279
+  (0.1ms) BEGIN
3280
+ ------------------------------------------------------------------------------
3281
+ RepositoryTest: test_adds_a_check_to_the_repository_for_the_critical_checklist
3282
+ ------------------------------------------------------------------------------
3283
+  (0.1ms) ROLLBACK
3284
+  (0.1ms) BEGIN
3285
+ --------------------------------------------------------------------------
3286
+ RepositoryTest: test_adds_checks_marked_critical_to_the_critical_checklist
3287
+ --------------------------------------------------------------------------
3288
+  (0.1ms) ROLLBACK
3289
+  (0.1ms) BEGIN
3290
+ --------------------------------------------
3291
+ RepositoryTest: test_fetches_a_check_by_name
3292
+ --------------------------------------------
3293
+  (0.1ms) ROLLBACK
3294
+  (0.1ms) BEGIN
3295
+ -----------------------------------------------------
3296
+ RepositoryTest: test_fetches_a_critical_check_by_name
3297
+ -----------------------------------------------------
3298
+  (0.1ms) ROLLBACK
3299
+  (0.1ms) BEGIN
3300
+ ---------------------------------------------------
3301
+ RepositoryTest: test_returns_a_checklist_when_asked
3302
+ ---------------------------------------------------
3303
+  (0.1ms) ROLLBACK
3304
+  (0.1ms) BEGIN
3305
+ ---------------------------------------------------------
3306
+ RepositoryTest: test_we_can_add_a_check_to_the_repository
3307
+ ---------------------------------------------------------
3308
+  (0.1ms) ROLLBACK
3309
+  (0.1ms) BEGIN
3310
+ --------------------------------------------------------------
3311
+ RepositoryTest: test_we_can_remove_a_check_from_the_repository
3312
+ --------------------------------------------------------------
3313
+  (0.1ms) ROLLBACK
3314
+  (0.1ms) BEGIN
3315
+ ---------------------------------------------------------------------
3316
+ SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
3317
+ ---------------------------------------------------------------------
3318
+  (0.1ms) ROLLBACK
3319
+  (0.1ms) BEGIN
3320
+ -----------------------------------------------------------------------
3321
+ SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run
3322
+ -----------------------------------------------------------------------
3323
+  (0.1ms) ROLLBACK
3324
+  (0.1ms) BEGIN
3325
+ --------------------------------------------------------------------------------
3326
+ SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down
3327
+ --------------------------------------------------------------------------------
3328
+  (0.1ms) SELECT 1=1
3329
+  (0.1ms) ROLLBACK
3330
+  (0.1ms) BEGIN
3331
+  (0.1ms) BEGIN
3332
+ -------------------------------------------------------------------------------
3333
+ SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down
3334
+ -------------------------------------------------------------------------------
3335
+  (0.1ms) SELECT 1=1
3336
+  (0.1ms) ROLLBACK
3337
+  (0.1ms) BEGIN
3338
+  (0.1ms) BEGIN
3339
+ -------------------------------------------------------------------------------
3340
+ SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run
3341
+ -------------------------------------------------------------------------------
3342
+  (0.1ms) SELECT 1=1
3343
+  (0.1ms) SELECT 1=1
3344
+  (0.1ms) ROLLBACK
3345
+  (0.1ms) BEGIN
3346
+  (0.1ms) BEGIN
3347
+ ------------------------------------------------------
3348
+ SplitActiveRecordCheckTest: test_given_nil_as_a_config
3349
+ ------------------------------------------------------
3350
+  (0.1ms) ROLLBACK
3351
+  (0.1ms) ROLLBACK
3352
+  (0.1ms) BEGIN
3353
+  (0.1ms) BEGIN
3354
+ ----------------------------------------------------------------------------
3355
+ TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run
3356
+ ----------------------------------------------------------------------------
3357
+  (0.1ms) ROLLBACK
3358
+  (0.1ms) ROLLBACK
3359
+  (0.1ms) BEGIN
3360
+  (0.1ms) BEGIN
3361
+ ------------------------------------------------------------------------------
3362
+ TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run
3363
+ ------------------------------------------------------------------------------
3364
+  (0.1ms) ROLLBACK
3365
+  (0.1ms) ROLLBACK
3366
+  (0.2ms) BEGIN
3367
+ --------------------------------------------------------------------------
3368
+ ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run
3369
+ --------------------------------------------------------------------------
3370
+  (0.1ms) ROLLBACK
3371
+  (0.1ms) BEGIN
3372
+ ----------------------------------------------------------------------------
3373
+ ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run
3374
+ ----------------------------------------------------------------------------
3375
+  (0.2ms) SELECT 1=1
3376
+  (0.1ms) ROLLBACK
3377
+  (0.1ms) BEGIN
3378
+ -------------------------------------------------
3379
+ ActiveRecordCheckTest: test_given_nil_as_a_config
3380
+ -------------------------------------------------
3381
+  (0.1ms) ROLLBACK
3382
+  (0.1ms) BEGIN
3383
+ ---------------------------------------------------------------------
3384
+ ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass
3385
+ ---------------------------------------------------------------------
3386
+  (0.2ms) SELECT 1=1
3387
+ Dalli::Server#connect 127.0.0.1:11211
3388
+  (0.1ms) ROLLBACK
3389
+  (0.1ms) BEGIN
3390
+ ------------------------------------------------------------------------------------
3391
+ ChecklistTest: test_#response_status_returns_:service_unavailable_when_a_check_fails
3392
+ ------------------------------------------------------------------------------------
3393
+  (0.2ms) SELECT 1=1
3394
+  (0.1ms) ROLLBACK
3395
+  (0.1ms) BEGIN
3396
+ -----------------------------------------------------------------
3397
+ ChecklistTest: test_#success?_returns_false_when_results_is_empty
3398
+ -----------------------------------------------------------------
3399
+  (0.1ms) ROLLBACK
3400
+  (0.1ms) BEGIN
3401
+ ---------------------------------------------------------
3402
+ ChecklistTest: test_#timing_is_a_sum_of_all_check_results
3403
+ ---------------------------------------------------------
3404
+  (0.1ms) ROLLBACK
3405
+  (0.1ms) BEGIN
3406
+ -------------------------------------------------------------------------
3407
+ ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist
3408
+ -------------------------------------------------------------------------
3409
+  (0.1ms) SELECT 1=1
3410
+  (0.1ms) ROLLBACK
3411
+  (0.1ms) BEGIN
3412
+ ----------------------------------------------
3413
+ ChecklistTest: test_can_look_up_checks_by_name
3414
+ ----------------------------------------------
3415
+  (0.1ms) ROLLBACK
3416
+  (0.1ms) BEGIN
3417
+ ---------------------------------------------
3418
+ ChecklistTest: test_cat_fetch_a_check_by_name
3419
+ ---------------------------------------------
3420
+  (0.1ms) ROLLBACK
3421
+  (0.1ms) BEGIN
3422
+ -------------------------------------------------------------------
3423
+ ChecklistTest: test_it_knows_the_number_of_checks_in_the_Repository
3424
+ -------------------------------------------------------------------
3425
+  (0.1ms) ROLLBACK
3426
+  (0.1ms) BEGIN
3427
+ ------------------------------------------
3428
+ ChecklistTest: test_it_will_run_each_check
3429
+ ------------------------------------------
3430
+  (0.1ms) SELECT 1=1
3431
+  (0.1ms) ROLLBACK
3432
+  (0.1ms) BEGIN
3433
+ ---------------------------------------------------------------------
3434
+ Easymon::ChecksControllerTest: test_index_when_a_critical_check_fails
3435
+ ---------------------------------------------------------------------
3436
+ Processing by Easymon::ChecksController#index as HTML
3437
+ Rendered text template (0.0ms)
3438
+ Completed 503 Service Unavailable in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
3439
+  (0.2ms) ROLLBACK
3440
+  (0.1ms) BEGIN
3441
+ -------------------------------------------------------------------------
3442
+ Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails
3443
+ -------------------------------------------------------------------------
3444
+ Processing by Easymon::ChecksController#index as HTML
3445
+  (0.2ms) SELECT 1=1
3446
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
3447
+  (0.1ms) ROLLBACK
3448
+  (0.1ms) BEGIN
3449
+ --------------------------------------------------------------
3450
+ Easymon::ChecksControllerTest: test_index_when_all_checks_pass
3451
+ --------------------------------------------------------------
3452
+ Processing by Easymon::ChecksController#index as HTML
3453
+  (0.1ms) SELECT 1=1
3454
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
3455
+  (0.1ms) ROLLBACK
3456
+  (0.1ms) BEGIN
3457
+ --------------------------------------------------------------------
3458
+ Easymon::ChecksControllerTest: test_index_when_no_checks_are_defined
3459
+ --------------------------------------------------------------------
3460
+ Processing by Easymon::ChecksController#index as HTML
3461
+ Completed 500 Internal Server Error in 0ms
3462
+  (0.1ms) ROLLBACK
3463
+  (0.1ms) BEGIN
3464
+ ------------------------------------------------------------------
3465
+ Easymon::ChecksControllerTest: test_show_if_the_check_is_not_found
3466
+ ------------------------------------------------------------------
3467
+ Processing by Easymon::ChecksController#show as HTML
3468
+ Parameters: {"check"=>"database"}
3469
+ Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
3470
+  (0.2ms) ROLLBACK
3471
+  (0.1ms) BEGIN
3472
+ -------------------------------------------------------------
3473
+ Easymon::ChecksControllerTest: test_show_when_the_check_fails
3474
+ -------------------------------------------------------------
3475
+ Processing by Easymon::ChecksController#show as HTML
3476
+ Parameters: {"check"=>"database"}
3477
+ Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
3478
+  (0.2ms) ROLLBACK
3479
+  (0.1ms) BEGIN
3480
+ --------------------------------------------------------------
3481
+ Easymon::ChecksControllerTest: test_show_when_the_check_passes
3482
+ --------------------------------------------------------------
3483
+ Processing by Easymon::ChecksController#show as HTML
3484
+ Parameters: {"check"=>"database"}
3485
+  (0.2ms) SELECT 1=1
3486
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
3487
+  (0.1ms) ROLLBACK
3488
+  (0.1ms) BEGIN
3489
+ ----------------------------------------------------------------
3490
+ HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
3491
+ ----------------------------------------------------------------
3492
+  (0.1ms) ROLLBACK
3493
+  (0.1ms) BEGIN
3494
+ ------------------------------------------------------------------
3495
+ HttpCheckTest: test_#run_sets_success_conditions_on_successful_run
3496
+ ------------------------------------------------------------------
3497
+  (0.1ms) ROLLBACK
3498
+  (0.1ms) BEGIN
3499
+ --------------------------------------
3500
+ HttpCheckTest: test_given_nil_as_a_url
3501
+ --------------------------------------
3502
+  (0.1ms) ROLLBACK
3503
+  (0.1ms) BEGIN
3504
+ ---------------------------------------------------------------------
3505
+ MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
3506
+ ---------------------------------------------------------------------
3507
+  (0.1ms) ROLLBACK
3508
+  (0.1ms) BEGIN
3509
+ -----------------------------------------------------------------------
3510
+ MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run
3511
+ -----------------------------------------------------------------------
3512
+  (0.1ms) ROLLBACK
3513
+  (0.1ms) BEGIN
3514
+ ------------------------------------------------------------------
3515
+ MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers
3516
+ ------------------------------------------------------------------
3517
+  (0.1ms) ROLLBACK
3518
+  (0.1ms) BEGIN
3519
+ ---------------------------------------------------------
3520
+ MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache
3521
+ ---------------------------------------------------------
3522
+  (0.1ms) ROLLBACK
3523
+  (0.1ms) BEGIN
3524
+ -----------------------------------------------------------------
3525
+ RedisCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
3526
+ -----------------------------------------------------------------
3527
+  (0.2ms) ROLLBACK
3528
+  (0.1ms) BEGIN
3529
+ -------------------------------------------------------------------
3530
+ RedisCheckTest: test_#run_sets_success_conditions_on_successful_run
3531
+ -------------------------------------------------------------------
3532
+  (0.1ms) ROLLBACK
3533
+  (0.1ms) BEGIN
3534
+ ------------------------------------------
3535
+ RedisCheckTest: test_given_nil_as_a_config
3536
+ ------------------------------------------
3537
+  (0.1ms) ROLLBACK
3538
+  (0.1ms) BEGIN
3539
+ ------------------------------------------------------------------------------
3540
+ RepositoryTest: test_adds_a_check_to_the_repository_for_the_critical_checklist
3541
+ ------------------------------------------------------------------------------
3542
+  (0.1ms) ROLLBACK
3543
+  (0.1ms) BEGIN
3544
+ --------------------------------------------------------------------------
3545
+ RepositoryTest: test_adds_checks_marked_critical_to_the_critical_checklist
3546
+ --------------------------------------------------------------------------
3547
+  (0.1ms) ROLLBACK
3548
+  (0.1ms) BEGIN
3549
+ --------------------------------------------
3550
+ RepositoryTest: test_fetches_a_check_by_name
3551
+ --------------------------------------------
3552
+  (0.1ms) ROLLBACK
3553
+  (0.1ms) BEGIN
3554
+ -----------------------------------------------------
3555
+ RepositoryTest: test_fetches_a_critical_check_by_name
3556
+ -----------------------------------------------------
3557
+  (0.1ms) ROLLBACK
3558
+  (0.1ms) BEGIN
3559
+ ---------------------------------------------------
3560
+ RepositoryTest: test_returns_a_checklist_when_asked
3561
+ ---------------------------------------------------
3562
+  (0.1ms) ROLLBACK
3563
+  (0.1ms) BEGIN
3564
+ ---------------------------------------------------------
3565
+ RepositoryTest: test_we_can_add_a_check_to_the_repository
3566
+ ---------------------------------------------------------
3567
+  (0.1ms) ROLLBACK
3568
+  (0.1ms) BEGIN
3569
+ --------------------------------------------------------------
3570
+ RepositoryTest: test_we_can_remove_a_check_from_the_repository
3571
+ --------------------------------------------------------------
3572
+  (0.1ms) ROLLBACK
3573
+  (0.1ms) BEGIN
3574
+ ---------------------------------------------------------------------
3575
+ SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
3576
+ ---------------------------------------------------------------------
3577
+  (0.1ms) ROLLBACK
3578
+  (0.1ms) BEGIN
3579
+ -----------------------------------------------------------------------
3580
+ SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run
3581
+ -----------------------------------------------------------------------
3582
+  (0.1ms) ROLLBACK
3583
+  (0.1ms) BEGIN
3584
+ --------------------------------------------------------------------------------
3585
+ SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down
3586
+ --------------------------------------------------------------------------------
3587
+  (0.1ms) SELECT 1=1
3588
+  (0.1ms) ROLLBACK
3589
+  (0.1ms) BEGIN
3590
+  (0.1ms) BEGIN
3591
+ -------------------------------------------------------------------------------
3592
+ SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down
3593
+ -------------------------------------------------------------------------------
3594
+  (0.1ms) SELECT 1=1
3595
+  (0.1ms) ROLLBACK
3596
+  (0.1ms) BEGIN
3597
+  (0.1ms) BEGIN
3598
+ -------------------------------------------------------------------------------
3599
+ SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run
3600
+ -------------------------------------------------------------------------------
3601
+  (0.1ms) SELECT 1=1
3602
+  (0.1ms) SELECT 1=1
3603
+  (0.1ms) ROLLBACK
3604
+  (0.1ms) BEGIN
3605
+  (0.1ms) BEGIN
3606
+ ------------------------------------------------------
3607
+ SplitActiveRecordCheckTest: test_given_nil_as_a_config
3608
+ ------------------------------------------------------
3609
+  (0.1ms) ROLLBACK
3610
+  (0.1ms) ROLLBACK
3611
+  (0.1ms) BEGIN
3612
+  (0.1ms) BEGIN
3613
+ ----------------------------------------------------------------------------
3614
+ TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run
3615
+ ----------------------------------------------------------------------------
3616
+  (0.1ms) ROLLBACK
3617
+  (0.1ms) ROLLBACK
3618
+  (0.1ms) BEGIN
3619
+  (0.1ms) BEGIN
3620
+ ------------------------------------------------------------------------------
3621
+ TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run
3622
+ ------------------------------------------------------------------------------
3623
+  (0.1ms) ROLLBACK
3624
+  (0.1ms) ROLLBACK
3625
+  (0.1ms) BEGIN
3626
+ --------------------------------------------------------------------------
3627
+ ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run
3628
+ --------------------------------------------------------------------------
3629
+  (0.1ms) ROLLBACK
3630
+  (0.1ms) BEGIN
3631
+ ----------------------------------------------------------------------------
3632
+ ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run
3633
+ ----------------------------------------------------------------------------
3634
+  (0.2ms) SELECT 1=1
3635
+  (0.1ms) ROLLBACK
3636
+  (0.1ms) BEGIN
3637
+ -------------------------------------------------
3638
+ ActiveRecordCheckTest: test_given_nil_as_a_config
3639
+ -------------------------------------------------
3640
+  (0.1ms) ROLLBACK
3641
+  (0.1ms) BEGIN
3642
+ ---------------------------------------------------------------------
3643
+ ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass
3644
+ ---------------------------------------------------------------------
3645
+  (0.1ms) SELECT 1=1
3646
+ Dalli::Server#connect 127.0.0.1:11211
3647
+  (0.1ms) ROLLBACK
3648
+  (0.1ms) BEGIN
3649
+ ------------------------------------------------------------------------------------
3650
+ ChecklistTest: test_#response_status_returns_:service_unavailable_when_a_check_fails
3651
+ ------------------------------------------------------------------------------------
3652
+  (0.1ms) SELECT 1=1
3653
+  (0.1ms) ROLLBACK
3654
+  (0.1ms) BEGIN
3655
+ -----------------------------------------------------------------
3656
+ ChecklistTest: test_#success?_returns_false_when_results_is_empty
3657
+ -----------------------------------------------------------------
3658
+  (0.1ms) ROLLBACK
3659
+  (0.1ms) BEGIN
3660
+ ---------------------------------------------------------
3661
+ ChecklistTest: test_#timing_is_a_sum_of_all_check_results
3662
+ ---------------------------------------------------------
3663
+  (0.1ms) ROLLBACK
3664
+  (0.1ms) BEGIN
3665
+ -------------------------------------------------------------------------
3666
+ ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist
3667
+ -------------------------------------------------------------------------
3668
+  (0.1ms) SELECT 1=1
3669
+  (0.1ms) ROLLBACK
3670
+  (0.1ms) BEGIN
3671
+ ----------------------------------------------
3672
+ ChecklistTest: test_can_look_up_checks_by_name
3673
+ ----------------------------------------------
3674
+  (0.1ms) ROLLBACK
3675
+  (0.1ms) BEGIN
3676
+ ---------------------------------------------
3677
+ ChecklistTest: test_cat_fetch_a_check_by_name
3678
+ ---------------------------------------------
3679
+  (0.1ms) ROLLBACK
3680
+  (0.1ms) BEGIN
3681
+ -------------------------------------------------------------------
3682
+ ChecklistTest: test_it_knows_the_number_of_checks_in_the_Repository
3683
+ -------------------------------------------------------------------
3684
+  (0.1ms) ROLLBACK
3685
+  (0.1ms) BEGIN
3686
+ ------------------------------------------
3687
+ ChecklistTest: test_it_will_run_each_check
3688
+ ------------------------------------------
3689
+  (0.2ms) SELECT 1=1
3690
+  (0.1ms) ROLLBACK
3691
+  (0.1ms) BEGIN
3692
+ ---------------------------------------------------------------------
3693
+ Easymon::ChecksControllerTest: test_index_when_a_critical_check_fails
3694
+ ---------------------------------------------------------------------
3695
+ Processing by Easymon::ChecksController#index as HTML
3696
+ Rendered text template (0.0ms)
3697
+ Completed 503 Service Unavailable in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
3698
+  (0.2ms) ROLLBACK
3699
+  (0.1ms) BEGIN
3700
+ -------------------------------------------------------------------------
3701
+ Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails
3702
+ -------------------------------------------------------------------------
3703
+ Processing by Easymon::ChecksController#index as HTML
3704
+  (0.2ms) SELECT 1=1
3705
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
3706
+  (0.2ms) ROLLBACK
3707
+  (0.1ms) BEGIN
3708
+ --------------------------------------------------------------
3709
+ Easymon::ChecksControllerTest: test_index_when_all_checks_pass
3710
+ --------------------------------------------------------------
3711
+ Processing by Easymon::ChecksController#index as HTML
3712
+  (0.2ms) SELECT 1=1
3713
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
3714
+  (0.2ms) ROLLBACK
3715
+  (0.1ms) BEGIN
3716
+ --------------------------------------------------------------------
3717
+ Easymon::ChecksControllerTest: test_index_when_no_checks_are_defined
3718
+ --------------------------------------------------------------------
3719
+ Processing by Easymon::ChecksController#index as HTML
3720
+ Completed 500 Internal Server Error in 0ms
3721
+  (0.2ms) ROLLBACK
3722
+  (0.1ms) BEGIN
3723
+ ------------------------------------------------------------------
3724
+ Easymon::ChecksControllerTest: test_show_if_the_check_is_not_found
3725
+ ------------------------------------------------------------------
3726
+ Processing by Easymon::ChecksController#show as HTML
3727
+ Parameters: {"check"=>"database"}
3728
+ Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
3729
+  (0.1ms) ROLLBACK
3730
+  (0.1ms) BEGIN
3731
+ -------------------------------------------------------------
3732
+ Easymon::ChecksControllerTest: test_show_when_the_check_fails
3733
+ -------------------------------------------------------------
3734
+ Processing by Easymon::ChecksController#show as HTML
3735
+ Parameters: {"check"=>"database"}
3736
+ Completed 503 Service Unavailable in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
3737
+  (0.2ms) ROLLBACK
3738
+  (0.3ms) BEGIN
3739
+ --------------------------------------------------------------
3740
+ Easymon::ChecksControllerTest: test_show_when_the_check_passes
3741
+ --------------------------------------------------------------
3742
+ Processing by Easymon::ChecksController#show as HTML
3743
+ Parameters: {"check"=>"database"}
3744
+  (0.3ms) SELECT 1=1
3745
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.3ms)
3746
+  (0.2ms) ROLLBACK
3747
+  (0.2ms) BEGIN
3748
+ ----------------------------------------------------------------
3749
+ HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
3750
+ ----------------------------------------------------------------
3751
+  (0.2ms) ROLLBACK
3752
+  (0.1ms) BEGIN
3753
+ ------------------------------------------------------------------
3754
+ HttpCheckTest: test_#run_sets_success_conditions_on_successful_run
3755
+ ------------------------------------------------------------------
3756
+  (0.1ms) ROLLBACK
3757
+  (0.1ms) BEGIN
3758
+ --------------------------------------
3759
+ HttpCheckTest: test_given_nil_as_a_url
3760
+ --------------------------------------
3761
+  (0.1ms) ROLLBACK
3762
+  (0.1ms) BEGIN
3763
+ ---------------------------------------------------------------------
3764
+ MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
3765
+ ---------------------------------------------------------------------
3766
+  (0.1ms) ROLLBACK
3767
+  (0.1ms) BEGIN
3768
+ -----------------------------------------------------------------------
3769
+ MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run
3770
+ -----------------------------------------------------------------------
3771
+  (0.1ms) ROLLBACK
3772
+  (0.1ms) BEGIN
3773
+ ------------------------------------------------------------------
3774
+ MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers
3775
+ ------------------------------------------------------------------
3776
+  (0.1ms) ROLLBACK
3777
+  (0.1ms) BEGIN
3778
+ ---------------------------------------------------------
3779
+ MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache
3780
+ ---------------------------------------------------------
3781
+  (0.1ms) ROLLBACK
3782
+  (0.1ms) BEGIN
3783
+ -----------------------------------------------------------------
3784
+ RedisCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
3785
+ -----------------------------------------------------------------
3786
+  (0.1ms) ROLLBACK
3787
+  (0.1ms) BEGIN
3788
+ -------------------------------------------------------------------
3789
+ RedisCheckTest: test_#run_sets_success_conditions_on_successful_run
3790
+ -------------------------------------------------------------------
3791
+  (0.1ms) ROLLBACK
3792
+  (0.1ms) BEGIN
3793
+ ------------------------------------------
3794
+ RedisCheckTest: test_given_nil_as_a_config
3795
+ ------------------------------------------
3796
+  (0.1ms) ROLLBACK
3797
+  (0.1ms) BEGIN
3798
+ ------------------------------------------------------------------------------
3799
+ RepositoryTest: test_adds_a_check_to_the_repository_for_the_critical_checklist
3800
+ ------------------------------------------------------------------------------
3801
+  (0.1ms) ROLLBACK
3802
+  (0.1ms) BEGIN
3803
+ --------------------------------------------------------------------------
3804
+ RepositoryTest: test_adds_checks_marked_critical_to_the_critical_checklist
3805
+ --------------------------------------------------------------------------
3806
+  (0.1ms) ROLLBACK
3807
+  (0.1ms) BEGIN
3808
+ --------------------------------------------
3809
+ RepositoryTest: test_fetches_a_check_by_name
3810
+ --------------------------------------------
3811
+  (0.1ms) ROLLBACK
3812
+  (0.1ms) BEGIN
3813
+ -----------------------------------------------------
3814
+ RepositoryTest: test_fetches_a_critical_check_by_name
3815
+ -----------------------------------------------------
3816
+  (0.1ms) ROLLBACK
3817
+  (0.1ms) BEGIN
3818
+ ---------------------------------------------------
3819
+ RepositoryTest: test_returns_a_checklist_when_asked
3820
+ ---------------------------------------------------
3821
+  (0.1ms) ROLLBACK
3822
+  (0.1ms) BEGIN
3823
+ ---------------------------------------------------------
3824
+ RepositoryTest: test_we_can_add_a_check_to_the_repository
3825
+ ---------------------------------------------------------
3826
+  (0.1ms) ROLLBACK
3827
+  (0.1ms) BEGIN
3828
+ --------------------------------------------------------------
3829
+ RepositoryTest: test_we_can_remove_a_check_from_the_repository
3830
+ --------------------------------------------------------------
3831
+  (0.1ms) ROLLBACK
3832
+  (0.1ms) BEGIN
3833
+ ---------------------------------------------------------------------
3834
+ SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
3835
+ ---------------------------------------------------------------------
3836
+  (0.1ms) ROLLBACK
3837
+  (0.1ms) BEGIN
3838
+ -----------------------------------------------------------------------
3839
+ SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run
3840
+ -----------------------------------------------------------------------
3841
+  (0.1ms) ROLLBACK
3842
+  (0.1ms) BEGIN
3843
+ --------------------------------------------------------------------------------
3844
+ SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down
3845
+ --------------------------------------------------------------------------------
3846
+  (0.1ms) SELECT 1=1
3847
+  (0.1ms) ROLLBACK
3848
+  (0.1ms) BEGIN
3849
+  (0.1ms) BEGIN
3850
+ -------------------------------------------------------------------------------
3851
+ SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down
3852
+ -------------------------------------------------------------------------------
3853
+  (0.1ms) SELECT 1=1
3854
+  (0.1ms) ROLLBACK
3855
+  (0.1ms) BEGIN
3856
+  (0.1ms) BEGIN
3857
+ -------------------------------------------------------------------------------
3858
+ SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run
3859
+ -------------------------------------------------------------------------------
3860
+  (0.1ms) SELECT 1=1
3861
+  (0.1ms) SELECT 1=1
3862
+  (0.1ms) ROLLBACK
3863
+  (0.1ms) BEGIN
3864
+  (0.1ms) BEGIN
3865
+ ------------------------------------------------------
3866
+ SplitActiveRecordCheckTest: test_given_nil_as_a_config
3867
+ ------------------------------------------------------
3868
+  (0.1ms) ROLLBACK
3869
+  (0.1ms) ROLLBACK
3870
+  (0.1ms) BEGIN
3871
+  (0.1ms) BEGIN
3872
+ ----------------------------------------------------------------------------
3873
+ TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run
3874
+ ----------------------------------------------------------------------------
3875
+  (0.1ms) ROLLBACK
3876
+  (0.1ms) ROLLBACK
3877
+  (0.1ms) BEGIN
3878
+  (0.1ms) BEGIN
3879
+ ------------------------------------------------------------------------------
3880
+ TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run
3881
+ ------------------------------------------------------------------------------
3882
+  (0.1ms) ROLLBACK
3883
+  (0.1ms) ROLLBACK
3884
+  (0.1ms) BEGIN
3885
+ --------------------------------------------------------------------------
3886
+ ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run
3887
+ --------------------------------------------------------------------------
3888
+  (0.3ms) ROLLBACK
3889
+  (0.2ms) BEGIN
3890
+ ----------------------------------------------------------------------------
3891
+ ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run
3892
+ ----------------------------------------------------------------------------
3893
+  (0.2ms) SELECT 1=1
3894
+  (0.1ms) ROLLBACK
3895
+  (0.1ms) BEGIN
3896
+ -------------------------------------------------
3897
+ ActiveRecordCheckTest: test_given_nil_as_a_config
3898
+ -------------------------------------------------
3899
+  (0.1ms) ROLLBACK
3900
+  (0.1ms) BEGIN
3901
+ ---------------------------------------------------------------------
3902
+ ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass
3903
+ ---------------------------------------------------------------------
3904
+  (0.2ms) SELECT 1=1
3905
+ Dalli::Server#connect 127.0.0.1:11211
3906
+  (0.1ms) ROLLBACK
3907
+  (0.1ms) BEGIN
3908
+ ------------------------------------------------------------------------------------
3909
+ ChecklistTest: test_#response_status_returns_:service_unavailable_when_a_check_fails
3910
+ ------------------------------------------------------------------------------------
3911
+  (0.2ms) SELECT 1=1
3912
+  (0.1ms) ROLLBACK
3913
+  (0.1ms) BEGIN
3914
+ -----------------------------------------------------------------
3915
+ ChecklistTest: test_#success?_returns_false_when_results_is_empty
3916
+ -----------------------------------------------------------------
3917
+  (0.1ms) ROLLBACK
3918
+  (0.1ms) BEGIN
3919
+ ---------------------------------------------------------
3920
+ ChecklistTest: test_#timing_is_a_sum_of_all_check_results
3921
+ ---------------------------------------------------------
3922
+  (0.1ms) ROLLBACK
3923
+  (0.1ms) BEGIN
3924
+ -------------------------------------------------------------------------
3925
+ ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist
3926
+ -------------------------------------------------------------------------
3927
+  (0.1ms) SELECT 1=1
3928
+  (0.1ms) ROLLBACK
3929
+  (0.1ms) BEGIN
3930
+ ----------------------------------------------
3931
+ ChecklistTest: test_can_look_up_checks_by_name
3932
+ ----------------------------------------------
3933
+  (0.1ms) ROLLBACK
3934
+  (0.1ms) BEGIN
3935
+ ---------------------------------------------
3936
+ ChecklistTest: test_cat_fetch_a_check_by_name
3937
+ ---------------------------------------------
3938
+  (0.1ms) ROLLBACK
3939
+  (0.1ms) BEGIN
3940
+ -------------------------------------------------------------------
3941
+ ChecklistTest: test_it_knows_the_number_of_checks_in_the_Repository
3942
+ -------------------------------------------------------------------
3943
+  (0.1ms) ROLLBACK
3944
+  (0.1ms) BEGIN
3945
+ ------------------------------------------
3946
+ ChecklistTest: test_it_will_run_each_check
3947
+ ------------------------------------------
3948
+  (0.1ms) SELECT 1=1
3949
+  (0.1ms) ROLLBACK
3950
+  (0.1ms) BEGIN
3951
+ ---------------------------------------------------------------------
3952
+ Easymon::ChecksControllerTest: test_index_when_a_critical_check_fails
3953
+ ---------------------------------------------------------------------
3954
+ Processing by Easymon::ChecksController#index as HTML
3955
+ Rendered text template (0.0ms)
3956
+ Completed 503 Service Unavailable in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
3957
+  (0.2ms) ROLLBACK
3958
+  (0.1ms) BEGIN
3959
+ -------------------------------------------------------------------------
3960
+ Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails
3961
+ -------------------------------------------------------------------------
3962
+ Processing by Easymon::ChecksController#index as HTML
3963
+  (0.2ms) SELECT 1=1
3964
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
3965
+  (0.2ms) ROLLBACK
3966
+  (0.1ms) BEGIN
3967
+ --------------------------------------------------------------
3968
+ Easymon::ChecksControllerTest: test_index_when_all_checks_pass
3969
+ --------------------------------------------------------------
3970
+ Processing by Easymon::ChecksController#index as HTML
3971
+  (0.2ms) SELECT 1=1
3972
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
3973
+  (0.1ms) ROLLBACK
3974
+  (0.1ms) BEGIN
3975
+ --------------------------------------------------------------------
3976
+ Easymon::ChecksControllerTest: test_index_when_no_checks_are_defined
3977
+ --------------------------------------------------------------------
3978
+ Processing by Easymon::ChecksController#index as HTML
3979
+ Completed 500 Internal Server Error in 0ms
3980
+  (0.1ms) ROLLBACK
3981
+  (0.1ms) BEGIN
3982
+ ------------------------------------------------------------------
3983
+ Easymon::ChecksControllerTest: test_show_if_the_check_is_not_found
3984
+ ------------------------------------------------------------------
3985
+ Processing by Easymon::ChecksController#show as HTML
3986
+ Parameters: {"check"=>"database"}
3987
+ Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
3988
+  (0.1ms) ROLLBACK
3989
+  (0.1ms) BEGIN
3990
+ -------------------------------------------------------------
3991
+ Easymon::ChecksControllerTest: test_show_when_the_check_fails
3992
+ -------------------------------------------------------------
3993
+ Processing by Easymon::ChecksController#show as HTML
3994
+ Parameters: {"check"=>"database"}
3995
+ Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
3996
+  (0.2ms) ROLLBACK
3997
+  (0.1ms) BEGIN
3998
+ --------------------------------------------------------------
3999
+ Easymon::ChecksControllerTest: test_show_when_the_check_passes
4000
+ --------------------------------------------------------------
4001
+ Processing by Easymon::ChecksController#show as HTML
4002
+ Parameters: {"check"=>"database"}
4003
+  (0.2ms) SELECT 1=1
4004
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
4005
+  (0.1ms) ROLLBACK
4006
+  (0.2ms) BEGIN
4007
+ ----------------------------------------------------------------
4008
+ HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
4009
+ ----------------------------------------------------------------
4010
+  (0.2ms) ROLLBACK
4011
+  (0.2ms) BEGIN
4012
+ ------------------------------------------------------------------
4013
+ HttpCheckTest: test_#run_sets_success_conditions_on_successful_run
4014
+ ------------------------------------------------------------------
4015
+  (0.1ms) ROLLBACK
4016
+  (0.1ms) BEGIN
4017
+ --------------------------------------
4018
+ HttpCheckTest: test_given_nil_as_a_url
4019
+ --------------------------------------
4020
+  (0.1ms) ROLLBACK
4021
+  (0.1ms) BEGIN
4022
+ ---------------------------------------------------------------------
4023
+ MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
4024
+ ---------------------------------------------------------------------
4025
+  (0.2ms) ROLLBACK
4026
+  (0.1ms) BEGIN
4027
+ -----------------------------------------------------------------------
4028
+ MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run
4029
+ -----------------------------------------------------------------------
4030
+  (0.1ms) ROLLBACK
4031
+  (0.1ms) BEGIN
4032
+ ------------------------------------------------------------------
4033
+ MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers
4034
+ ------------------------------------------------------------------
4035
+  (0.2ms) ROLLBACK
4036
+  (0.1ms) BEGIN
4037
+ ---------------------------------------------------------
4038
+ MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache
4039
+ ---------------------------------------------------------
4040
+  (0.1ms) ROLLBACK
4041
+  (0.1ms) BEGIN
4042
+ -----------------------------------------------------------------
4043
+ RedisCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
4044
+ -----------------------------------------------------------------
4045
+  (0.2ms) ROLLBACK
4046
+  (0.1ms) BEGIN
4047
+ -------------------------------------------------------------------
4048
+ RedisCheckTest: test_#run_sets_success_conditions_on_successful_run
4049
+ -------------------------------------------------------------------
4050
+  (0.2ms) ROLLBACK
4051
+  (0.1ms) BEGIN
4052
+ ------------------------------------------
4053
+ RedisCheckTest: test_given_nil_as_a_config
4054
+ ------------------------------------------
4055
+  (0.1ms) ROLLBACK
4056
+  (0.1ms) BEGIN
4057
+ ------------------------------------------------------------------------------
4058
+ RepositoryTest: test_adds_a_check_to_the_repository_for_the_critical_checklist
4059
+ ------------------------------------------------------------------------------
4060
+  (0.1ms) ROLLBACK
4061
+  (0.1ms) BEGIN
4062
+ --------------------------------------------------------------------------
4063
+ RepositoryTest: test_adds_checks_marked_critical_to_the_critical_checklist
4064
+ --------------------------------------------------------------------------
4065
+  (0.1ms) ROLLBACK
4066
+  (0.1ms) BEGIN
4067
+ --------------------------------------------
4068
+ RepositoryTest: test_fetches_a_check_by_name
4069
+ --------------------------------------------
4070
+  (0.1ms) ROLLBACK
4071
+  (0.1ms) BEGIN
4072
+ -----------------------------------------------------
4073
+ RepositoryTest: test_fetches_a_critical_check_by_name
4074
+ -----------------------------------------------------
4075
+  (0.1ms) ROLLBACK
4076
+  (0.1ms) BEGIN
4077
+ ---------------------------------------------------
4078
+ RepositoryTest: test_returns_a_checklist_when_asked
4079
+ ---------------------------------------------------
4080
+  (0.1ms) ROLLBACK
4081
+  (0.1ms) BEGIN
4082
+ ---------------------------------------------------------
4083
+ RepositoryTest: test_we_can_add_a_check_to_the_repository
4084
+ ---------------------------------------------------------
4085
+  (0.1ms) ROLLBACK
4086
+  (0.1ms) BEGIN
4087
+ --------------------------------------------------------------
4088
+ RepositoryTest: test_we_can_remove_a_check_from_the_repository
4089
+ --------------------------------------------------------------
4090
+  (0.1ms) ROLLBACK
4091
+  (0.1ms) BEGIN
4092
+ ---------------------------------------------------------------------
4093
+ SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
4094
+ ---------------------------------------------------------------------
4095
+  (0.1ms) ROLLBACK
4096
+  (0.1ms) BEGIN
4097
+ -----------------------------------------------------------------------
4098
+ SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run
4099
+ -----------------------------------------------------------------------
4100
+  (0.1ms) ROLLBACK
4101
+  (0.1ms) BEGIN
4102
+ --------------------------------------------------------------------------------
4103
+ SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down
4104
+ --------------------------------------------------------------------------------
4105
+  (0.1ms) SELECT 1=1
4106
+  (0.1ms) ROLLBACK
4107
+  (0.1ms) BEGIN
4108
+  (0.1ms) BEGIN
4109
+ -------------------------------------------------------------------------------
4110
+ SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down
4111
+ -------------------------------------------------------------------------------
4112
+  (0.1ms) SELECT 1=1
4113
+  (0.1ms) ROLLBACK
4114
+  (0.1ms) BEGIN
4115
+  (0.1ms) BEGIN
4116
+ -------------------------------------------------------------------------------
4117
+ SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run
4118
+ -------------------------------------------------------------------------------
4119
+  (0.1ms) SELECT 1=1
4120
+  (0.1ms) SELECT 1=1
4121
+  (0.1ms) ROLLBACK
4122
+  (0.1ms) BEGIN
4123
+  (0.1ms) BEGIN
4124
+ ------------------------------------------------------
4125
+ SplitActiveRecordCheckTest: test_given_nil_as_a_config
4126
+ ------------------------------------------------------
4127
+  (0.1ms) ROLLBACK
4128
+  (0.1ms) ROLLBACK
4129
+  (0.1ms) BEGIN
4130
+  (0.1ms) BEGIN
4131
+ ----------------------------------------------------------------------------
4132
+ TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run
4133
+ ----------------------------------------------------------------------------
4134
+  (0.1ms) ROLLBACK
4135
+  (0.1ms) ROLLBACK
4136
+  (0.1ms) BEGIN
4137
+  (0.1ms) BEGIN
4138
+ ------------------------------------------------------------------------------
4139
+ TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run
4140
+ ------------------------------------------------------------------------------
4141
+  (0.1ms) ROLLBACK
4142
+  (0.1ms) ROLLBACK
4143
+  (0.1ms) BEGIN
4144
+ --------------------------------------------------------------------------
4145
+ ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run
4146
+ --------------------------------------------------------------------------
4147
+  (0.1ms) ROLLBACK
4148
+  (0.2ms) BEGIN
4149
+ ----------------------------------------------------------------------------
4150
+ ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run
4151
+ ----------------------------------------------------------------------------
4152
+  (0.2ms) SELECT 1=1
4153
+  (0.1ms) ROLLBACK
4154
+  (0.1ms) BEGIN
4155
+ -------------------------------------------------
4156
+ ActiveRecordCheckTest: test_given_nil_as_a_config
4157
+ -------------------------------------------------
4158
+  (0.1ms) ROLLBACK
4159
+  (0.1ms) BEGIN
4160
+ ---------------------------------------------------------------------
4161
+ ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass
4162
+ ---------------------------------------------------------------------
4163
+  (0.1ms) SELECT 1=1
4164
+ Dalli::Server#connect 127.0.0.1:11211
4165
+  (0.1ms) ROLLBACK
4166
+  (0.1ms) BEGIN
4167
+ ------------------------------------------------------------------------------------
4168
+ ChecklistTest: test_#response_status_returns_:service_unavailable_when_a_check_fails
4169
+ ------------------------------------------------------------------------------------
4170
+  (0.2ms) SELECT 1=1
4171
+  (0.1ms) ROLLBACK
4172
+  (0.1ms) BEGIN
4173
+ -----------------------------------------------------------------
4174
+ ChecklistTest: test_#success?_returns_false_when_results_is_empty
4175
+ -----------------------------------------------------------------
4176
+  (0.1ms) ROLLBACK
4177
+  (0.1ms) BEGIN
4178
+ ---------------------------------------------------------
4179
+ ChecklistTest: test_#timing_is_a_sum_of_all_check_results
4180
+ ---------------------------------------------------------
4181
+  (0.1ms) ROLLBACK
4182
+  (0.1ms) BEGIN
4183
+ -------------------------------------------------------------------------
4184
+ ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist
4185
+ -------------------------------------------------------------------------
4186
+  (0.1ms) SELECT 1=1
4187
+  (0.1ms) ROLLBACK
4188
+  (0.1ms) BEGIN
4189
+ ----------------------------------------------
4190
+ ChecklistTest: test_can_look_up_checks_by_name
4191
+ ----------------------------------------------
4192
+  (0.1ms) ROLLBACK
4193
+  (0.1ms) BEGIN
4194
+ ---------------------------------------------
4195
+ ChecklistTest: test_cat_fetch_a_check_by_name
4196
+ ---------------------------------------------
4197
+  (0.1ms) ROLLBACK
4198
+  (0.1ms) BEGIN
4199
+ -------------------------------------------------------------------
4200
+ ChecklistTest: test_it_knows_the_number_of_checks_in_the_Repository
4201
+ -------------------------------------------------------------------
4202
+  (0.1ms) ROLLBACK
4203
+  (0.1ms) BEGIN
4204
+ ------------------------------------------
4205
+ ChecklistTest: test_it_will_run_each_check
4206
+ ------------------------------------------
4207
+  (0.1ms) SELECT 1=1
4208
+  (0.1ms) ROLLBACK
4209
+  (0.1ms) BEGIN
4210
+ ---------------------------------------------------------------------
4211
+ Easymon::ChecksControllerTest: test_index_when_a_critical_check_fails
4212
+ ---------------------------------------------------------------------
4213
+ Processing by Easymon::ChecksController#index as HTML
4214
+ Rendered text template (0.0ms)
4215
+ Completed 503 Service Unavailable in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
4216
+  (0.2ms) ROLLBACK
4217
+  (0.1ms) BEGIN
4218
+ -------------------------------------------------------------------------
4219
+ Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails
4220
+ -------------------------------------------------------------------------
4221
+ Processing by Easymon::ChecksController#index as HTML
4222
+  (0.1ms) SELECT 1=1
4223
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
4224
+  (0.1ms) ROLLBACK
4225
+  (0.1ms) BEGIN
4226
+ --------------------------------------------------------------
4227
+ Easymon::ChecksControllerTest: test_index_when_all_checks_pass
4228
+ --------------------------------------------------------------
4229
+ Processing by Easymon::ChecksController#index as HTML
4230
+  (0.2ms) SELECT 1=1
4231
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
4232
+  (0.2ms) ROLLBACK
4233
+  (0.1ms) BEGIN
4234
+ --------------------------------------------------------------------
4235
+ Easymon::ChecksControllerTest: test_index_when_no_checks_are_defined
4236
+ --------------------------------------------------------------------
4237
+ Processing by Easymon::ChecksController#index as HTML
4238
+ Completed 500 Internal Server Error in 0ms
4239
+  (0.1ms) ROLLBACK
4240
+  (0.1ms) BEGIN
4241
+ ------------------------------------------------------------------
4242
+ Easymon::ChecksControllerTest: test_show_if_the_check_is_not_found
4243
+ ------------------------------------------------------------------
4244
+ Processing by Easymon::ChecksController#show as HTML
4245
+ Parameters: {"check"=>"database"}
4246
+ Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
4247
+  (0.1ms) ROLLBACK
4248
+  (0.1ms) BEGIN
4249
+ -------------------------------------------------------------
4250
+ Easymon::ChecksControllerTest: test_show_when_the_check_fails
4251
+ -------------------------------------------------------------
4252
+ Processing by Easymon::ChecksController#show as HTML
4253
+ Parameters: {"check"=>"database"}
4254
+ Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
4255
+  (0.2ms) ROLLBACK
4256
+  (0.1ms) BEGIN
4257
+ --------------------------------------------------------------
4258
+ Easymon::ChecksControllerTest: test_show_when_the_check_passes
4259
+ --------------------------------------------------------------
4260
+ Processing by Easymon::ChecksController#show as HTML
4261
+ Parameters: {"check"=>"database"}
4262
+  (0.2ms) SELECT 1=1
4263
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
4264
+  (0.1ms) ROLLBACK
4265
+  (0.1ms) BEGIN
4266
+ ----------------------------------------------------------------
4267
+ HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
4268
+ ----------------------------------------------------------------
4269
+  (0.2ms) ROLLBACK
4270
+  (0.1ms) BEGIN
4271
+ ------------------------------------------------------------------
4272
+ HttpCheckTest: test_#run_sets_success_conditions_on_successful_run
4273
+ ------------------------------------------------------------------
4274
+  (0.2ms) ROLLBACK
4275
+  (0.1ms) BEGIN
4276
+ --------------------------------------
4277
+ HttpCheckTest: test_given_nil_as_a_url
4278
+ --------------------------------------
4279
+  (0.1ms) ROLLBACK
4280
+  (0.1ms) BEGIN
4281
+ ---------------------------------------------------------------------
4282
+ MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
4283
+ ---------------------------------------------------------------------
4284
+  (0.1ms) ROLLBACK
4285
+  (0.1ms) BEGIN
4286
+ -----------------------------------------------------------------------
4287
+ MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run
4288
+ -----------------------------------------------------------------------
4289
+  (0.1ms) ROLLBACK
4290
+  (0.1ms) BEGIN
4291
+ ------------------------------------------------------------------
4292
+ MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers
4293
+ ------------------------------------------------------------------
4294
+  (0.1ms) ROLLBACK
4295
+  (0.1ms) BEGIN
4296
+ ---------------------------------------------------------
4297
+ MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache
4298
+ ---------------------------------------------------------
4299
+  (0.1ms) ROLLBACK
4300
+  (0.1ms) BEGIN
4301
+ -----------------------------------------------------------------
4302
+ RedisCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
4303
+ -----------------------------------------------------------------
4304
+  (0.1ms) ROLLBACK
4305
+  (0.1ms) BEGIN
4306
+ -------------------------------------------------------------------
4307
+ RedisCheckTest: test_#run_sets_success_conditions_on_successful_run
4308
+ -------------------------------------------------------------------
4309
+  (0.1ms) ROLLBACK
4310
+  (0.1ms) BEGIN
4311
+ ------------------------------------------
4312
+ RedisCheckTest: test_given_nil_as_a_config
4313
+ ------------------------------------------
4314
+  (0.1ms) ROLLBACK
4315
+  (0.1ms) BEGIN
4316
+ ------------------------------------------------------------------------------
4317
+ RepositoryTest: test_adds_a_check_to_the_repository_for_the_critical_checklist
4318
+ ------------------------------------------------------------------------------
4319
+  (0.1ms) ROLLBACK
4320
+  (0.1ms) BEGIN
4321
+ --------------------------------------------------------------------------
4322
+ RepositoryTest: test_adds_checks_marked_critical_to_the_critical_checklist
4323
+ --------------------------------------------------------------------------
4324
+  (0.1ms) ROLLBACK
4325
+  (0.1ms) BEGIN
4326
+ --------------------------------------------
4327
+ RepositoryTest: test_fetches_a_check_by_name
4328
+ --------------------------------------------
4329
+  (0.1ms) ROLLBACK
4330
+  (0.1ms) BEGIN
4331
+ -----------------------------------------------------
4332
+ RepositoryTest: test_fetches_a_critical_check_by_name
4333
+ -----------------------------------------------------
4334
+  (0.1ms) ROLLBACK
4335
+  (0.1ms) BEGIN
4336
+ ---------------------------------------------------
4337
+ RepositoryTest: test_returns_a_checklist_when_asked
4338
+ ---------------------------------------------------
4339
+  (0.1ms) ROLLBACK
4340
+  (0.1ms) BEGIN
4341
+ ---------------------------------------------------------
4342
+ RepositoryTest: test_we_can_add_a_check_to_the_repository
4343
+ ---------------------------------------------------------
4344
+  (0.1ms) ROLLBACK
4345
+  (0.1ms) BEGIN
4346
+ --------------------------------------------------------------
4347
+ RepositoryTest: test_we_can_remove_a_check_from_the_repository
4348
+ --------------------------------------------------------------
4349
+  (0.1ms) ROLLBACK
4350
+  (0.1ms) BEGIN
4351
+ ---------------------------------------------------------------------
4352
+ SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
4353
+ ---------------------------------------------------------------------
4354
+  (0.1ms) ROLLBACK
4355
+  (0.1ms) BEGIN
4356
+ -----------------------------------------------------------------------
4357
+ SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run
4358
+ -----------------------------------------------------------------------
4359
+  (0.1ms) ROLLBACK
4360
+  (0.1ms) BEGIN
4361
+ --------------------------------------------------------------------------------
4362
+ SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down
4363
+ --------------------------------------------------------------------------------
4364
+  (0.1ms) SELECT 1=1
4365
+  (0.1ms) ROLLBACK
4366
+  (0.1ms) BEGIN
4367
+  (0.1ms) BEGIN
4368
+ -------------------------------------------------------------------------------
4369
+ SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down
4370
+ -------------------------------------------------------------------------------
4371
+  (0.1ms) SELECT 1=1
4372
+  (0.1ms) ROLLBACK
4373
+  (0.1ms) BEGIN
4374
+  (0.1ms) BEGIN
4375
+ -------------------------------------------------------------------------------
4376
+ SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run
4377
+ -------------------------------------------------------------------------------
4378
+  (0.1ms) SELECT 1=1
4379
+  (0.1ms) SELECT 1=1
4380
+  (0.1ms) ROLLBACK
4381
+  (0.1ms) BEGIN
4382
+  (0.1ms) BEGIN
4383
+ ------------------------------------------------------
4384
+ SplitActiveRecordCheckTest: test_given_nil_as_a_config
4385
+ ------------------------------------------------------
4386
+  (0.1ms) ROLLBACK
4387
+  (0.1ms) ROLLBACK
4388
+  (0.1ms) BEGIN
4389
+  (0.1ms) BEGIN
4390
+ ----------------------------------------------------------------------------
4391
+ TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run
4392
+ ----------------------------------------------------------------------------
4393
+  (0.1ms) ROLLBACK
4394
+  (0.1ms) ROLLBACK
4395
+  (0.1ms) BEGIN
4396
+  (0.1ms) BEGIN
4397
+ ------------------------------------------------------------------------------
4398
+ TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run
4399
+ ------------------------------------------------------------------------------
4400
+  (0.1ms) ROLLBACK
4401
+  (0.1ms) ROLLBACK
4402
+  (0.2ms) BEGIN
4403
+ --------------------------------------------------------------------------
4404
+ ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run
4405
+ --------------------------------------------------------------------------
4406
+  (0.2ms) ROLLBACK
4407
+  (0.2ms) BEGIN
4408
+ ----------------------------------------------------------------------------
4409
+ ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run
4410
+ ----------------------------------------------------------------------------
4411
+  (0.2ms) SELECT 1=1
4412
+  (0.1ms) ROLLBACK
4413
+  (0.1ms) BEGIN
4414
+ -------------------------------------------------
4415
+ ActiveRecordCheckTest: test_given_nil_as_a_config
4416
+ -------------------------------------------------
4417
+  (0.1ms) ROLLBACK
4418
+  (0.1ms) BEGIN
4419
+ ---------------------------------------------------------------------
4420
+ ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass
4421
+ ---------------------------------------------------------------------
4422
+  (0.2ms) SELECT 1=1
4423
+ Dalli::Server#connect 127.0.0.1:11211
4424
+  (0.1ms) ROLLBACK
4425
+  (0.1ms) BEGIN
4426
+ ------------------------------------------------------------------------------------
4427
+ ChecklistTest: test_#response_status_returns_:service_unavailable_when_a_check_fails
4428
+ ------------------------------------------------------------------------------------
4429
+  (0.1ms) SELECT 1=1
4430
+  (0.1ms) ROLLBACK
4431
+  (0.1ms) BEGIN
4432
+ -----------------------------------------------------------------
4433
+ ChecklistTest: test_#success?_returns_false_when_results_is_empty
4434
+ -----------------------------------------------------------------
4435
+  (0.1ms) ROLLBACK
4436
+  (0.1ms) BEGIN
4437
+ ---------------------------------------------------------
4438
+ ChecklistTest: test_#timing_is_a_sum_of_all_check_results
4439
+ ---------------------------------------------------------
4440
+  (0.1ms) ROLLBACK
4441
+  (0.1ms) BEGIN
4442
+ -------------------------------------------------------------------------
4443
+ ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist
4444
+ -------------------------------------------------------------------------
4445
+  (0.1ms) SELECT 1=1
4446
+  (0.1ms) ROLLBACK
4447
+  (0.1ms) BEGIN
4448
+ ----------------------------------------------
4449
+ ChecklistTest: test_can_look_up_checks_by_name
4450
+ ----------------------------------------------
4451
+  (0.1ms) ROLLBACK
4452
+  (0.1ms) BEGIN
4453
+ ---------------------------------------------
4454
+ ChecklistTest: test_cat_fetch_a_check_by_name
4455
+ ---------------------------------------------
4456
+  (0.1ms) ROLLBACK
4457
+  (0.2ms) BEGIN
4458
+ -------------------------------------------------------------------
4459
+ ChecklistTest: test_it_knows_the_number_of_checks_in_the_Repository
4460
+ -------------------------------------------------------------------
4461
+  (0.1ms) ROLLBACK
4462
+  (0.1ms) BEGIN
4463
+ ------------------------------------------
4464
+ ChecklistTest: test_it_will_run_each_check
4465
+ ------------------------------------------
4466
+  (0.1ms) SELECT 1=1
4467
+  (0.1ms) ROLLBACK
4468
+  (0.1ms) BEGIN
4469
+ ---------------------------------------------------------------------
4470
+ Easymon::ChecksControllerTest: test_index_when_a_critical_check_fails
4471
+ ---------------------------------------------------------------------
4472
+ Processing by Easymon::ChecksController#index as HTML
4473
+ Rendered text template (0.0ms)
4474
+ Completed 503 Service Unavailable in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
4475
+  (0.1ms) ROLLBACK
4476
+  (0.1ms) BEGIN
4477
+ -------------------------------------------------------------------------
4478
+ Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails
4479
+ -------------------------------------------------------------------------
4480
+ Processing by Easymon::ChecksController#index as HTML
4481
+  (0.2ms) SELECT 1=1
4482
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
4483
+  (0.2ms) ROLLBACK
4484
+  (0.1ms) BEGIN
4485
+ --------------------------------------------------------------
4486
+ Easymon::ChecksControllerTest: test_index_when_all_checks_pass
4487
+ --------------------------------------------------------------
4488
+ Processing by Easymon::ChecksController#index as HTML
4489
+  (0.2ms) SELECT 1=1
4490
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
4491
+  (0.2ms) ROLLBACK
4492
+  (0.1ms) BEGIN
4493
+ --------------------------------------------------------------------
4494
+ Easymon::ChecksControllerTest: test_index_when_no_checks_are_defined
4495
+ --------------------------------------------------------------------
4496
+ Processing by Easymon::ChecksController#index as HTML
4497
+ Completed 500 Internal Server Error in 0ms
4498
+  (0.2ms) ROLLBACK
4499
+  (0.1ms) BEGIN
4500
+ ------------------------------------------------------------------
4501
+ Easymon::ChecksControllerTest: test_show_if_the_check_is_not_found
4502
+ ------------------------------------------------------------------
4503
+ Processing by Easymon::ChecksController#show as HTML
4504
+ Parameters: {"check"=>"database"}
4505
+ Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
4506
+  (0.2ms) ROLLBACK
4507
+  (0.1ms) BEGIN
4508
+ -------------------------------------------------------------
4509
+ Easymon::ChecksControllerTest: test_show_when_the_check_fails
4510
+ -------------------------------------------------------------
4511
+ Processing by Easymon::ChecksController#show as HTML
4512
+ Parameters: {"check"=>"database"}
4513
+ Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
4514
+  (0.2ms) ROLLBACK
4515
+  (0.1ms) BEGIN
4516
+ --------------------------------------------------------------
4517
+ Easymon::ChecksControllerTest: test_show_when_the_check_passes
4518
+ --------------------------------------------------------------
4519
+ Processing by Easymon::ChecksController#show as HTML
4520
+ Parameters: {"check"=>"database"}
4521
+  (0.2ms) SELECT 1=1
4522
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
4523
+  (0.1ms) ROLLBACK
4524
+  (0.1ms) BEGIN
4525
+ ----------------------------------------------------------------
4526
+ HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
4527
+ ----------------------------------------------------------------
4528
+  (0.1ms) ROLLBACK
4529
+  (0.1ms) BEGIN
4530
+ ------------------------------------------------------------------
4531
+ HttpCheckTest: test_#run_sets_success_conditions_on_successful_run
4532
+ ------------------------------------------------------------------
4533
+  (0.1ms) ROLLBACK
4534
+  (0.1ms) BEGIN
4535
+ --------------------------------------
4536
+ HttpCheckTest: test_given_nil_as_a_url
4537
+ --------------------------------------
4538
+  (0.1ms) ROLLBACK
4539
+  (0.1ms) BEGIN
4540
+ ---------------------------------------------------------------------
4541
+ MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
4542
+ ---------------------------------------------------------------------
4543
+  (0.1ms) ROLLBACK
4544
+  (0.1ms) BEGIN
4545
+ -----------------------------------------------------------------------
4546
+ MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run
4547
+ -----------------------------------------------------------------------
4548
+  (0.1ms) ROLLBACK
4549
+  (0.1ms) BEGIN
4550
+ ------------------------------------------------------------------
4551
+ MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers
4552
+ ------------------------------------------------------------------
4553
+  (0.1ms) ROLLBACK
4554
+  (0.1ms) BEGIN
4555
+ ---------------------------------------------------------
4556
+ MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache
4557
+ ---------------------------------------------------------
4558
+  (0.1ms) ROLLBACK
4559
+  (0.1ms) BEGIN
4560
+ -----------------------------------------------------------------
4561
+ RedisCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
4562
+ -----------------------------------------------------------------
4563
+  (0.1ms) ROLLBACK
4564
+  (0.1ms) BEGIN
4565
+ -------------------------------------------------------------------
4566
+ RedisCheckTest: test_#run_sets_success_conditions_on_successful_run
4567
+ -------------------------------------------------------------------
4568
+  (0.1ms) ROLLBACK
4569
+  (0.1ms) BEGIN
4570
+ ------------------------------------------
4571
+ RedisCheckTest: test_given_nil_as_a_config
4572
+ ------------------------------------------
4573
+  (0.1ms) ROLLBACK
4574
+  (0.1ms) BEGIN
4575
+ ------------------------------------------------------------------------------
4576
+ RepositoryTest: test_adds_a_check_to_the_repository_for_the_critical_checklist
4577
+ ------------------------------------------------------------------------------
4578
+  (0.1ms) ROLLBACK
4579
+  (0.1ms) BEGIN
4580
+ --------------------------------------------------------------------------
4581
+ RepositoryTest: test_adds_checks_marked_critical_to_the_critical_checklist
4582
+ --------------------------------------------------------------------------
4583
+  (0.1ms) ROLLBACK
4584
+  (0.1ms) BEGIN
4585
+ --------------------------------------------
4586
+ RepositoryTest: test_fetches_a_check_by_name
4587
+ --------------------------------------------
4588
+  (0.1ms) ROLLBACK
4589
+  (0.1ms) BEGIN
4590
+ -----------------------------------------------------
4591
+ RepositoryTest: test_fetches_a_critical_check_by_name
4592
+ -----------------------------------------------------
4593
+  (0.1ms) ROLLBACK
4594
+  (0.1ms) BEGIN
4595
+ ---------------------------------------------------
4596
+ RepositoryTest: test_returns_a_checklist_when_asked
4597
+ ---------------------------------------------------
4598
+  (0.1ms) ROLLBACK
4599
+  (0.1ms) BEGIN
4600
+ ---------------------------------------------------------
4601
+ RepositoryTest: test_we_can_add_a_check_to_the_repository
4602
+ ---------------------------------------------------------
4603
+  (0.1ms) ROLLBACK
4604
+  (0.1ms) BEGIN
4605
+ --------------------------------------------------------------
4606
+ RepositoryTest: test_we_can_remove_a_check_from_the_repository
4607
+ --------------------------------------------------------------
4608
+  (0.1ms) ROLLBACK
4609
+  (0.1ms) BEGIN
4610
+ ---------------------------------------------------------------------
4611
+ SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
4612
+ ---------------------------------------------------------------------
4613
+  (0.1ms) ROLLBACK
4614
+  (0.1ms) BEGIN
4615
+ -----------------------------------------------------------------------
4616
+ SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run
4617
+ -----------------------------------------------------------------------
4618
+  (0.1ms) ROLLBACK
4619
+  (0.1ms) BEGIN
4620
+ --------------------------------------------------------------------------------
4621
+ SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down
4622
+ --------------------------------------------------------------------------------
4623
+  (0.1ms) SELECT 1=1
4624
+  (0.1ms) ROLLBACK
4625
+  (0.1ms) BEGIN
4626
+  (0.1ms) BEGIN
4627
+ -------------------------------------------------------------------------------
4628
+ SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down
4629
+ -------------------------------------------------------------------------------
4630
+  (0.1ms) SELECT 1=1
4631
+  (0.1ms) ROLLBACK
4632
+  (0.1ms) BEGIN
4633
+  (0.1ms) BEGIN
4634
+ -------------------------------------------------------------------------------
4635
+ SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run
4636
+ -------------------------------------------------------------------------------
4637
+  (0.1ms) SELECT 1=1
4638
+  (0.1ms) SELECT 1=1
4639
+  (0.1ms) ROLLBACK
4640
+  (0.1ms) BEGIN
4641
+  (0.1ms) BEGIN
4642
+ ------------------------------------------------------
4643
+ SplitActiveRecordCheckTest: test_given_nil_as_a_config
4644
+ ------------------------------------------------------
4645
+  (0.1ms) ROLLBACK
4646
+  (0.1ms) ROLLBACK
4647
+  (0.1ms) BEGIN
4648
+  (0.1ms) BEGIN
4649
+ ----------------------------------------------------------------------------
4650
+ TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run
4651
+ ----------------------------------------------------------------------------
4652
+  (0.1ms) ROLLBACK
4653
+  (0.1ms) ROLLBACK
4654
+  (0.1ms) BEGIN
4655
+  (0.1ms) BEGIN
4656
+ ------------------------------------------------------------------------------
4657
+ TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run
4658
+ ------------------------------------------------------------------------------
4659
+  (0.1ms) ROLLBACK
4660
+  (0.1ms) ROLLBACK
4661
+  (0.2ms) BEGIN
4662
+ --------------------------------------------------------------------------
4663
+ ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run
4664
+ --------------------------------------------------------------------------
4665
+  (0.1ms) ROLLBACK
4666
+  (0.1ms) BEGIN
4667
+ ----------------------------------------------------------------------------
4668
+ ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run
4669
+ ----------------------------------------------------------------------------
4670
+  (0.1ms) SELECT 1=1
4671
+  (0.1ms) ROLLBACK
4672
+  (0.1ms) BEGIN
4673
+ -------------------------------------------------
4674
+ ActiveRecordCheckTest: test_given_nil_as_a_config
4675
+ -------------------------------------------------
4676
+  (0.1ms) ROLLBACK
4677
+  (0.1ms) BEGIN
4678
+ ---------------------------------------------------------------------
4679
+ ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass
4680
+ ---------------------------------------------------------------------
4681
+  (0.1ms) SELECT 1=1
4682
+ Dalli::Server#connect 127.0.0.1:11211
4683
+ {"database"=>#<Easymon::Result:0x007ffb929fe1c0 @success=true, @message="Up", @timing=0.000298>, "redis"=>#<Easymon::Result:0x007ffb92a0f998 @success=true, @message="Up", @timing=0.001079>, "memcached"=>#<Easymon::Result:0x007ffb92a2ac48 @success=true, @message="Up", @timing=0.000762>}
4684
+  (0.1ms) ROLLBACK
4685
+  (0.2ms) BEGIN
4686
+ ------------------------------------------------------------------------------------
4687
+ ChecklistTest: test_#response_status_returns_:service_unavailable_when_a_check_fails
4688
+ ------------------------------------------------------------------------------------
4689
+  (0.1ms) SELECT 1=1
4690
+ {"database"=>#<Easymon::Result:0x007ffb92a6e470 @success=true, @message="Up", @timing=0.000285>, "redis"=>#<Easymon::Result:0x007ffb92a75860 @success=false, @message="Down", @timing=0.000107>, "memcached"=>#<Easymon::Result:0x007ffb92a87c40 @success=true, @message="Up", @timing=0.000316>}
4691
+  (0.1ms) ROLLBACK
4692
+  (0.1ms) BEGIN
4693
+ -----------------------------------------------------------------
4694
+ ChecklistTest: test_#success?_returns_false_when_results_is_empty
4695
+ -----------------------------------------------------------------
4696
+  (0.1ms) ROLLBACK
4697
+  (0.1ms) BEGIN
4698
+ ---------------------------------------------------------
4699
+ ChecklistTest: test_#timing_is_a_sum_of_all_check_results
4700
+ ---------------------------------------------------------
4701
+  (0.1ms) ROLLBACK
4702
+  (0.1ms) BEGIN
4703
+ -------------------------------------------------------------------------
4704
+ ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist
4705
+ -------------------------------------------------------------------------
4706
+  (0.1ms) SELECT 1=1
4707
+ {"database"=>#<Easymon::Result:0x007ffb92b8dbd0 @success=true, @message="Up", @timing=0.000276>, "redis"=>#<Easymon::Result:0x007ffb92b9e430 @success=true, @message="Up", @timing=0.000725>, "memcached"=>#<Easymon::Result:0x007ffb92bae9c0 @success=true, @message="Up", @timing=0.000373>}
4708
+ {"database"=>#<Easymon::Result:0x007ffb92b8dbd0 @success=true, @message="Up", @timing=0.000276>, "redis"=>#<Easymon::Result:0x007ffb92b9e430 @success=true, @message="Up", @timing=0.000725>, "memcached"=>#<Easymon::Result:0x007ffb92bae9c0 @success=true, @message="Up", @timing=0.000373>}
4709
+ {"database"=>#<Easymon::Result:0x007ffb92b8dbd0 @success=true, @message="Up", @timing=0.000276>, "redis"=>#<Easymon::Result:0x007ffb92b9e430 @success=true, @message="Up", @timing=0.000725>, "memcached"=>#<Easymon::Result:0x007ffb92bae9c0 @success=true, @message="Up", @timing=0.000373>}
4710
+ {"database"=>#<Easymon::Result:0x007ffb92b8dbd0 @success=true, @message="Up", @timing=0.000276>, "redis"=>#<Easymon::Result:0x007ffb92b9e430 @success=true, @message="Up", @timing=0.000725>, "memcached"=>#<Easymon::Result:0x007ffb92bae9c0 @success=true, @message="Up", @timing=0.000373>}
4711
+  (0.1ms) ROLLBACK
4712
+  (0.1ms) BEGIN
4713
+ ----------------------------------------------
4714
+ ChecklistTest: test_can_look_up_checks_by_name
4715
+ ----------------------------------------------
4716
+  (0.1ms) ROLLBACK
4717
+  (0.1ms) BEGIN
4718
+ ---------------------------------------------
4719
+ ChecklistTest: test_cat_fetch_a_check_by_name
4720
+ ---------------------------------------------
4721
+  (0.1ms) ROLLBACK
4722
+  (0.1ms) BEGIN
4723
+ -------------------------------------------------------------------
4724
+ ChecklistTest: test_it_knows_the_number_of_checks_in_the_Repository
4725
+ -------------------------------------------------------------------
4726
+  (0.1ms) ROLLBACK
4727
+  (0.1ms) BEGIN
4728
+ ------------------------------------------
4729
+ ChecklistTest: test_it_will_run_each_check
4730
+ ------------------------------------------
4731
+  (0.1ms) SELECT 1=1
4732
+ {"database"=>#<Easymon::Result:0x007ffb92b783e8 @success=true, @message="Up", @timing=0.000252>, "redis"=>#<Easymon::Result:0x007ffb92ce75f8 @success=true, @message="Up", @timing=0.000816>, "memcached"=>#<Easymon::Result:0x007ffb92ce4f60 @success=true, @message="Up", @timing=0.000371>}
4733
+  (0.1ms) ROLLBACK
4734
+  (0.1ms) BEGIN
4735
+ ---------------------------------------------------------------------
4736
+ Easymon::ChecksControllerTest: test_index_when_a_critical_check_fails
4737
+ ---------------------------------------------------------------------
4738
+ Processing by Easymon::ChecksController#index as HTML
4739
+ {"database"=>#<Easymon::Result:0x007ffb92d55580 @success=false, @message="Down", @timing=8.9e-05>}
4740
+ {"critical"=>#<Easymon::Result:0x007ffb92d54608 @success=false, @message="database: Down - 0.089ms\n - Total Time - 0.089ms", @timing=0.00019>}
4741
+ {"critical"=>#<Easymon::Result:0x007ffb92d54608 @success=false, @message="database: Down - 0.089ms\n - Total Time - 0.089ms", @timing=0.00019>}
4742
+ Rendered text template (0.0ms)
4743
+ Completed 503 Service Unavailable in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
4744
+  (0.1ms) ROLLBACK
4745
+  (0.1ms) BEGIN
4746
+ -------------------------------------------------------------------------
4747
+ Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails
4748
+ -------------------------------------------------------------------------
4749
+ Processing by Easymon::ChecksController#index as HTML
4750
+  (0.2ms) SELECT 1=1
4751
+ {"database"=>#<Easymon::Result:0x007ffb92dbc898 @success=true, @message="Up", @timing=0.000367>}
4752
+ {"critical"=>#<Easymon::Result:0x007ffb92dc7d10 @success=true, @message="database: Up - 0.367ms\n - Total Time - 0.367ms", @timing=0.000431>, "redis"=>#<Easymon::Result:0x007ffb92dc6bb8 @success=false, @message="Down", @timing=9.8e-05>}
4753
+ {"critical"=>#<Easymon::Result:0x007ffb92dc7d10 @success=true, @message="database: Up - 0.367ms\n - Total Time - 0.367ms", @timing=0.000431>, "redis"=>#<Easymon::Result:0x007ffb92dc6bb8 @success=false, @message="Down", @timing=9.8e-05>}
4754
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
4755
+  (0.2ms) ROLLBACK
4756
+  (0.1ms) BEGIN
4757
+ --------------------------------------------------------------
4758
+ Easymon::ChecksControllerTest: test_index_when_all_checks_pass
4759
+ --------------------------------------------------------------
4760
+ Processing by Easymon::ChecksController#index as HTML
4761
+  (0.2ms) SELECT 1=1
4762
+ {"database"=>#<Easymon::Result:0x007ffb92e0def0 @success=true, @message="Up", @timing=0.000307>}
4763
+ {"database"=>#<Easymon::Result:0x007ffb92e0def0 @success=true, @message="Up", @timing=0.000307>}
4764
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
4765
+  (0.1ms) ROLLBACK
4766
+  (0.1ms) BEGIN
4767
+ --------------------------------------------------------------------
4768
+ Easymon::ChecksControllerTest: test_index_when_no_checks_are_defined
4769
+ --------------------------------------------------------------------
4770
+ Processing by Easymon::ChecksController#index as HTML
4771
+ {}
4772
+ Completed 503 Service Unavailable in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
4773
+  (0.1ms) ROLLBACK
4774
+  (0.1ms) BEGIN
4775
+ ------------------------------------------------------------------
4776
+ Easymon::ChecksControllerTest: test_show_if_the_check_is_not_found
4777
+ ------------------------------------------------------------------
4778
+ Processing by Easymon::ChecksController#show as HTML
4779
+ Parameters: {"check"=>"database"}
4780
+ Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
4781
+  (0.2ms) ROLLBACK
4782
+  (0.1ms) BEGIN
4783
+ -------------------------------------------------------------
4784
+ Easymon::ChecksControllerTest: test_show_when_the_check_fails
4785
+ -------------------------------------------------------------
4786
+ Processing by Easymon::ChecksController#show as HTML
4787
+ Parameters: {"check"=>"database"}
4788
+ Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
4789
+  (0.2ms) ROLLBACK
4790
+  (0.1ms) BEGIN
4791
+ --------------------------------------------------------------
4792
+ Easymon::ChecksControllerTest: test_show_when_the_check_passes
4793
+ --------------------------------------------------------------
4794
+ Processing by Easymon::ChecksController#show as HTML
4795
+ Parameters: {"check"=>"database"}
4796
+  (0.2ms) SELECT 1=1
4797
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
4798
+  (0.1ms) ROLLBACK
4799
+  (0.1ms) BEGIN
4800
+ ----------------------------------------------------------------
4801
+ HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
4802
+ ----------------------------------------------------------------
4803
+  (0.2ms) ROLLBACK
4804
+  (0.1ms) BEGIN
4805
+ ------------------------------------------------------------------
4806
+ HttpCheckTest: test_#run_sets_success_conditions_on_successful_run
4807
+ ------------------------------------------------------------------
4808
+  (0.2ms) ROLLBACK
4809
+  (0.1ms) BEGIN
4810
+ --------------------------------------
4811
+ HttpCheckTest: test_given_nil_as_a_url
4812
+ --------------------------------------
4813
+  (0.1ms) ROLLBACK
4814
+  (0.1ms) BEGIN
4815
+ ---------------------------------------------------------------------
4816
+ MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
4817
+ ---------------------------------------------------------------------
4818
+  (0.2ms) ROLLBACK
4819
+  (0.1ms) BEGIN
4820
+ -----------------------------------------------------------------------
4821
+ MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run
4822
+ -----------------------------------------------------------------------
4823
+  (0.1ms) ROLLBACK
4824
+  (0.1ms) BEGIN
4825
+ ------------------------------------------------------------------
4826
+ MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers
4827
+ ------------------------------------------------------------------
4828
+  (0.1ms) ROLLBACK
4829
+  (0.1ms) BEGIN
4830
+ ---------------------------------------------------------
4831
+ MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache
4832
+ ---------------------------------------------------------
4833
+  (0.1ms) ROLLBACK
4834
+  (0.1ms) BEGIN
4835
+ -----------------------------------------------------------------
4836
+ RedisCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
4837
+ -----------------------------------------------------------------
4838
+  (0.1ms) ROLLBACK
4839
+  (0.1ms) BEGIN
4840
+ -------------------------------------------------------------------
4841
+ RedisCheckTest: test_#run_sets_success_conditions_on_successful_run
4842
+ -------------------------------------------------------------------
4843
+  (0.1ms) ROLLBACK
4844
+  (0.1ms) BEGIN
4845
+ ------------------------------------------
4846
+ RedisCheckTest: test_given_nil_as_a_config
4847
+ ------------------------------------------
4848
+  (0.1ms) ROLLBACK
4849
+  (0.1ms) BEGIN
4850
+ ------------------------------------------------------------------------------
4851
+ RepositoryTest: test_adds_a_check_to_the_repository_for_the_critical_checklist
4852
+ ------------------------------------------------------------------------------
4853
+  (0.1ms) ROLLBACK
4854
+  (0.1ms) BEGIN
4855
+ --------------------------------------------------------------------------
4856
+ RepositoryTest: test_adds_checks_marked_critical_to_the_critical_checklist
4857
+ --------------------------------------------------------------------------
4858
+  (0.1ms) ROLLBACK
4859
+  (0.1ms) BEGIN
4860
+ --------------------------------------------
4861
+ RepositoryTest: test_fetches_a_check_by_name
4862
+ --------------------------------------------
4863
+  (0.1ms) ROLLBACK
4864
+  (0.1ms) BEGIN
4865
+ -----------------------------------------------------
4866
+ RepositoryTest: test_fetches_a_critical_check_by_name
4867
+ -----------------------------------------------------
4868
+  (0.1ms) ROLLBACK
4869
+  (0.1ms) BEGIN
4870
+ ---------------------------------------------------
4871
+ RepositoryTest: test_returns_a_checklist_when_asked
4872
+ ---------------------------------------------------
4873
+  (0.1ms) ROLLBACK
4874
+  (0.1ms) BEGIN
4875
+ ---------------------------------------------------------
4876
+ RepositoryTest: test_we_can_add_a_check_to_the_repository
4877
+ ---------------------------------------------------------
4878
+  (0.1ms) ROLLBACK
4879
+  (0.1ms) BEGIN
4880
+ --------------------------------------------------------------
4881
+ RepositoryTest: test_we_can_remove_a_check_from_the_repository
4882
+ --------------------------------------------------------------
4883
+  (0.1ms) ROLLBACK
4884
+  (0.1ms) BEGIN
4885
+ ---------------------------------------------------------------------
4886
+ SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
4887
+ ---------------------------------------------------------------------
4888
+  (0.1ms) ROLLBACK
4889
+  (0.1ms) BEGIN
4890
+ -----------------------------------------------------------------------
4891
+ SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run
4892
+ -----------------------------------------------------------------------
4893
+  (0.1ms) ROLLBACK
4894
+  (0.1ms) BEGIN
4895
+ --------------------------------------------------------------------------------
4896
+ SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down
4897
+ --------------------------------------------------------------------------------
4898
+  (0.2ms) SELECT 1=1
4899
+  (0.1ms) ROLLBACK
4900
+  (0.1ms) BEGIN
4901
+  (0.1ms) BEGIN
4902
+ -------------------------------------------------------------------------------
4903
+ SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down
4904
+ -------------------------------------------------------------------------------
4905
+  (0.1ms) SELECT 1=1
4906
+  (0.1ms) ROLLBACK
4907
+  (0.1ms) BEGIN
4908
+  (0.1ms) BEGIN
4909
+ -------------------------------------------------------------------------------
4910
+ SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run
4911
+ -------------------------------------------------------------------------------
4912
+  (0.2ms) SELECT 1=1
4913
+  (0.1ms) SELECT 1=1
4914
+  (0.1ms) ROLLBACK
4915
+  (0.1ms) BEGIN
4916
+  (0.1ms) BEGIN
4917
+ ------------------------------------------------------
4918
+ SplitActiveRecordCheckTest: test_given_nil_as_a_config
4919
+ ------------------------------------------------------
4920
+  (0.1ms) ROLLBACK
4921
+  (0.1ms) ROLLBACK
4922
+  (0.1ms) BEGIN
4923
+  (0.1ms) BEGIN
4924
+ ----------------------------------------------------------------------------
4925
+ TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run
4926
+ ----------------------------------------------------------------------------
4927
+  (0.1ms) ROLLBACK
4928
+  (0.1ms) ROLLBACK
4929
+  (0.1ms) BEGIN
4930
+  (0.1ms) BEGIN
4931
+ ------------------------------------------------------------------------------
4932
+ TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run
4933
+ ------------------------------------------------------------------------------
4934
+  (0.1ms) ROLLBACK
4935
+  (0.1ms) ROLLBACK
4936
+  (0.2ms) BEGIN
4937
+ --------------------------------------------------------------------------
4938
+ ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run
4939
+ --------------------------------------------------------------------------
4940
+  (0.2ms) ROLLBACK
4941
+  (0.1ms) BEGIN
4942
+ ----------------------------------------------------------------------------
4943
+ ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run
4944
+ ----------------------------------------------------------------------------
4945
+  (0.1ms) SELECT 1=1
4946
+  (0.1ms) ROLLBACK
4947
+  (0.1ms) BEGIN
4948
+ -------------------------------------------------
4949
+ ActiveRecordCheckTest: test_given_nil_as_a_config
4950
+ -------------------------------------------------
4951
+  (0.1ms) ROLLBACK
4952
+  (0.1ms) BEGIN
4953
+ ---------------------------------------------------------------------
4954
+ ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass
4955
+ ---------------------------------------------------------------------
4956
+  (0.1ms) SELECT 1=1
4957
+ Dalli::Server#connect 127.0.0.1:11211
4958
+ {"database"=>#<Easymon::Result:0x007fbedd2b1ee0 @success=true, @message="Up", @timing=0.000272>, "redis"=>#<Easymon::Result:0x007fbedd2c77b8 @success=true, @message="Up", @timing=0.001027>, "memcached"=>#<Easymon::Result:0x007fbedd2e2d88 @success=true, @message="Up", @timing=0.000784>}
4959
+  (0.1ms) ROLLBACK
4960
+  (0.1ms) BEGIN
4961
+ ------------------------------------------------------------------------------------
4962
+ ChecklistTest: test_#response_status_returns_:service_unavailable_when_a_check_fails
4963
+ ------------------------------------------------------------------------------------
4964
+  (0.2ms) SELECT 1=1
4965
+ {"database"=>#<Easymon::Result:0x007fbedd3223e8 @success=true, @message="Up", @timing=0.000361>, "redis"=>#<Easymon::Result:0x007fbedd329378 @success=false, @message="Down", @timing=0.0001>, "memcached"=>#<Easymon::Result:0x007fbedd33b7d0 @success=true, @message="Up", @timing=0.000333>}
4966
+  (0.1ms) ROLLBACK
4967
+  (0.1ms) BEGIN
4968
+ -----------------------------------------------------------------
4969
+ ChecklistTest: test_#success?_returns_false_when_results_is_empty
4970
+ -----------------------------------------------------------------
4971
+  (0.1ms) ROLLBACK
4972
+  (0.1ms) BEGIN
4973
+ ---------------------------------------------------------
4974
+ ChecklistTest: test_#timing_is_a_sum_of_all_check_results
4975
+ ---------------------------------------------------------
4976
+  (0.1ms) ROLLBACK
4977
+  (0.1ms) BEGIN
4978
+ -------------------------------------------------------------------------
4979
+ ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist
4980
+ -------------------------------------------------------------------------
4981
+  (0.1ms) SELECT 1=1
4982
+ {"database"=>#<Easymon::Result:0x007fbedd4399c0 @success=true, @message="Up", @timing=0.00022>, "redis"=>#<Easymon::Result:0x007fbedd44a130 @success=true, @message="Up", @timing=0.000681>, "memcached"=>#<Easymon::Result:0x007fbedd45aa08 @success=true, @message="Up", @timing=0.00036>}
4983
+ {"database"=>#<Easymon::Result:0x007fbedd4399c0 @success=true, @message="Up", @timing=0.00022>, "redis"=>#<Easymon::Result:0x007fbedd44a130 @success=true, @message="Up", @timing=0.000681>, "memcached"=>#<Easymon::Result:0x007fbedd45aa08 @success=true, @message="Up", @timing=0.00036>}
4984
+ {"database"=>#<Easymon::Result:0x007fbedd4399c0 @success=true, @message="Up", @timing=0.00022>, "redis"=>#<Easymon::Result:0x007fbedd44a130 @success=true, @message="Up", @timing=0.000681>, "memcached"=>#<Easymon::Result:0x007fbedd45aa08 @success=true, @message="Up", @timing=0.00036>}
4985
+ {"database"=>#<Easymon::Result:0x007fbedd4399c0 @success=true, @message="Up", @timing=0.00022>, "redis"=>#<Easymon::Result:0x007fbedd44a130 @success=true, @message="Up", @timing=0.000681>, "memcached"=>#<Easymon::Result:0x007fbedd45aa08 @success=true, @message="Up", @timing=0.00036>}
4986
+  (0.1ms) ROLLBACK
4987
+  (0.1ms) BEGIN
4988
+ ----------------------------------------------
4989
+ ChecklistTest: test_can_look_up_checks_by_name
4990
+ ----------------------------------------------
4991
+  (0.1ms) ROLLBACK
4992
+  (0.1ms) BEGIN
4993
+ ---------------------------------------------
4994
+ ChecklistTest: test_cat_fetch_a_check_by_name
4995
+ ---------------------------------------------
4996
+  (0.1ms) ROLLBACK
4997
+  (0.1ms) BEGIN
4998
+ -------------------------------------------------------------------
4999
+ ChecklistTest: test_it_knows_the_number_of_checks_in_the_Repository
5000
+ -------------------------------------------------------------------
5001
+  (0.1ms) ROLLBACK
5002
+  (0.1ms) BEGIN
5003
+ ------------------------------------------
5004
+ ChecklistTest: test_it_will_run_each_check
5005
+ ------------------------------------------
5006
+  (0.2ms) SELECT 1=1
5007
+ {"database"=>#<Easymon::Result:0x007fbedd5986e0 @success=true, @message="Up", @timing=0.000274>, "redis"=>#<Easymon::Result:0x007fbedd5ab948 @success=true, @message="Up", @timing=0.00073>, "memcached"=>#<Easymon::Result:0x007fbedd5a9328 @success=true, @message="Up", @timing=0.00038>}
5008
+  (0.1ms) ROLLBACK
5009
+  (0.1ms) BEGIN
5010
+ ---------------------------------------------------------------------
5011
+ Easymon::ChecksControllerTest: test_index_when_a_critical_check_fails
5012
+ ---------------------------------------------------------------------
5013
+ Processing by Easymon::ChecksController#index as HTML
5014
+ {"database"=>#<Easymon::Result:0x007fbedd6196f0 @success=false, @message="Down", @timing=9.6e-05>}
5015
+ {"critical"=>#<Easymon::Result:0x007fbedd6187c8 @success=false, @message="database: Down - 0.096ms\n - Total Time - 0.096ms", @timing=0.000204>}
5016
+ {"critical"=>#<Easymon::Result:0x007fbedd6187c8 @success=false, @message="database: Down - 0.096ms\n - Total Time - 0.096ms", @timing=0.000204>}
5017
+ Rendered text template (0.0ms)
5018
+ Completed 503 Service Unavailable in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
5019
+  (0.2ms) ROLLBACK
5020
+  (0.1ms) BEGIN
5021
+ -------------------------------------------------------------------------
5022
+ Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails
5023
+ -------------------------------------------------------------------------
5024
+ Processing by Easymon::ChecksController#index as HTML
5025
+  (0.2ms) SELECT 1=1
5026
+ {"database"=>#<Easymon::Result:0x007fbedd6809e0 @success=true, @message="Up", @timing=0.000354>}
5027
+ {"critical"=>#<Easymon::Result:0x007fbedd68be80 @success=true, @message="database: Up - 0.354ms\n - Total Time - 0.354ms", @timing=0.000418>, "redis"=>#<Easymon::Result:0x007fbedd68ad00 @success=false, @message="Down", @timing=9.9e-05>}
5028
+ {"critical"=>#<Easymon::Result:0x007fbedd68be80 @success=true, @message="database: Up - 0.354ms\n - Total Time - 0.354ms", @timing=0.000418>, "redis"=>#<Easymon::Result:0x007fbedd68ad00 @success=false, @message="Down", @timing=9.9e-05>}
5029
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
5030
+  (0.1ms) ROLLBACK
5031
+  (0.1ms) BEGIN
5032
+ --------------------------------------------------------------
5033
+ Easymon::ChecksControllerTest: test_index_when_all_checks_pass
5034
+ --------------------------------------------------------------
5035
+ Processing by Easymon::ChecksController#index as HTML
5036
+  (0.2ms) SELECT 1=1
5037
+ {"database"=>#<Easymon::Result:0x007fbedd6d1e30 @success=true, @message="Up", @timing=0.000345>}
5038
+ {"database"=>#<Easymon::Result:0x007fbedd6d1e30 @success=true, @message="Up", @timing=0.000345>}
5039
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
5040
+  (0.1ms) ROLLBACK
5041
+  (0.1ms) BEGIN
5042
+ --------------------------------------------------------------------
5043
+ Easymon::ChecksControllerTest: test_index_when_no_checks_are_defined
5044
+ --------------------------------------------------------------------
5045
+ Processing by Easymon::ChecksController#index as HTML
5046
+ {}
5047
+ Completed 503 Service Unavailable in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
5048
+  (0.2ms) ROLLBACK
5049
+  (0.2ms) BEGIN
5050
+ ------------------------------------------------------------------
5051
+ Easymon::ChecksControllerTest: test_show_if_the_check_is_not_found
5052
+ ------------------------------------------------------------------
5053
+ Processing by Easymon::ChecksController#show as HTML
5054
+ Parameters: {"check"=>"database"}
5055
+ Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
5056
+  (0.2ms) ROLLBACK
5057
+  (0.1ms) BEGIN
5058
+ -------------------------------------------------------------
5059
+ Easymon::ChecksControllerTest: test_show_when_the_check_fails
5060
+ -------------------------------------------------------------
5061
+ Processing by Easymon::ChecksController#show as HTML
5062
+ Parameters: {"check"=>"database"}
5063
+ Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
5064
+  (0.2ms) ROLLBACK
5065
+  (0.1ms) BEGIN
5066
+ --------------------------------------------------------------
5067
+ Easymon::ChecksControllerTest: test_show_when_the_check_passes
5068
+ --------------------------------------------------------------
5069
+ Processing by Easymon::ChecksController#show as HTML
5070
+ Parameters: {"check"=>"database"}
5071
+  (0.2ms) SELECT 1=1
5072
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
5073
+  (0.1ms) ROLLBACK
5074
+  (0.1ms) BEGIN
5075
+ ----------------------------------------------------------------
5076
+ HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
5077
+ ----------------------------------------------------------------
5078
+  (0.2ms) ROLLBACK
5079
+  (0.1ms) BEGIN
5080
+ ------------------------------------------------------------------
5081
+ HttpCheckTest: test_#run_sets_success_conditions_on_successful_run
5082
+ ------------------------------------------------------------------
5083
+  (0.2ms) ROLLBACK
5084
+  (0.1ms) BEGIN
5085
+ --------------------------------------
5086
+ HttpCheckTest: test_given_nil_as_a_url
5087
+ --------------------------------------
5088
+  (0.1ms) ROLLBACK
5089
+  (0.1ms) BEGIN
5090
+ ---------------------------------------------------------------------
5091
+ MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
5092
+ ---------------------------------------------------------------------
5093
+  (0.1ms) ROLLBACK
5094
+  (0.1ms) BEGIN
5095
+ -----------------------------------------------------------------------
5096
+ MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run
5097
+ -----------------------------------------------------------------------
5098
+  (0.1ms) ROLLBACK
5099
+  (0.1ms) BEGIN
5100
+ ------------------------------------------------------------------
5101
+ MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers
5102
+ ------------------------------------------------------------------
5103
+  (0.1ms) ROLLBACK
5104
+  (0.1ms) BEGIN
5105
+ ---------------------------------------------------------
5106
+ MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache
5107
+ ---------------------------------------------------------
5108
+  (0.1ms) ROLLBACK
5109
+  (0.1ms) BEGIN
5110
+ -----------------------------------------------------------------
5111
+ RedisCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
5112
+ -----------------------------------------------------------------
5113
+  (0.1ms) ROLLBACK
5114
+  (0.1ms) BEGIN
5115
+ -------------------------------------------------------------------
5116
+ RedisCheckTest: test_#run_sets_success_conditions_on_successful_run
5117
+ -------------------------------------------------------------------
5118
+  (0.1ms) ROLLBACK
5119
+  (0.1ms) BEGIN
5120
+ ------------------------------------------
5121
+ RedisCheckTest: test_given_nil_as_a_config
5122
+ ------------------------------------------
5123
+  (0.1ms) ROLLBACK
5124
+  (0.1ms) BEGIN
5125
+ ------------------------------------------------------------------------------
5126
+ RepositoryTest: test_adds_a_check_to_the_repository_for_the_critical_checklist
5127
+ ------------------------------------------------------------------------------
5128
+  (0.1ms) ROLLBACK
5129
+  (0.1ms) BEGIN
5130
+ --------------------------------------------------------------------------
5131
+ RepositoryTest: test_adds_checks_marked_critical_to_the_critical_checklist
5132
+ --------------------------------------------------------------------------
5133
+  (0.1ms) ROLLBACK
5134
+  (0.1ms) BEGIN
5135
+ --------------------------------------------
5136
+ RepositoryTest: test_fetches_a_check_by_name
5137
+ --------------------------------------------
5138
+  (0.1ms) ROLLBACK
5139
+  (0.1ms) BEGIN
5140
+ -----------------------------------------------------
5141
+ RepositoryTest: test_fetches_a_critical_check_by_name
5142
+ -----------------------------------------------------
5143
+  (0.1ms) ROLLBACK
5144
+  (0.1ms) BEGIN
5145
+ ---------------------------------------------------
5146
+ RepositoryTest: test_returns_a_checklist_when_asked
5147
+ ---------------------------------------------------
5148
+  (0.1ms) ROLLBACK
5149
+  (0.1ms) BEGIN
5150
+ ---------------------------------------------------------
5151
+ RepositoryTest: test_we_can_add_a_check_to_the_repository
5152
+ ---------------------------------------------------------
5153
+  (0.1ms) ROLLBACK
5154
+  (0.1ms) BEGIN
5155
+ --------------------------------------------------------------
5156
+ RepositoryTest: test_we_can_remove_a_check_from_the_repository
5157
+ --------------------------------------------------------------
5158
+  (0.1ms) ROLLBACK
5159
+  (0.1ms) BEGIN
5160
+ ---------------------------------------------------------------------
5161
+ SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
5162
+ ---------------------------------------------------------------------
5163
+  (0.1ms) ROLLBACK
5164
+  (0.1ms) BEGIN
5165
+ -----------------------------------------------------------------------
5166
+ SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run
5167
+ -----------------------------------------------------------------------
5168
+  (0.1ms) ROLLBACK
5169
+  (0.1ms) BEGIN
5170
+ --------------------------------------------------------------------------------
5171
+ SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down
5172
+ --------------------------------------------------------------------------------
5173
+  (0.1ms) SELECT 1=1
5174
+  (0.1ms) ROLLBACK
5175
+  (0.1ms) BEGIN
5176
+  (0.1ms) BEGIN
5177
+ -------------------------------------------------------------------------------
5178
+ SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down
5179
+ -------------------------------------------------------------------------------
5180
+  (0.1ms) SELECT 1=1
5181
+  (0.1ms) ROLLBACK
5182
+  (0.1ms) BEGIN
5183
+  (0.1ms) BEGIN
5184
+ -------------------------------------------------------------------------------
5185
+ SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run
5186
+ -------------------------------------------------------------------------------
5187
+  (0.1ms) SELECT 1=1
5188
+  (0.1ms) SELECT 1=1
5189
+  (0.1ms) ROLLBACK
5190
+  (0.1ms) BEGIN
5191
+  (0.1ms) BEGIN
5192
+ ------------------------------------------------------
5193
+ SplitActiveRecordCheckTest: test_given_nil_as_a_config
5194
+ ------------------------------------------------------
5195
+  (0.1ms) ROLLBACK
5196
+  (0.1ms) ROLLBACK
5197
+  (0.1ms) BEGIN
5198
+  (0.1ms) BEGIN
5199
+ ----------------------------------------------------------------------------
5200
+ TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run
5201
+ ----------------------------------------------------------------------------
5202
+  (0.1ms) ROLLBACK
5203
+  (0.1ms) ROLLBACK
5204
+  (0.1ms) BEGIN
5205
+  (0.1ms) BEGIN
5206
+ ------------------------------------------------------------------------------
5207
+ TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run
2587
5208
  ------------------------------------------------------------------------------
2588
5209
   (0.1ms) ROLLBACK
2589
5210
   (0.1ms) ROLLBACK