easymon 1.4 → 1.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 995c7954f5c5d720f9840c0f93b1d673de2e6a6682c7a134336cac6d21f2a280
4
- data.tar.gz: 7cbce9feb1e3a4f4fc7c661a5597314fb2107e3ac36d5ee84cfa2810c218dc75
3
+ metadata.gz: bf76cc1300dbf7f7d26a222de5a63bd5e33aebbe3b46309cebb3d57c56a96198
4
+ data.tar.gz: 6dba2bf0de1364f1654eabeee1d77dab1f56468da147d5deebced8d5d4b8cd0c
5
5
  SHA512:
6
- metadata.gz: c805aec0b3a45ac5e289ffe5fe7f17e85abb250dbd31d09787e1e3912e11d4040a3a7aa9c04018fc8dfe4febc3e0aaeb638f4ef4e4a65eea8d0250d2fb60b090
7
- data.tar.gz: 2763483c3faf6714ccfbc3ea055bb985a9ed0a125527e41ec9e72e25946a85979794590c6886fa42259c9e1fa6dbac99b441ac575ef89a3bfbebdf7c8d8372b0
6
+ metadata.gz: d291eb62ea6e290218df03a25952fff04de375f70c1c83d5c354cca6ce388a384af352ad4e6297702c8f84346cb2f943c3d139f26df8033f25679ab0bc0713c3
7
+ data.tar.gz: 39c8f3667f94968c025790bf5e5745116ae8c3aaf6e679ce4a5b1a37554193564094d954e101fe5a7e0f4ab54fc7176a393d42a9b441ee8023454e52c3ea1545
@@ -17,8 +17,8 @@ module Easymon
17
17
 
18
18
  rescue_from Easymon::NoSuchCheck do |e|
19
19
  respond_to do |format|
20
- format.any(:text, :html) { render_result e.message, :not_found }
21
- format.json { render :json => e.message, :status => :not_found }
20
+ format.any(:text, :html) { render_result "Check Not Found", :not_found }
21
+ format.json { render :json => "Check Not Found", :status => :not_found }
22
22
  end
23
23
  end
24
24
 
@@ -1,3 +1,3 @@
1
1
  module Easymon
2
- VERSION = "1.4"
2
+ VERSION = "1.4.1"
3
3
  end
@@ -0,0 +1,66 @@
1
+ DEPRECATION WARNING: Using `Rails::Application` subclass to start the server is deprecated and will be removed in Rails 6.0. Please change `run Dummy::Application` to `run Rails.application` in config.ru. (called from require at script/rails:6)
2
+ Started GET "/up" for 127.0.0.1 at 2018-11-08 22:46:44 -0500
3
+ Processing by Easymon::ChecksController#index as */*
4
+ Rendering text template
5
+ Rendered text template (0.0ms)
6
+ Completed 503 Service Unavailable in 33ms (Views: 0.6ms)
7
+
8
+
9
+ Started GET "/up/foobar" for 127.0.0.1 at 2018-11-08 22:46:48 -0500
10
+ Processing by Easymon::ChecksController#show as */*
11
+ Parameters: {"check"=>"foobar"}
12
+ Rendering text template
13
+ Rendered text template (0.0ms)
14
+ Completed 404 Not Found in 1ms (Views: 0.3ms)
15
+
16
+
17
+ Started GET "/up/foobar" for 127.0.0.1 at 2018-11-08 22:47:10 -0500
18
+ Processing by Easymon::ChecksController#show as */*
19
+ Parameters: {"check"=>"foobar"}
20
+ Rendering text template
21
+ Rendered text template (0.0ms)
22
+ Completed 404 Not Found in 1ms (Views: 0.4ms)
23
+
24
+
25
+ Started GET "/up/foobar" for 127.0.0.1 at 2018-11-08 22:49:15 -0500
26
+ Processing by Easymon::ChecksController#show as */*
27
+ Parameters: {"check"=>"foobar"}
28
+ Rendering text template
29
+ Rendered text template (0.0ms)
30
+ Completed 404 Not Found in 1ms (Views: 0.5ms)
31
+
32
+
33
+ DEPRECATION WARNING: Using `Rails::Application` subclass to start the server is deprecated and will be removed in Rails 6.0. Please change `run Dummy::Application` to `run Rails.application` in config.ru. (called from require at script/rails:6)
34
+ Started GET "/up/critical/foobar" for 127.0.0.1 at 2018-11-08 22:50:46 -0500
35
+
36
+ ActionController::RoutingError (No route matches [GET] "/up/critical/foobar"):
37
+
38
+ actionpack (5.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
39
+ actionpack (5.2.1) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
40
+ railties (5.2.1) lib/rails/rack/logger.rb:38:in `call_app'
41
+ railties (5.2.1) lib/rails/rack/logger.rb:26:in `block in call'
42
+ activesupport (5.2.1) lib/active_support/tagged_logging.rb:71:in `block in tagged'
43
+ activesupport (5.2.1) lib/active_support/tagged_logging.rb:28:in `tagged'
44
+ activesupport (5.2.1) lib/active_support/tagged_logging.rb:71:in `tagged'
45
+ railties (5.2.1) lib/rails/rack/logger.rb:26:in `call'
46
+ actionpack (5.2.1) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
47
+ actionpack (5.2.1) lib/action_dispatch/middleware/request_id.rb:27:in `call'
48
+ rack (2.0.6) lib/rack/method_override.rb:22:in `call'
49
+ rack (2.0.6) lib/rack/runtime.rb:22:in `call'
50
+ activesupport (5.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
51
+ actionpack (5.2.1) lib/action_dispatch/middleware/executor.rb:14:in `call'
52
+ actionpack (5.2.1) lib/action_dispatch/middleware/static.rb:127:in `call'
53
+ rack (2.0.6) lib/rack/sendfile.rb:111:in `call'
54
+ railties (5.2.1) lib/rails/engine.rb:524:in `call'
55
+ rack (2.0.6) lib/rack/handler/webrick.rb:86:in `service'
56
+ /Users/nathan/.rbenv/versions/2.5.3/lib/ruby/2.5.0/webrick/httpserver.rb:140:in `service'
57
+ /Users/nathan/.rbenv/versions/2.5.3/lib/ruby/2.5.0/webrick/httpserver.rb:96:in `run'
58
+ /Users/nathan/.rbenv/versions/2.5.3/lib/ruby/2.5.0/webrick/server.rb:307:in `block in start_thread'
59
+ Started GET "/up/critical" for 127.0.0.1 at 2018-11-08 22:51:07 -0500
60
+ Processing by Easymon::ChecksController#show as */*
61
+ Parameters: {"check"=>"critical"}
62
+ Rendering text template
63
+ Rendered text template (0.0ms)
64
+ Completed 503 Service Unavailable in 29ms (Views: 0.5ms)
65
+
66
+
@@ -2300,3 +2300,422 @@ ActiveRecordCheckTest: test_given_nil_as_a_config
2300
2300
   (0.1ms) ROLLBACK
2301
2301
   (0.1ms) ROLLBACK
2302
2302
   (0.1ms) ROLLBACK
2303
+  (0.4ms) SET NAMES utf8, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483
2304
+  (0.2ms) SET NAMES utf8, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483
2305
+  (0.2ms) BEGIN
2306
+  (0.2ms) BEGIN
2307
+ --------------------------------------------------------------------------
2308
+ RepositoryTest: test_adds_checks_marked_critical_to_the_critical_checklist
2309
+ --------------------------------------------------------------------------
2310
+  (0.2ms) ROLLBACK
2311
+  (0.1ms) ROLLBACK
2312
+  (0.2ms) BEGIN
2313
+  (0.2ms) BEGIN
2314
+ --------------------------------------------
2315
+ RepositoryTest: test_fetches_a_check_by_name
2316
+ --------------------------------------------
2317
+  (0.2ms) ROLLBACK
2318
+  (0.1ms) ROLLBACK
2319
+  (0.1ms) BEGIN
2320
+  (0.1ms) BEGIN
2321
+ -----------------------------------------------------
2322
+ RepositoryTest: test_fetches_a_critical_check_by_name
2323
+ -----------------------------------------------------
2324
+  (0.1ms) ROLLBACK
2325
+  (0.1ms) ROLLBACK
2326
+  (0.1ms) BEGIN
2327
+  (0.1ms) BEGIN
2328
+ ---------------------------------------------------
2329
+ RepositoryTest: test_returns_a_checklist_when_asked
2330
+ ---------------------------------------------------
2331
+  (0.1ms) ROLLBACK
2332
+  (0.1ms) ROLLBACK
2333
+  (0.1ms) BEGIN
2334
+  (0.1ms) BEGIN
2335
+ ---------------------------------------------------------
2336
+ RepositoryTest: test_we_can_add_a_check_to_the_repository
2337
+ ---------------------------------------------------------
2338
+  (0.1ms) ROLLBACK
2339
+  (0.1ms) ROLLBACK
2340
+  (0.1ms) BEGIN
2341
+  (0.1ms) BEGIN
2342
+ --------------------------------------------------------------
2343
+ RepositoryTest: test_we_can_remove_a_check_from_the_repository
2344
+ --------------------------------------------------------------
2345
+  (0.1ms) ROLLBACK
2346
+  (0.1ms) ROLLBACK
2347
+  (0.1ms) BEGIN
2348
+  (0.1ms) BEGIN
2349
+ ---------------------------------------------------------------------
2350
+ MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
2351
+ ---------------------------------------------------------------------
2352
+  (0.1ms) ROLLBACK
2353
+  (0.1ms) ROLLBACK
2354
+  (0.1ms) BEGIN
2355
+  (0.1ms) BEGIN
2356
+ -----------------------------------------------------------------------
2357
+ MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run
2358
+ -----------------------------------------------------------------------
2359
+  (0.1ms) ROLLBACK
2360
+  (0.1ms) ROLLBACK
2361
+  (0.1ms) BEGIN
2362
+  (0.1ms) BEGIN
2363
+ ------------------------------------------------------------------
2364
+ MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers
2365
+ ------------------------------------------------------------------
2366
+  (0.1ms) ROLLBACK
2367
+  (0.1ms) ROLLBACK
2368
+  (0.1ms) BEGIN
2369
+  (0.1ms) BEGIN
2370
+ ---------------------------------------------------------
2371
+ MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache
2372
+ ---------------------------------------------------------
2373
+  (0.1ms) ROLLBACK
2374
+  (0.1ms) ROLLBACK
2375
+  (0.1ms) BEGIN
2376
+  (0.1ms) BEGIN
2377
+ ---------------------------------------------------------------------
2378
+ SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
2379
+ ---------------------------------------------------------------------
2380
+  (0.1ms) ROLLBACK
2381
+  (0.1ms) ROLLBACK
2382
+  (0.1ms) BEGIN
2383
+  (0.1ms) BEGIN
2384
+ -----------------------------------------------------------------------
2385
+ SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run
2386
+ -----------------------------------------------------------------------
2387
+  (0.1ms) ROLLBACK
2388
+  (0.1ms) ROLLBACK
2389
+  (0.1ms) BEGIN
2390
+  (0.1ms) BEGIN
2391
+ ----------------------------------------------------------------------------
2392
+ TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run
2393
+ ----------------------------------------------------------------------------
2394
+  (0.1ms) ROLLBACK
2395
+  (0.1ms) ROLLBACK
2396
+  (0.1ms) BEGIN
2397
+  (0.1ms) BEGIN
2398
+ ------------------------------------------------------------------------------
2399
+ TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run
2400
+ ------------------------------------------------------------------------------
2401
+  (0.1ms) ROLLBACK
2402
+  (0.1ms) ROLLBACK
2403
+  (0.1ms) BEGIN
2404
+  (0.1ms) BEGIN
2405
+ --------------------------------------------------------------------------------------
2406
+ ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_failed_result_on_a_failed_run
2407
+ --------------------------------------------------------------------------------------
2408
+  (0.1ms) ROLLBACK
2409
+  (0.1ms) ROLLBACK
2410
+  (0.1ms) BEGIN
2411
+  (0.1ms) BEGIN
2412
+ ----------------------------------------------------------------------------------------
2413
+ ActiveRecordCheckOnPostgresqlTest: test_#check_returns_a_successful_result_on_a_good_run
2414
+ ----------------------------------------------------------------------------------------
2415
+  (0.1ms) ROLLBACK
2416
+  (0.1ms) ROLLBACK
2417
+  (0.1ms) BEGIN
2418
+  (0.1ms) BEGIN
2419
+ ----------------------------------------------------------------
2420
+ HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
2421
+ ----------------------------------------------------------------
2422
+  (0.1ms) ROLLBACK
2423
+  (0.1ms) ROLLBACK
2424
+  (0.1ms) BEGIN
2425
+  (0.1ms) BEGIN
2426
+ ------------------------------------------------------------------
2427
+ HttpCheckTest: test_#run_sets_failure_conditions_on_an_errored_run
2428
+ ------------------------------------------------------------------
2429
+  (0.1ms) ROLLBACK
2430
+  (0.1ms) ROLLBACK
2431
+  (0.1ms) BEGIN
2432
+  (0.1ms) BEGIN
2433
+ ------------------------------------------------------------------
2434
+ HttpCheckTest: test_#run_sets_success_conditions_on_successful_run
2435
+ ------------------------------------------------------------------
2436
+  (0.1ms) ROLLBACK
2437
+  (0.1ms) ROLLBACK
2438
+  (0.1ms) BEGIN
2439
+  (0.1ms) BEGIN
2440
+ --------------------------------------
2441
+ HttpCheckTest: test_given_nil_as_a_url
2442
+ --------------------------------------
2443
+  (0.1ms) ROLLBACK
2444
+  (0.1ms) ROLLBACK
2445
+  (0.1ms) BEGIN
2446
+  (0.1ms) BEGIN
2447
+ ------------------------------------------------------------
2448
+ Easymon::ChecksControllerTest: test_index_returns_valid_json
2449
+ ------------------------------------------------------------
2450
+ Processing by Easymon::ChecksController#index as JSON
2451
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2452
+  (0.1ms) ROLLBACK
2453
+  (0.2ms) ROLLBACK
2454
+  (0.1ms) BEGIN
2455
+  (0.1ms) BEGIN
2456
+ ------------------------------------------------------------
2457
+ Easymon::ChecksControllerTest: test_index_when_a_check_fails
2458
+ ------------------------------------------------------------
2459
+ Processing by Easymon::ChecksController#index as HTML
2460
+ Rendering text template
2461
+ Rendered text template (0.0ms)
2462
+ Completed 503 Service Unavailable in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
2463
+  (0.2ms) ROLLBACK
2464
+  (0.1ms) ROLLBACK
2465
+  (0.1ms) BEGIN
2466
+  (0.1ms) BEGIN
2467
+ ---------------------------------------------------------------------
2468
+ Easymon::ChecksControllerTest: test_index_when_a_critical_check_fails
2469
+ ---------------------------------------------------------------------
2470
+ Processing by Easymon::ChecksController#index as HTML
2471
+ Rendering text template
2472
+ Rendered text template (0.0ms)
2473
+ Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2474
+  (0.2ms) ROLLBACK
2475
+  (0.1ms) ROLLBACK
2476
+  (0.1ms) BEGIN
2477
+  (0.1ms) BEGIN
2478
+ -------------------------------------------------------------------------
2479
+ Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails
2480
+ -------------------------------------------------------------------------
2481
+ Processing by Easymon::ChecksController#index as HTML
2482
+ Rendering text template
2483
+ Rendered text template (0.0ms)
2484
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2485
+  (0.2ms) ROLLBACK
2486
+  (0.1ms) ROLLBACK
2487
+  (0.1ms) BEGIN
2488
+  (0.1ms) BEGIN
2489
+ --------------------------------------------------------------
2490
+ Easymon::ChecksControllerTest: test_index_when_all_checks_pass
2491
+ --------------------------------------------------------------
2492
+ Processing by Easymon::ChecksController#index as HTML
2493
+ Rendering text template
2494
+ Rendered text template (0.0ms)
2495
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2496
+  (0.1ms) ROLLBACK
2497
+  (0.1ms) ROLLBACK
2498
+  (0.1ms) BEGIN
2499
+  (0.1ms) BEGIN
2500
+ --------------------------------------------------------------------
2501
+ Easymon::ChecksControllerTest: test_index_when_no_checks_are_defined
2502
+ --------------------------------------------------------------------
2503
+ Processing by Easymon::ChecksController#index as HTML
2504
+ Rendering text template
2505
+ Rendered text template (0.0ms)
2506
+ Completed 503 Service Unavailable in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2507
+  (0.1ms) ROLLBACK
2508
+  (0.1ms) ROLLBACK
2509
+  (0.1ms) BEGIN
2510
+  (0.1ms) BEGIN
2511
+ ----------------------------------------------------------------
2512
+ Easymon::ChecksControllerTest: test_return_403_if_not_authorized
2513
+ ----------------------------------------------------------------
2514
+ Processing by Easymon::ChecksController#index as HTML
2515
+ Filter chain halted as :authorize_request rendered or redirected
2516
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
2517
+ Processing by Easymon::ChecksController#show as HTML
2518
+ Parameters: {"check"=>"database"}
2519
+ Filter chain halted as :authorize_request rendered or redirected
2520
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
2521
+  (0.1ms) ROLLBACK
2522
+  (0.1ms) ROLLBACK
2523
+  (0.1ms) BEGIN
2524
+  (0.1ms) BEGIN
2525
+ ------------------------------------------------------------------
2526
+ Easymon::ChecksControllerTest: test_show_if_the_check_is_not_found
2527
+ ------------------------------------------------------------------
2528
+ Processing by Easymon::ChecksController#show as HTML
2529
+ Parameters: {"check"=>"database"}
2530
+ Rendering text template
2531
+ Rendered text template (0.0ms)
2532
+ Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2533
+  (0.2ms) ROLLBACK
2534
+  (0.1ms) ROLLBACK
2535
+  (0.1ms) BEGIN
2536
+  (0.1ms) BEGIN
2537
+ -------------------------------------------------------------------
2538
+ Easymon::ChecksControllerTest: test_show_json_when_the_check_passes
2539
+ -------------------------------------------------------------------
2540
+ Processing by Easymon::ChecksController#show as JSON
2541
+ Parameters: {"check"=>"database"}
2542
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2543
+  (0.2ms) ROLLBACK
2544
+  (0.2ms) ROLLBACK
2545
+  (0.1ms) BEGIN
2546
+  (0.1ms) BEGIN
2547
+ -------------------------------------------------------------
2548
+ Easymon::ChecksControllerTest: test_show_when_the_check_fails
2549
+ -------------------------------------------------------------
2550
+ Processing by Easymon::ChecksController#show as HTML
2551
+ Parameters: {"check"=>"database"}
2552
+ Rendering text template
2553
+ Rendered text template (0.0ms)
2554
+ Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2555
+  (0.1ms) ROLLBACK
2556
+  (0.2ms) ROLLBACK
2557
+  (0.1ms) BEGIN
2558
+  (0.1ms) BEGIN
2559
+ --------------------------------------------------------------
2560
+ Easymon::ChecksControllerTest: test_show_when_the_check_passes
2561
+ --------------------------------------------------------------
2562
+ Processing by Easymon::ChecksController#show as HTML
2563
+ Parameters: {"check"=>"database"}
2564
+ Rendering text template
2565
+ Rendered text template (0.0ms)
2566
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2567
+  (0.1ms) ROLLBACK
2568
+  (0.1ms) ROLLBACK
2569
+  (0.1ms) BEGIN
2570
+  (0.1ms) BEGIN
2571
+ -----------------------------------------------------------------
2572
+ RedisCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
2573
+ -----------------------------------------------------------------
2574
+  (0.1ms) ROLLBACK
2575
+  (0.1ms) ROLLBACK
2576
+  (0.1ms) BEGIN
2577
+  (0.1ms) BEGIN
2578
+ -------------------------------------------------------------------
2579
+ RedisCheckTest: test_#run_sets_success_conditions_on_successful_run
2580
+ -------------------------------------------------------------------
2581
+  (0.1ms) ROLLBACK
2582
+  (0.1ms) ROLLBACK
2583
+  (0.1ms) BEGIN
2584
+  (0.1ms) BEGIN
2585
+ ------------------------------------------
2586
+ RedisCheckTest: test_given_nil_as_a_config
2587
+ ------------------------------------------
2588
+  (0.1ms) ROLLBACK
2589
+  (0.1ms) ROLLBACK
2590
+  (0.1ms) BEGIN
2591
+  (0.1ms) BEGIN
2592
+ --------------------------------------------------------------------------
2593
+ ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run
2594
+ --------------------------------------------------------------------------
2595
+  (0.1ms) ROLLBACK
2596
+  (0.1ms) ROLLBACK
2597
+  (0.1ms) BEGIN
2598
+  (0.1ms) BEGIN
2599
+ ----------------------------------------------------------------------------
2600
+ ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run
2601
+ ----------------------------------------------------------------------------
2602
+  (0.1ms) ROLLBACK
2603
+  (0.1ms) ROLLBACK
2604
+  (0.1ms) BEGIN
2605
+  (0.1ms) BEGIN
2606
+ -------------------------------------------------
2607
+ ActiveRecordCheckTest: test_given_nil_as_a_config
2608
+ -------------------------------------------------
2609
+  (0.1ms) ROLLBACK
2610
+  (0.1ms) ROLLBACK
2611
+  (0.1ms) BEGIN
2612
+  (0.1ms) BEGIN
2613
+ ---------------------------------------------------------------------
2614
+ ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass
2615
+ ---------------------------------------------------------------------
2616
+  (0.1ms) ROLLBACK
2617
+  (0.1ms) ROLLBACK
2618
+  (0.1ms) BEGIN
2619
+  (0.1ms) BEGIN
2620
+ ------------------------------------------------------------------------------------
2621
+ ChecklistTest: test_#response_status_returns_:service_unavailable_when_a_check_fails
2622
+ ------------------------------------------------------------------------------------
2623
+ Dalli::Server#connect 127.0.0.1:11211
2624
+ 127.0.0.1:11211 failed (count: 0) Errno::ECONNREFUSED: Connection refused - connect(2) for "127.0.0.1" port 11211
2625
+ Dalli::Server#connect 127.0.0.1:11211
2626
+ 127.0.0.1:11211 failed (count: 1) Errno::ECONNREFUSED: Connection refused - connect(2) for "127.0.0.1" port 11211
2627
+ 127.0.0.1:11211 is down
2628
+  (0.3ms) ROLLBACK
2629
+  (0.3ms) ROLLBACK
2630
+  (0.3ms) BEGIN
2631
+  (0.3ms) BEGIN
2632
+ -----------------------------------------------------------------
2633
+ ChecklistTest: test_#success?_returns_false_when_results_is_empty
2634
+ -----------------------------------------------------------------
2635
+  (0.2ms) ROLLBACK
2636
+  (0.2ms) ROLLBACK
2637
+  (0.2ms) BEGIN
2638
+  (0.1ms) BEGIN
2639
+ ---------------------------------------------------------
2640
+ ChecklistTest: test_#timing_is_a_sum_of_all_check_results
2641
+ ---------------------------------------------------------
2642
+  (0.2ms) ROLLBACK
2643
+  (0.1ms) ROLLBACK
2644
+  (0.2ms) BEGIN
2645
+  (0.2ms) BEGIN
2646
+ -------------------------------------------------------------------------
2647
+ ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist
2648
+ -------------------------------------------------------------------------
2649
+  (0.1ms) ROLLBACK
2650
+  (0.1ms) ROLLBACK
2651
+  (0.2ms) BEGIN
2652
+  (0.1ms) BEGIN
2653
+ ----------------------------------------------
2654
+ ChecklistTest: test_can_look_up_checks_by_name
2655
+ ----------------------------------------------
2656
+  (0.2ms) ROLLBACK
2657
+  (0.1ms) ROLLBACK
2658
+  (0.1ms) BEGIN
2659
+  (0.1ms) BEGIN
2660
+ ---------------------------------------------
2661
+ ChecklistTest: test_cat_fetch_a_check_by_name
2662
+ ---------------------------------------------
2663
+  (0.1ms) ROLLBACK
2664
+  (0.1ms) ROLLBACK
2665
+  (0.1ms) BEGIN
2666
+  (0.1ms) BEGIN
2667
+ -------------------------------------------------------------------
2668
+ ChecklistTest: test_it_knows_the_number_of_checks_in_the_Repository
2669
+ -------------------------------------------------------------------
2670
+  (0.2ms) ROLLBACK
2671
+  (0.2ms) ROLLBACK
2672
+  (0.2ms) BEGIN
2673
+  (0.1ms) BEGIN
2674
+ ------------------------------------------
2675
+ ChecklistTest: test_it_will_run_each_check
2676
+ ------------------------------------------
2677
+ down_retry_delay not reached for 127.0.0.1:11211 (59.983 seconds left)
2678
+ down_retry_delay not reached for 127.0.0.1:11211 (59.983 seconds left)
2679
+  (0.1ms) ROLLBACK
2680
+  (0.1ms) ROLLBACK
2681
+  (0.1ms) BEGIN
2682
+  (0.1ms) BEGIN
2683
+ --------------------------------------------------------------------------------
2684
+ SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down
2685
+ --------------------------------------------------------------------------------
2686
+  (0.3ms) SET NAMES utf8, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483
2687
+  (0.1ms) BEGIN
2688
+  (0.2ms) ROLLBACK
2689
+  (0.2ms) ROLLBACK
2690
+  (0.1ms) ROLLBACK
2691
+  (0.1ms) BEGIN
2692
+  (0.1ms) BEGIN
2693
+  (0.1ms) BEGIN
2694
+ -------------------------------------------------------------------------------
2695
+ SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down
2696
+ -------------------------------------------------------------------------------
2697
+  (0.3ms) SET NAMES utf8, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483
2698
+  (0.1ms) BEGIN
2699
+  (0.1ms) ROLLBACK
2700
+  (0.1ms) ROLLBACK
2701
+  (0.1ms) ROLLBACK
2702
+  (0.1ms) BEGIN
2703
+  (0.1ms) BEGIN
2704
+  (0.1ms) BEGIN
2705
+ -------------------------------------------------------------------------------
2706
+ SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run
2707
+ -------------------------------------------------------------------------------
2708
+  (0.3ms) SET NAMES utf8, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483
2709
+  (0.1ms) BEGIN
2710
+  (0.1ms) ROLLBACK
2711
+  (0.1ms) ROLLBACK
2712
+  (0.1ms) ROLLBACK
2713
+  (0.1ms) BEGIN
2714
+  (0.1ms) BEGIN
2715
+  (0.1ms) BEGIN
2716
+ ------------------------------------------------------
2717
+ SplitActiveRecordCheckTest: test_given_nil_as_a_config
2718
+ ------------------------------------------------------
2719
+  (0.1ms) ROLLBACK
2720
+  (0.1ms) ROLLBACK
2721
+  (0.1ms) ROLLBACK
@@ -0,0 +1 @@
1
+ o: ActiveSupport::Cache::Entry : @valuei:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: easymon
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.4'
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Anderson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-06 00:00:00.000000000 Z
11
+ date: 2018-11-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: redis
@@ -178,6 +178,7 @@ files:
178
178
  - test/dummy/public/500.html
179
179
  - test/dummy/public/favicon.ico
180
180
  - test/dummy/script/rails
181
+ - test/dummy/tmp/cache/4D4/7A0/health_check
181
182
  - test/helpers/easymon/checks_helper_test.rb
182
183
  - test/integration/navigation_test.rb
183
184
  - test/test_helper.rb
@@ -265,6 +266,7 @@ test_files:
265
266
  - test/dummy/public/404.html
266
267
  - test/dummy/log/test.log
267
268
  - test/dummy/log/development.log
269
+ - test/dummy/tmp/cache/4D4/7A0/health_check
268
270
  - test/dummy/README.rdoc
269
271
  - test/integration/navigation_test.rb
270
272
  - test/test_helper.rb