easymon 1.0.9 → 1.1

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.

@@ -5208,3 +5208,4210 @@ TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run
5208
5208
  ------------------------------------------------------------------------------
5209
5209
   (0.1ms) ROLLBACK
5210
5210
   (0.1ms) ROLLBACK
5211
+  (0.2ms) BEGIN
5212
+ --------------------------------------------------------------------------
5213
+ ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run
5214
+ --------------------------------------------------------------------------
5215
+  (0.1ms) ROLLBACK
5216
+  (0.1ms) BEGIN
5217
+ ----------------------------------------------------------------------------
5218
+ ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run
5219
+ ----------------------------------------------------------------------------
5220
+  (16.9ms) SELECT 1=1
5221
+  (0.2ms) ROLLBACK
5222
+  (0.2ms) BEGIN
5223
+ -------------------------------------------------
5224
+ ActiveRecordCheckTest: test_given_nil_as_a_config
5225
+ -------------------------------------------------
5226
+  (0.2ms) ROLLBACK
5227
+  (0.2ms) BEGIN
5228
+ --------------------------------------------------------------------------------
5229
+ SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down
5230
+ --------------------------------------------------------------------------------
5231
+  (0.2ms) SELECT 1=1
5232
+  (0.1ms) ROLLBACK
5233
+  (0.1ms) BEGIN
5234
+  (0.1ms) BEGIN
5235
+ -------------------------------------------------------------------------------
5236
+ SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down
5237
+ -------------------------------------------------------------------------------
5238
+  (0.2ms) SELECT 1=1
5239
+  (0.1ms) ROLLBACK
5240
+  (0.2ms) BEGIN
5241
+  (0.1ms) BEGIN
5242
+ -------------------------------------------------------------------------------
5243
+ SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run
5244
+ -------------------------------------------------------------------------------
5245
+  (0.1ms) SELECT 1=1
5246
+  (0.1ms) SELECT 1=1
5247
+  (0.1ms) ROLLBACK
5248
+  (0.1ms) BEGIN
5249
+  (0.1ms) BEGIN
5250
+ ------------------------------------------------------
5251
+ SplitActiveRecordCheckTest: test_given_nil_as_a_config
5252
+ ------------------------------------------------------
5253
+  (0.1ms) ROLLBACK
5254
+  (0.1ms) ROLLBACK
5255
+  (0.1ms) BEGIN
5256
+  (0.1ms) BEGIN
5257
+ -----------------------------------------------------------------
5258
+ RedisCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
5259
+ -----------------------------------------------------------------
5260
+  (0.2ms) ROLLBACK
5261
+  (0.2ms) ROLLBACK
5262
+  (0.1ms) BEGIN
5263
+  (0.1ms) BEGIN
5264
+ -------------------------------------------------------------------
5265
+ RedisCheckTest: test_#run_sets_success_conditions_on_successful_run
5266
+ -------------------------------------------------------------------
5267
+  (0.1ms) ROLLBACK
5268
+  (0.1ms) ROLLBACK
5269
+  (0.1ms) BEGIN
5270
+  (0.1ms) BEGIN
5271
+ ------------------------------------------
5272
+ RedisCheckTest: test_given_nil_as_a_config
5273
+ ------------------------------------------
5274
+  (0.1ms) ROLLBACK
5275
+  (0.1ms) ROLLBACK
5276
+  (0.1ms) BEGIN
5277
+  (0.1ms) BEGIN
5278
+ ---------------------------------------------------------------------
5279
+ Easymon::ChecksControllerTest: test_index_when_a_critical_check_fails
5280
+ ---------------------------------------------------------------------
5281
+ Processing by Easymon::ChecksController#index as HTML
5282
+ Rendered text template (0.0ms)
5283
+ Completed 503 Service Unavailable in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
5284
+  (0.2ms) ROLLBACK
5285
+  (0.1ms) ROLLBACK
5286
+  (0.1ms) BEGIN
5287
+  (0.1ms) BEGIN
5288
+ -------------------------------------------------------------------------
5289
+ Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails
5290
+ -------------------------------------------------------------------------
5291
+ Processing by Easymon::ChecksController#index as HTML
5292
+  (0.2ms) SELECT 1=1
5293
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
5294
+  (0.1ms) ROLLBACK
5295
+  (0.1ms) ROLLBACK
5296
+  (0.1ms) BEGIN
5297
+  (0.1ms) BEGIN
5298
+ --------------------------------------------------------------
5299
+ Easymon::ChecksControllerTest: test_index_when_all_checks_pass
5300
+ --------------------------------------------------------------
5301
+ Processing by Easymon::ChecksController#index as HTML
5302
+  (0.1ms) SELECT 1=1
5303
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
5304
+  (0.1ms) ROLLBACK
5305
+  (0.1ms) ROLLBACK
5306
+  (0.1ms) BEGIN
5307
+  (0.1ms) BEGIN
5308
+ --------------------------------------------------------------------
5309
+ Easymon::ChecksControllerTest: test_index_when_no_checks_are_defined
5310
+ --------------------------------------------------------------------
5311
+ Processing by Easymon::ChecksController#index as HTML
5312
+ Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
5313
+  (0.1ms) ROLLBACK
5314
+  (0.1ms) ROLLBACK
5315
+  (0.1ms) BEGIN
5316
+  (0.1ms) BEGIN
5317
+ ------------------------------------------------------------------
5318
+ Easymon::ChecksControllerTest: test_show_if_the_check_is_not_found
5319
+ ------------------------------------------------------------------
5320
+ Processing by Easymon::ChecksController#show as HTML
5321
+ Parameters: {"check"=>"database"}
5322
+ Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
5323
+  (0.1ms) ROLLBACK
5324
+  (0.1ms) ROLLBACK
5325
+  (0.1ms) BEGIN
5326
+  (0.1ms) BEGIN
5327
+ -------------------------------------------------------------
5328
+ Easymon::ChecksControllerTest: test_show_when_the_check_fails
5329
+ -------------------------------------------------------------
5330
+ Processing by Easymon::ChecksController#show as HTML
5331
+ Parameters: {"check"=>"database"}
5332
+ Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
5333
+  (0.1ms) ROLLBACK
5334
+  (0.1ms) ROLLBACK
5335
+  (0.1ms) BEGIN
5336
+  (0.1ms) BEGIN
5337
+ --------------------------------------------------------------
5338
+ Easymon::ChecksControllerTest: test_show_when_the_check_passes
5339
+ --------------------------------------------------------------
5340
+ Processing by Easymon::ChecksController#show as HTML
5341
+ Parameters: {"check"=>"database"}
5342
+  (0.1ms) SELECT 1=1
5343
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.1ms)
5344
+  (0.1ms) ROLLBACK
5345
+  (0.1ms) ROLLBACK
5346
+  (0.1ms) BEGIN
5347
+  (0.1ms) BEGIN
5348
+ ----------------------------------------------------------------------------
5349
+ TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run
5350
+ ----------------------------------------------------------------------------
5351
+  (0.1ms) ROLLBACK
5352
+  (0.1ms) ROLLBACK
5353
+  (0.1ms) BEGIN
5354
+  (0.1ms) BEGIN
5355
+ ------------------------------------------------------------------------------
5356
+ TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run
5357
+ ------------------------------------------------------------------------------
5358
+  (0.1ms) ROLLBACK
5359
+  (0.1ms) ROLLBACK
5360
+  (0.1ms) BEGIN
5361
+  (0.1ms) BEGIN
5362
+ ----------------------------------------------------------------
5363
+ HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
5364
+ ----------------------------------------------------------------
5365
+  (0.1ms) ROLLBACK
5366
+  (0.1ms) ROLLBACK
5367
+  (0.1ms) BEGIN
5368
+  (0.1ms) BEGIN
5369
+ ------------------------------------------------------------------
5370
+ HttpCheckTest: test_#run_sets_success_conditions_on_successful_run
5371
+ ------------------------------------------------------------------
5372
+  (0.1ms) ROLLBACK
5373
+  (0.1ms) ROLLBACK
5374
+  (0.1ms) BEGIN
5375
+  (0.1ms) BEGIN
5376
+ --------------------------------------
5377
+ HttpCheckTest: test_given_nil_as_a_url
5378
+ --------------------------------------
5379
+  (0.1ms) ROLLBACK
5380
+  (0.1ms) ROLLBACK
5381
+  (0.1ms) BEGIN
5382
+  (0.1ms) BEGIN
5383
+ ---------------------------------------------------------------------
5384
+ ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass
5385
+ ---------------------------------------------------------------------
5386
+  (0.2ms) SELECT 1=1
5387
+ Dalli::Server#connect 127.0.0.1:11211
5388
+  (0.1ms) ROLLBACK
5389
+  (0.1ms) ROLLBACK
5390
+  (0.2ms) BEGIN
5391
+  (0.1ms) BEGIN
5392
+ ------------------------------------------------------------------------------------
5393
+ ChecklistTest: test_#response_status_returns_:service_unavailable_when_a_check_fails
5394
+ ------------------------------------------------------------------------------------
5395
+  (0.2ms) SELECT 1=1
5396
+  (0.1ms) ROLLBACK
5397
+  (0.1ms) ROLLBACK
5398
+  (0.1ms) BEGIN
5399
+  (0.1ms) BEGIN
5400
+ -----------------------------------------------------------------
5401
+ ChecklistTest: test_#success?_returns_false_when_results_is_empty
5402
+ -----------------------------------------------------------------
5403
+  (0.1ms) ROLLBACK
5404
+  (0.1ms) ROLLBACK
5405
+  (0.1ms) BEGIN
5406
+  (0.1ms) BEGIN
5407
+ ---------------------------------------------------------
5408
+ ChecklistTest: test_#timing_is_a_sum_of_all_check_results
5409
+ ---------------------------------------------------------
5410
+  (0.1ms) ROLLBACK
5411
+  (0.1ms) ROLLBACK
5412
+  (0.1ms) BEGIN
5413
+  (0.1ms) BEGIN
5414
+ -------------------------------------------------------------------------
5415
+ ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist
5416
+ -------------------------------------------------------------------------
5417
+  (0.1ms) SELECT 1=1
5418
+  (0.1ms) ROLLBACK
5419
+  (0.1ms) ROLLBACK
5420
+  (0.1ms) BEGIN
5421
+  (0.1ms) BEGIN
5422
+ ----------------------------------------------
5423
+ ChecklistTest: test_can_look_up_checks_by_name
5424
+ ----------------------------------------------
5425
+  (0.1ms) ROLLBACK
5426
+  (0.1ms) ROLLBACK
5427
+  (0.1ms) BEGIN
5428
+  (0.1ms) BEGIN
5429
+ ---------------------------------------------
5430
+ ChecklistTest: test_cat_fetch_a_check_by_name
5431
+ ---------------------------------------------
5432
+  (0.1ms) ROLLBACK
5433
+  (0.1ms) ROLLBACK
5434
+  (0.1ms) BEGIN
5435
+  (0.1ms) BEGIN
5436
+ -------------------------------------------------------------------
5437
+ ChecklistTest: test_it_knows_the_number_of_checks_in_the_Repository
5438
+ -------------------------------------------------------------------
5439
+  (0.1ms) ROLLBACK
5440
+  (0.1ms) ROLLBACK
5441
+  (0.1ms) BEGIN
5442
+  (0.1ms) BEGIN
5443
+ ------------------------------------------
5444
+ ChecklistTest: test_it_will_run_each_check
5445
+ ------------------------------------------
5446
+  (0.1ms) SELECT 1=1
5447
+  (0.1ms) ROLLBACK
5448
+  (0.1ms) ROLLBACK
5449
+  (0.1ms) BEGIN
5450
+  (0.1ms) BEGIN
5451
+ ---------------------------------------------------------------------
5452
+ SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
5453
+ ---------------------------------------------------------------------
5454
+  (0.1ms) ROLLBACK
5455
+  (0.1ms) ROLLBACK
5456
+  (0.1ms) BEGIN
5457
+  (0.1ms) BEGIN
5458
+ -----------------------------------------------------------------------
5459
+ SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run
5460
+ -----------------------------------------------------------------------
5461
+  (0.1ms) ROLLBACK
5462
+  (0.1ms) ROLLBACK
5463
+  (0.1ms) BEGIN
5464
+  (0.1ms) BEGIN
5465
+ ------------------------------------------------------------------------------
5466
+ RepositoryTest: test_adds_a_check_to_the_repository_for_the_critical_checklist
5467
+ ------------------------------------------------------------------------------
5468
+  (0.1ms) ROLLBACK
5469
+  (0.1ms) ROLLBACK
5470
+  (0.1ms) BEGIN
5471
+  (0.1ms) BEGIN
5472
+ --------------------------------------------------------------------------
5473
+ RepositoryTest: test_adds_checks_marked_critical_to_the_critical_checklist
5474
+ --------------------------------------------------------------------------
5475
+  (0.1ms) ROLLBACK
5476
+  (0.1ms) ROLLBACK
5477
+  (0.1ms) BEGIN
5478
+  (0.1ms) BEGIN
5479
+ --------------------------------------------
5480
+ RepositoryTest: test_fetches_a_check_by_name
5481
+ --------------------------------------------
5482
+  (0.1ms) ROLLBACK
5483
+  (0.1ms) ROLLBACK
5484
+  (0.1ms) BEGIN
5485
+  (0.1ms) BEGIN
5486
+ -----------------------------------------------------
5487
+ RepositoryTest: test_fetches_a_critical_check_by_name
5488
+ -----------------------------------------------------
5489
+  (0.1ms) ROLLBACK
5490
+  (0.1ms) ROLLBACK
5491
+  (0.1ms) BEGIN
5492
+  (0.1ms) BEGIN
5493
+ ---------------------------------------------------
5494
+ RepositoryTest: test_returns_a_checklist_when_asked
5495
+ ---------------------------------------------------
5496
+  (0.1ms) ROLLBACK
5497
+  (0.1ms) ROLLBACK
5498
+  (0.1ms) BEGIN
5499
+  (0.1ms) BEGIN
5500
+ ---------------------------------------------------------
5501
+ RepositoryTest: test_we_can_add_a_check_to_the_repository
5502
+ ---------------------------------------------------------
5503
+  (0.1ms) ROLLBACK
5504
+  (0.1ms) ROLLBACK
5505
+  (0.1ms) BEGIN
5506
+  (0.1ms) BEGIN
5507
+ --------------------------------------------------------------
5508
+ RepositoryTest: test_we_can_remove_a_check_from_the_repository
5509
+ --------------------------------------------------------------
5510
+  (0.1ms) ROLLBACK
5511
+  (0.1ms) ROLLBACK
5512
+  (0.1ms) BEGIN
5513
+  (0.1ms) BEGIN
5514
+ ---------------------------------------------------------------------
5515
+ MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
5516
+ ---------------------------------------------------------------------
5517
+  (0.1ms) ROLLBACK
5518
+  (0.1ms) ROLLBACK
5519
+  (0.1ms) BEGIN
5520
+  (0.1ms) BEGIN
5521
+ -----------------------------------------------------------------------
5522
+ MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run
5523
+ -----------------------------------------------------------------------
5524
+  (0.1ms) ROLLBACK
5525
+  (0.1ms) ROLLBACK
5526
+  (0.1ms) BEGIN
5527
+  (0.1ms) BEGIN
5528
+ ------------------------------------------------------------------
5529
+ MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers
5530
+ ------------------------------------------------------------------
5531
+  (0.1ms) ROLLBACK
5532
+  (0.1ms) ROLLBACK
5533
+  (0.1ms) BEGIN
5534
+  (0.1ms) BEGIN
5535
+ ---------------------------------------------------------
5536
+ MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache
5537
+ ---------------------------------------------------------
5538
+  (0.1ms) ROLLBACK
5539
+  (0.1ms) ROLLBACK
5540
+  (0.3ms) BEGIN
5541
+ -----------------------------------------------------------
5542
+ Easymon::ChecksControllerTest: test_index_returns_valid_xml
5543
+ -----------------------------------------------------------
5544
+ Processing by Easymon::ChecksController#index as XML
5545
+  (0.2ms) SELECT 1=1
5546
+ Rendered /Users/nathan/37s/apps/easymon/app/views/easymon/checks/index.xml.builder (4.9ms)
5547
+ Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.2ms)
5548
+  (0.2ms) ROLLBACK
5549
+  (0.1ms) BEGIN
5550
+ ---------------------------------------------------------------------
5551
+ Easymon::ChecksControllerTest: test_index_when_a_critical_check_fails
5552
+ ---------------------------------------------------------------------
5553
+ Processing by Easymon::ChecksController#index as HTML
5554
+ Completed 500 Internal Server Error in 1ms
5555
+  (0.2ms) ROLLBACK
5556
+  (0.1ms) BEGIN
5557
+ -------------------------------------------------------------------------
5558
+ Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails
5559
+ -------------------------------------------------------------------------
5560
+ Processing by Easymon::ChecksController#index as HTML
5561
+  (0.2ms) SELECT 1=1
5562
+ Completed 500 Internal Server Error in 1ms
5563
+  (0.2ms) ROLLBACK
5564
+  (0.1ms) BEGIN
5565
+ --------------------------------------------------------------
5566
+ Easymon::ChecksControllerTest: test_index_when_all_checks_pass
5567
+ --------------------------------------------------------------
5568
+ Processing by Easymon::ChecksController#index as HTML
5569
+  (0.2ms) SELECT 1=1
5570
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
5571
+  (0.1ms) ROLLBACK
5572
+  (0.1ms) BEGIN
5573
+ --------------------------------------------------------------------
5574
+ Easymon::ChecksControllerTest: test_index_when_no_checks_are_defined
5575
+ --------------------------------------------------------------------
5576
+ Processing by Easymon::ChecksController#index as HTML
5577
+ Completed 503 Service Unavailable in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
5578
+  (0.1ms) ROLLBACK
5579
+  (0.1ms) BEGIN
5580
+ ------------------------------------------------------------------
5581
+ Easymon::ChecksControllerTest: test_show_if_the_check_is_not_found
5582
+ ------------------------------------------------------------------
5583
+ Processing by Easymon::ChecksController#show as HTML
5584
+ Parameters: {"check"=>"database"}
5585
+ Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
5586
+  (0.2ms) ROLLBACK
5587
+  (0.1ms) BEGIN
5588
+ -------------------------------------------------------------
5589
+ Easymon::ChecksControllerTest: test_show_when_the_check_fails
5590
+ -------------------------------------------------------------
5591
+ Processing by Easymon::ChecksController#show as HTML
5592
+ Parameters: {"check"=>"database"}
5593
+ Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
5594
+  (0.1ms) ROLLBACK
5595
+  (0.1ms) BEGIN
5596
+ --------------------------------------------------------------
5597
+ Easymon::ChecksControllerTest: test_show_when_the_check_passes
5598
+ --------------------------------------------------------------
5599
+ Processing by Easymon::ChecksController#show as HTML
5600
+ Parameters: {"check"=>"database"}
5601
+  (0.2ms) SELECT 1=1
5602
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
5603
+  (0.1ms) ROLLBACK
5604
+  (0.2ms) BEGIN
5605
+ -----------------------------------------------------------
5606
+ Easymon::ChecksControllerTest: test_index_returns_valid_xml
5607
+ -----------------------------------------------------------
5608
+ Processing by Easymon::ChecksController#index as XML
5609
+  (0.2ms) SELECT 1=1
5610
+ Rendered /Users/nathan/37s/apps/easymon/app/views/easymon/checks/index.xml.builder (4.8ms)
5611
+ Completed 200 OK in 7ms (Views: 6.7ms | ActiveRecord: 0.2ms)
5612
+  (0.2ms) ROLLBACK
5613
+  (0.2ms) BEGIN
5614
+ ---------------------------------------------------------------------
5615
+ Easymon::ChecksControllerTest: test_index_when_a_critical_check_fails
5616
+ ---------------------------------------------------------------------
5617
+ Processing by Easymon::ChecksController#index as HTML
5618
+ Completed 503 Service Unavailable in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
5619
+  (0.2ms) ROLLBACK
5620
+  (0.1ms) BEGIN
5621
+ -------------------------------------------------------------------------
5622
+ Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails
5623
+ -------------------------------------------------------------------------
5624
+ Processing by Easymon::ChecksController#index as HTML
5625
+  (0.3ms) SELECT 1=1
5626
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.3ms)
5627
+  (0.2ms) ROLLBACK
5628
+  (0.1ms) BEGIN
5629
+ --------------------------------------------------------------
5630
+ Easymon::ChecksControllerTest: test_index_when_all_checks_pass
5631
+ --------------------------------------------------------------
5632
+ Processing by Easymon::ChecksController#index as HTML
5633
+  (0.2ms) SELECT 1=1
5634
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
5635
+  (0.1ms) ROLLBACK
5636
+  (0.1ms) BEGIN
5637
+ --------------------------------------------------------------------
5638
+ Easymon::ChecksControllerTest: test_index_when_no_checks_are_defined
5639
+ --------------------------------------------------------------------
5640
+ Processing by Easymon::ChecksController#index as HTML
5641
+ Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
5642
+  (0.2ms) ROLLBACK
5643
+  (0.1ms) BEGIN
5644
+ ------------------------------------------------------------------
5645
+ Easymon::ChecksControllerTest: test_show_if_the_check_is_not_found
5646
+ ------------------------------------------------------------------
5647
+ Processing by Easymon::ChecksController#show as HTML
5648
+ Parameters: {"check"=>"database"}
5649
+ Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
5650
+  (0.1ms) ROLLBACK
5651
+  (0.1ms) BEGIN
5652
+ -------------------------------------------------------------
5653
+ Easymon::ChecksControllerTest: test_show_when_the_check_fails
5654
+ -------------------------------------------------------------
5655
+ Processing by Easymon::ChecksController#show as HTML
5656
+ Parameters: {"check"=>"database"}
5657
+ Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
5658
+  (0.2ms) ROLLBACK
5659
+  (0.1ms) BEGIN
5660
+ --------------------------------------------------------------
5661
+ Easymon::ChecksControllerTest: test_show_when_the_check_passes
5662
+ --------------------------------------------------------------
5663
+ Processing by Easymon::ChecksController#show as HTML
5664
+ Parameters: {"check"=>"database"}
5665
+  (0.2ms) SELECT 1=1
5666
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
5667
+  (0.1ms) ROLLBACK
5668
+  (0.2ms) BEGIN
5669
+ -----------------------------------------------------------
5670
+ Easymon::ChecksControllerTest: test_index_returns_valid_xml
5671
+ -----------------------------------------------------------
5672
+ Processing by Easymon::ChecksController#index as XML
5673
+  (0.2ms) SELECT 1=1
5674
+ Rendered /Users/nathan/37s/apps/easymon/app/views/easymon/checks/index.xml.builder (4.8ms)
5675
+ Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.2ms)
5676
+  (0.2ms) ROLLBACK
5677
+  (0.2ms) BEGIN
5678
+ -----------------------------------------------------------
5679
+ Easymon::ChecksControllerTest: test_index_returns_valid_xml
5680
+ -----------------------------------------------------------
5681
+ Processing by Easymon::ChecksController#index as XML
5682
+  (0.2ms) SELECT 1=1
5683
+ Rendered /Users/nathan/37s/apps/easymon/app/views/easymon/checks/index.xml.builder (5.1ms)
5684
+ Completed 200 OK in 8ms (Views: 7.1ms | ActiveRecord: 0.2ms)
5685
+  (0.2ms) ROLLBACK
5686
+  (0.2ms) BEGIN
5687
+ -----------------------------------------------------------
5688
+ Easymon::ChecksControllerTest: test_index_returns_valid_xml
5689
+ -----------------------------------------------------------
5690
+ Processing by Easymon::ChecksController#index as XML
5691
+  (0.2ms) SELECT 1=1
5692
+ Rendered /Users/nathan/37s/apps/easymon/app/views/easymon/checks/index.xml.builder (4.9ms)
5693
+ Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.2ms)
5694
+  (0.2ms) ROLLBACK
5695
+  (0.2ms) BEGIN
5696
+ -----------------------------------------------------------
5697
+ Easymon::ChecksControllerTest: test_index_returns_valid_xml
5698
+ -----------------------------------------------------------
5699
+ Processing by Easymon::ChecksController#index as XML
5700
+  (0.2ms) SELECT 1=1
5701
+ Rendered /Users/nathan/37s/apps/easymon/app/views/easymon/checks/index.xml.builder (4.8ms)
5702
+ Completed 200 OK in 7ms (Views: 6.8ms | ActiveRecord: 0.2ms)
5703
+  (0.1ms) ROLLBACK
5704
+  (0.3ms) BEGIN
5705
+ -----------------------------------------------------------
5706
+ Easymon::ChecksControllerTest: test_index_returns_valid_xml
5707
+ -----------------------------------------------------------
5708
+ Processing by Easymon::ChecksController#index as XML
5709
+  (0.4ms) SELECT 1=1
5710
+ Rendered /Users/nathan/37s/apps/easymon/app/views/easymon/checks/index.xml.builder (5.1ms)
5711
+ Completed 200 OK in 8ms (Views: 7.1ms | ActiveRecord: 0.4ms)
5712
+  (0.2ms) ROLLBACK
5713
+  (0.3ms) BEGIN
5714
+ -----------------------------------------------------------
5715
+ Easymon::ChecksControllerTest: test_index_returns_valid_xml
5716
+ -----------------------------------------------------------
5717
+ Processing by Easymon::ChecksController#index as XML
5718
+  (0.3ms) SELECT 1=1
5719
+ Rendered /Users/nathan/37s/apps/easymon/app/views/easymon/checks/index.xml.builder (5.6ms)
5720
+ Completed 200 OK in 9ms (Views: 8.2ms | ActiveRecord: 0.3ms)
5721
+  (0.2ms) ROLLBACK
5722
+  (0.2ms) BEGIN
5723
+ -----------------------------------------------------------
5724
+ Easymon::ChecksControllerTest: test_index_returns_valid_xml
5725
+ -----------------------------------------------------------
5726
+ Processing by Easymon::ChecksController#index as XML
5727
+  (0.2ms) SELECT 1=1
5728
+ Rendered /Users/nathan/37s/apps/easymon/app/views/easymon/checks/index.xml.builder (4.9ms)
5729
+ Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.2ms)
5730
+  (0.2ms) ROLLBACK
5731
+  (0.2ms) BEGIN
5732
+ -----------------------------------------------------------
5733
+ Easymon::ChecksControllerTest: test_index_returns_valid_xml
5734
+ -----------------------------------------------------------
5735
+ Processing by Easymon::ChecksController#index as XML
5736
+  (0.2ms) SELECT 1=1
5737
+ Rendered /Users/nathan/37s/apps/easymon/app/views/easymon/checks/index.xml.builder (5.1ms)
5738
+ Completed 200 OK in 8ms (Views: 7.1ms | ActiveRecord: 0.2ms)
5739
+  (0.2ms) ROLLBACK
5740
+  (0.2ms) BEGIN
5741
+ -----------------------------------------------------------
5742
+ Easymon::ChecksControllerTest: test_index_returns_valid_xml
5743
+ -----------------------------------------------------------
5744
+ Processing by Easymon::ChecksController#index as XML
5745
+  (0.4ms) SELECT 1=1
5746
+ Rendered /Users/nathan/37s/apps/easymon/app/views/easymon/checks/index.xml.builder (6.4ms)
5747
+ Completed 200 OK in 10ms (Views: 9.4ms | ActiveRecord: 0.4ms)
5748
+  (0.2ms) ROLLBACK
5749
+  (0.1ms) BEGIN
5750
+ -----------------------------------------------------------
5751
+ Easymon::ChecksControllerTest: test_index_returns_valid_xml
5752
+ -----------------------------------------------------------
5753
+ Processing by Easymon::ChecksController#index as XML
5754
+  (0.2ms) SELECT 1=1
5755
+ Rendered /Users/nathan/37s/apps/easymon/app/views/easymon/checks/index.xml.builder (5.3ms)
5756
+ Completed 200 OK in 8ms (Views: 7.4ms | ActiveRecord: 0.2ms)
5757
+  (0.1ms) ROLLBACK
5758
+  (0.2ms) BEGIN
5759
+ -----------------------------------------------------------
5760
+ Easymon::ChecksControllerTest: test_index_returns_valid_xml
5761
+ -----------------------------------------------------------
5762
+ Processing by Easymon::ChecksController#index as XML
5763
+  (0.2ms) SELECT 1=1
5764
+ Rendered /Users/nathan/37s/apps/easymon/app/views/easymon/checks/index.xml.builder (5.0ms)
5765
+ Completed 200 OK in 8ms (Views: 7.3ms | ActiveRecord: 0.2ms)
5766
+  (0.2ms) ROLLBACK
5767
+  (0.2ms) BEGIN
5768
+ -----------------------------------------------------------
5769
+ Easymon::ChecksControllerTest: test_index_returns_valid_xml
5770
+ -----------------------------------------------------------
5771
+ Processing by Easymon::ChecksController#index as XML
5772
+  (0.2ms) SELECT 1=1
5773
+ Rendered /Users/nathan/37s/apps/easymon/app/views/easymon/checks/index.xml.builder (5.0ms)
5774
+ Completed 200 OK in 8ms (Views: 7.1ms | ActiveRecord: 0.2ms)
5775
+  (0.2ms) ROLLBACK
5776
+  (0.2ms) BEGIN
5777
+ -----------------------------------------------------------
5778
+ Easymon::ChecksControllerTest: test_index_returns_valid_xml
5779
+ -----------------------------------------------------------
5780
+ Processing by Easymon::ChecksController#index as XML
5781
+  (0.2ms) SELECT 1=1
5782
+ Rendered /Users/nathan/37s/apps/easymon/app/views/easymon/checks/index.xml.builder (4.9ms)
5783
+ Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.2ms)
5784
+  (0.2ms) ROLLBACK
5785
+  (0.2ms) BEGIN
5786
+ -----------------------------------------------------------
5787
+ Easymon::ChecksControllerTest: test_index_returns_valid_xml
5788
+ -----------------------------------------------------------
5789
+ Processing by Easymon::ChecksController#index as XML
5790
+  (0.2ms) SELECT 1=1
5791
+ Rendered /Users/nathan/37s/apps/easymon/app/views/easymon/checks/index.xml.builder (5.3ms)
5792
+ Completed 200 OK in 8ms (Views: 7.3ms | ActiveRecord: 0.2ms)
5793
+  (0.2ms) ROLLBACK
5794
+  (0.1ms) BEGIN
5795
+ -----------------------------------------------------------
5796
+ Easymon::ChecksControllerTest: test_index_returns_valid_xml
5797
+ -----------------------------------------------------------
5798
+ Processing by Easymon::ChecksController#index as XML
5799
+  (0.2ms) SELECT 1=1
5800
+ Rendered /Users/nathan/37s/apps/easymon/app/views/easymon/checks/index.xml.builder (4.8ms)
5801
+ Completed 200 OK in 7ms (Views: 6.8ms | ActiveRecord: 0.2ms)
5802
+  (0.1ms) ROLLBACK
5803
+  (0.2ms) BEGIN
5804
+ -----------------------------------------------------------
5805
+ Easymon::ChecksControllerTest: test_index_returns_valid_xml
5806
+ -----------------------------------------------------------
5807
+ Processing by Easymon::ChecksController#index as XML
5808
+  (0.2ms) SELECT 1=1
5809
+ Rendered /Users/nathan/37s/apps/easymon/app/views/easymon/checks/index.xml.builder (4.9ms)
5810
+ Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.2ms)
5811
+  (0.3ms) ROLLBACK
5812
+  (0.2ms) BEGIN
5813
+ -----------------------------------------------------------
5814
+ Easymon::ChecksControllerTest: test_index_returns_valid_xml
5815
+ -----------------------------------------------------------
5816
+ Processing by Easymon::ChecksController#index as XML
5817
+  (0.2ms) SELECT 1=1
5818
+ Rendered /Users/nathan/37s/apps/easymon/app/views/easymon/checks/index.xml.builder (5.0ms)
5819
+ Completed 200 OK in 8ms (Views: 7.1ms | ActiveRecord: 0.2ms)
5820
+  (0.2ms) ROLLBACK
5821
+  (0.2ms) BEGIN
5822
+ -----------------------------------------------------------
5823
+ Easymon::ChecksControllerTest: test_index_returns_valid_xml
5824
+ -----------------------------------------------------------
5825
+ Processing by Easymon::ChecksController#index as XML
5826
+  (0.3ms) SELECT 1=1
5827
+ Rendered /Users/nathan/37s/apps/easymon/app/views/easymon/checks/index.xml.builder (4.8ms)
5828
+ Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.3ms)
5829
+  (0.2ms) ROLLBACK
5830
+  (0.2ms) BEGIN
5831
+ -----------------------------------------------------------
5832
+ Easymon::ChecksControllerTest: test_index_returns_valid_xml
5833
+ -----------------------------------------------------------
5834
+ Processing by Easymon::ChecksController#index as XML
5835
+  (0.2ms) SELECT 1=1
5836
+ Rendered /Users/nathan/37s/apps/easymon/app/views/easymon/checks/index.xml.builder (7.4ms)
5837
+ Completed 200 OK in 10ms (Views: 9.4ms | ActiveRecord: 0.2ms)
5838
+  (0.2ms) ROLLBACK
5839
+  (0.2ms) BEGIN
5840
+ -----------------------------------------------------------
5841
+ Easymon::ChecksControllerTest: test_index_returns_valid_xml
5842
+ -----------------------------------------------------------
5843
+ Processing by Easymon::ChecksController#index as XML
5844
+  (0.4ms) SELECT 1=1
5845
+ Rendered /Users/nathan/37s/apps/easymon/app/views/easymon/checks/index.xml.builder (5.1ms)
5846
+ Completed 200 OK in 8ms (Views: 7.1ms | ActiveRecord: 0.4ms)
5847
+  (0.2ms) ROLLBACK
5848
+  (0.2ms) BEGIN
5849
+ -----------------------------------------------------------
5850
+ Easymon::ChecksControllerTest: test_index_returns_valid_xml
5851
+ -----------------------------------------------------------
5852
+ Processing by Easymon::ChecksController#index as XML
5853
+  (0.2ms) SELECT 1=1
5854
+ Rendered /Users/nathan/37s/apps/easymon/app/views/easymon/checks/index.xml.builder (4.8ms)
5855
+ Completed 200 OK in 7ms (Views: 6.8ms | ActiveRecord: 0.2ms)
5856
+  (0.2ms) ROLLBACK
5857
+  (0.2ms) BEGIN
5858
+ -----------------------------------------------------------
5859
+ Easymon::ChecksControllerTest: test_index_returns_valid_xml
5860
+ -----------------------------------------------------------
5861
+ Processing by Easymon::ChecksController#index as XML
5862
+  (0.2ms) SELECT 1=1
5863
+ Rendered /Users/nathan/37s/apps/easymon/app/views/easymon/checks/index.xml.builder (4.9ms)
5864
+ Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.2ms)
5865
+  (0.2ms) ROLLBACK
5866
+  (0.2ms) BEGIN
5867
+ -----------------------------------------------------------
5868
+ Easymon::ChecksControllerTest: test_index_returns_valid_xml
5869
+ -----------------------------------------------------------
5870
+ Processing by Easymon::ChecksController#index as XML
5871
+  (0.2ms) SELECT 1=1
5872
+ Rendered /Users/nathan/37s/apps/easymon/app/views/easymon/checks/index.xml.builder (5.1ms)
5873
+ Completed 200 OK in 8ms (Views: 7.3ms | ActiveRecord: 0.2ms)
5874
+  (0.2ms) ROLLBACK
5875
+  (0.2ms) BEGIN
5876
+ -----------------------------------------------------------
5877
+ Easymon::ChecksControllerTest: test_index_returns_valid_xml
5878
+ -----------------------------------------------------------
5879
+ Processing by Easymon::ChecksController#index as XML
5880
+  (0.2ms) SELECT 1=1
5881
+ Rendered /Users/nathan/37s/apps/easymon/app/views/easymon/checks/index.xml.builder (4.9ms)
5882
+ Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.2ms)
5883
+  (0.2ms) ROLLBACK
5884
+  (0.2ms) BEGIN
5885
+ ------------------------------------------------------------
5886
+ Easymon::ChecksControllerTest: test_index_returns_valid_json
5887
+ ------------------------------------------------------------
5888
+ Processing by Easymon::ChecksController#index as JSON
5889
+  (0.2ms) SELECT 1=1
5890
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
5891
+  (0.2ms) ROLLBACK
5892
+  (0.2ms) BEGIN
5893
+ ------------------------------------------------------------
5894
+ Easymon::ChecksControllerTest: test_index_returns_valid_json
5895
+ ------------------------------------------------------------
5896
+ Processing by Easymon::ChecksController#index as JSON
5897
+  (0.3ms) SELECT 1=1
5898
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.3ms)
5899
+  (0.1ms) ROLLBACK
5900
+  (0.3ms) BEGIN
5901
+ ------------------------------------------------------------
5902
+ Easymon::ChecksControllerTest: test_index_returns_valid_json
5903
+ ------------------------------------------------------------
5904
+ Processing by Easymon::ChecksController#index as JSON
5905
+  (0.2ms) SELECT 1=1
5906
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
5907
+  (0.2ms) ROLLBACK
5908
+  (0.2ms) BEGIN
5909
+ ---------------------------------------------------------------------
5910
+ MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
5911
+ ---------------------------------------------------------------------
5912
+  (0.1ms) ROLLBACK
5913
+  (0.1ms) BEGIN
5914
+ -----------------------------------------------------------------------
5915
+ MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run
5916
+ -----------------------------------------------------------------------
5917
+ Dalli::Server#connect 127.0.0.1:11211
5918
+  (0.1ms) ROLLBACK
5919
+  (0.1ms) BEGIN
5920
+ ------------------------------------------------------------------
5921
+ MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers
5922
+ ------------------------------------------------------------------
5923
+  (0.1ms) ROLLBACK
5924
+  (0.1ms) BEGIN
5925
+ ---------------------------------------------------------
5926
+ MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache
5927
+ ---------------------------------------------------------
5928
+  (0.1ms) ROLLBACK
5929
+  (0.1ms) BEGIN
5930
+ --------------------------------------------------------------------------
5931
+ ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run
5932
+ --------------------------------------------------------------------------
5933
+  (0.1ms) ROLLBACK
5934
+  (0.1ms) BEGIN
5935
+ ----------------------------------------------------------------------------
5936
+ ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run
5937
+ ----------------------------------------------------------------------------
5938
+  (0.2ms) SELECT 1=1
5939
+  (0.1ms) ROLLBACK
5940
+  (0.1ms) BEGIN
5941
+ -------------------------------------------------
5942
+ ActiveRecordCheckTest: test_given_nil_as_a_config
5943
+ -------------------------------------------------
5944
+  (0.1ms) ROLLBACK
5945
+  (0.1ms) BEGIN
5946
+ ----------------------------------------------------------------
5947
+ HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
5948
+ ----------------------------------------------------------------
5949
+  (0.1ms) ROLLBACK
5950
+  (0.1ms) BEGIN
5951
+ ------------------------------------------------------------------
5952
+ HttpCheckTest: test_#run_sets_success_conditions_on_successful_run
5953
+ ------------------------------------------------------------------
5954
+  (0.1ms) ROLLBACK
5955
+  (0.1ms) BEGIN
5956
+ --------------------------------------
5957
+ HttpCheckTest: test_given_nil_as_a_url
5958
+ --------------------------------------
5959
+  (0.1ms) ROLLBACK
5960
+  (0.1ms) BEGIN
5961
+ ---------------------------------------------------------------------
5962
+ SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
5963
+ ---------------------------------------------------------------------
5964
+  (0.1ms) ROLLBACK
5965
+  (0.1ms) BEGIN
5966
+ -----------------------------------------------------------------------
5967
+ SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run
5968
+ -----------------------------------------------------------------------
5969
+  (0.1ms) ROLLBACK
5970
+  (0.1ms) BEGIN
5971
+ -----------------------------------------------------------------
5972
+ RedisCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
5973
+ -----------------------------------------------------------------
5974
+  (0.1ms) ROLLBACK
5975
+  (0.1ms) BEGIN
5976
+ -------------------------------------------------------------------
5977
+ RedisCheckTest: test_#run_sets_success_conditions_on_successful_run
5978
+ -------------------------------------------------------------------
5979
+  (0.1ms) ROLLBACK
5980
+  (0.1ms) BEGIN
5981
+ ------------------------------------------
5982
+ RedisCheckTest: test_given_nil_as_a_config
5983
+ ------------------------------------------
5984
+  (0.1ms) ROLLBACK
5985
+  (0.1ms) BEGIN
5986
+ ---------------------------------------------------------------------
5987
+ ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass
5988
+ ---------------------------------------------------------------------
5989
+  (0.2ms) SELECT 1=1
5990
+  (0.1ms) ROLLBACK
5991
+  (0.1ms) BEGIN
5992
+ ------------------------------------------------------------------------------------
5993
+ ChecklistTest: test_#response_status_returns_:service_unavailable_when_a_check_fails
5994
+ ------------------------------------------------------------------------------------
5995
+  (0.2ms) SELECT 1=1
5996
+  (0.1ms) ROLLBACK
5997
+  (0.1ms) BEGIN
5998
+ -----------------------------------------------------------------
5999
+ ChecklistTest: test_#success?_returns_false_when_results_is_empty
6000
+ -----------------------------------------------------------------
6001
+  (0.1ms) ROLLBACK
6002
+  (0.1ms) BEGIN
6003
+ ---------------------------------------------------------
6004
+ ChecklistTest: test_#timing_is_a_sum_of_all_check_results
6005
+ ---------------------------------------------------------
6006
+  (0.1ms) ROLLBACK
6007
+  (0.1ms) BEGIN
6008
+ -------------------------------------------------------------------------
6009
+ ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist
6010
+ -------------------------------------------------------------------------
6011
+  (0.1ms) SELECT 1=1
6012
+  (0.1ms) ROLLBACK
6013
+  (0.1ms) BEGIN
6014
+ ----------------------------------------------
6015
+ ChecklistTest: test_can_look_up_checks_by_name
6016
+ ----------------------------------------------
6017
+  (0.1ms) ROLLBACK
6018
+  (0.1ms) BEGIN
6019
+ ---------------------------------------------
6020
+ ChecklistTest: test_cat_fetch_a_check_by_name
6021
+ ---------------------------------------------
6022
+  (0.1ms) ROLLBACK
6023
+  (0.1ms) BEGIN
6024
+ -------------------------------------------------------------------
6025
+ ChecklistTest: test_it_knows_the_number_of_checks_in_the_Repository
6026
+ -------------------------------------------------------------------
6027
+  (0.1ms) ROLLBACK
6028
+  (0.1ms) BEGIN
6029
+ ------------------------------------------
6030
+ ChecklistTest: test_it_will_run_each_check
6031
+ ------------------------------------------
6032
+  (0.1ms) SELECT 1=1
6033
+  (0.1ms) ROLLBACK
6034
+  (0.1ms) BEGIN
6035
+ --------------------------------------------------------------------------------
6036
+ SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down
6037
+ --------------------------------------------------------------------------------
6038
+  (0.2ms) SELECT 1=1
6039
+  (0.1ms) ROLLBACK
6040
+  (0.1ms) BEGIN
6041
+  (0.1ms) BEGIN
6042
+ -------------------------------------------------------------------------------
6043
+ SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down
6044
+ -------------------------------------------------------------------------------
6045
+  (0.1ms) SELECT 1=1
6046
+  (0.1ms) ROLLBACK
6047
+  (0.1ms) BEGIN
6048
+  (0.1ms) BEGIN
6049
+ -------------------------------------------------------------------------------
6050
+ SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run
6051
+ -------------------------------------------------------------------------------
6052
+  (0.1ms) SELECT 1=1
6053
+  (0.1ms) SELECT 1=1
6054
+  (0.1ms) ROLLBACK
6055
+  (0.1ms) BEGIN
6056
+  (0.1ms) BEGIN
6057
+ ------------------------------------------------------
6058
+ SplitActiveRecordCheckTest: test_given_nil_as_a_config
6059
+ ------------------------------------------------------
6060
+  (0.1ms) ROLLBACK
6061
+  (0.1ms) ROLLBACK
6062
+  (0.1ms) BEGIN
6063
+  (0.1ms) BEGIN
6064
+ ------------------------------------------------------------
6065
+ Easymon::ChecksControllerTest: test_index_returns_valid_json
6066
+ ------------------------------------------------------------
6067
+ Processing by Easymon::ChecksController#index as JSON
6068
+  (0.2ms) SELECT 1=1
6069
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
6070
+  (0.2ms) ROLLBACK
6071
+  (0.1ms) ROLLBACK
6072
+  (0.1ms) BEGIN
6073
+  (0.1ms) BEGIN
6074
+ -----------------------------------------------------------
6075
+ Easymon::ChecksControllerTest: test_index_returns_valid_xml
6076
+ -----------------------------------------------------------
6077
+ Processing by Easymon::ChecksController#index as XML
6078
+  (0.2ms) SELECT 1=1
6079
+ Completed 200 OK in 13ms (Views: 11.9ms | ActiveRecord: 0.2ms)
6080
+  (0.2ms) ROLLBACK
6081
+  (0.2ms) ROLLBACK
6082
+  (0.1ms) BEGIN
6083
+  (0.1ms) BEGIN
6084
+ ---------------------------------------------------------------------
6085
+ Easymon::ChecksControllerTest: test_index_when_a_critical_check_fails
6086
+ ---------------------------------------------------------------------
6087
+ Processing by Easymon::ChecksController#index as HTML
6088
+ Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
6089
+  (0.1ms) ROLLBACK
6090
+  (0.1ms) ROLLBACK
6091
+  (0.1ms) BEGIN
6092
+  (0.1ms) BEGIN
6093
+ -------------------------------------------------------------------------
6094
+ Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails
6095
+ -------------------------------------------------------------------------
6096
+ Processing by Easymon::ChecksController#index as HTML
6097
+  (0.2ms) SELECT 1=1
6098
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
6099
+  (0.1ms) ROLLBACK
6100
+  (0.1ms) ROLLBACK
6101
+  (0.2ms) BEGIN
6102
+  (0.1ms) BEGIN
6103
+ --------------------------------------------------------------
6104
+ Easymon::ChecksControllerTest: test_index_when_all_checks_pass
6105
+ --------------------------------------------------------------
6106
+ Processing by Easymon::ChecksController#index as HTML
6107
+  (0.2ms) SELECT 1=1
6108
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
6109
+  (0.1ms) ROLLBACK
6110
+  (0.1ms) ROLLBACK
6111
+  (0.1ms) BEGIN
6112
+  (0.1ms) BEGIN
6113
+ --------------------------------------------------------------------
6114
+ Easymon::ChecksControllerTest: test_index_when_no_checks_are_defined
6115
+ --------------------------------------------------------------------
6116
+ Processing by Easymon::ChecksController#index as HTML
6117
+ Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
6118
+  (0.1ms) ROLLBACK
6119
+  (0.1ms) ROLLBACK
6120
+  (0.1ms) BEGIN
6121
+  (0.1ms) BEGIN
6122
+ ------------------------------------------------------------------
6123
+ Easymon::ChecksControllerTest: test_show_if_the_check_is_not_found
6124
+ ------------------------------------------------------------------
6125
+ Processing by Easymon::ChecksController#show as HTML
6126
+ Parameters: {"check"=>"database"}
6127
+ Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
6128
+  (0.1ms) ROLLBACK
6129
+  (0.1ms) ROLLBACK
6130
+  (0.1ms) BEGIN
6131
+  (0.1ms) BEGIN
6132
+ -------------------------------------------------------------
6133
+ Easymon::ChecksControllerTest: test_show_when_the_check_fails
6134
+ -------------------------------------------------------------
6135
+ Processing by Easymon::ChecksController#show as HTML
6136
+ Parameters: {"check"=>"database"}
6137
+ Completed 503 Service Unavailable in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
6138
+  (0.2ms) ROLLBACK
6139
+  (0.2ms) ROLLBACK
6140
+  (0.1ms) BEGIN
6141
+  (0.1ms) BEGIN
6142
+ --------------------------------------------------------------
6143
+ Easymon::ChecksControllerTest: test_show_when_the_check_passes
6144
+ --------------------------------------------------------------
6145
+ Processing by Easymon::ChecksController#show as HTML
6146
+ Parameters: {"check"=>"database"}
6147
+  (0.2ms) SELECT 1=1
6148
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
6149
+  (0.1ms) ROLLBACK
6150
+  (0.2ms) ROLLBACK
6151
+  (0.1ms) BEGIN
6152
+  (0.1ms) BEGIN
6153
+ ------------------------------------------------------------------------------
6154
+ RepositoryTest: test_adds_a_check_to_the_repository_for_the_critical_checklist
6155
+ ------------------------------------------------------------------------------
6156
+  (0.1ms) ROLLBACK
6157
+  (0.1ms) ROLLBACK
6158
+  (0.1ms) BEGIN
6159
+  (0.1ms) BEGIN
6160
+ --------------------------------------------------------------------------
6161
+ RepositoryTest: test_adds_checks_marked_critical_to_the_critical_checklist
6162
+ --------------------------------------------------------------------------
6163
+  (0.1ms) ROLLBACK
6164
+  (0.1ms) ROLLBACK
6165
+  (0.1ms) BEGIN
6166
+  (0.1ms) BEGIN
6167
+ --------------------------------------------
6168
+ RepositoryTest: test_fetches_a_check_by_name
6169
+ --------------------------------------------
6170
+  (0.1ms) ROLLBACK
6171
+  (0.2ms) ROLLBACK
6172
+  (0.1ms) BEGIN
6173
+  (0.1ms) BEGIN
6174
+ -----------------------------------------------------
6175
+ RepositoryTest: test_fetches_a_critical_check_by_name
6176
+ -----------------------------------------------------
6177
+  (0.1ms) ROLLBACK
6178
+  (0.1ms) ROLLBACK
6179
+  (0.1ms) BEGIN
6180
+  (0.1ms) BEGIN
6181
+ ---------------------------------------------------
6182
+ RepositoryTest: test_returns_a_checklist_when_asked
6183
+ ---------------------------------------------------
6184
+  (0.1ms) ROLLBACK
6185
+  (0.1ms) ROLLBACK
6186
+  (0.1ms) BEGIN
6187
+  (0.1ms) BEGIN
6188
+ ---------------------------------------------------------
6189
+ RepositoryTest: test_we_can_add_a_check_to_the_repository
6190
+ ---------------------------------------------------------
6191
+  (0.1ms) ROLLBACK
6192
+  (0.1ms) ROLLBACK
6193
+  (0.1ms) BEGIN
6194
+  (0.1ms) BEGIN
6195
+ --------------------------------------------------------------
6196
+ RepositoryTest: test_we_can_remove_a_check_from_the_repository
6197
+ --------------------------------------------------------------
6198
+  (0.1ms) ROLLBACK
6199
+  (0.1ms) ROLLBACK
6200
+  (0.1ms) BEGIN
6201
+  (0.1ms) BEGIN
6202
+ ----------------------------------------------------------------------------
6203
+ TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run
6204
+ ----------------------------------------------------------------------------
6205
+  (0.1ms) ROLLBACK
6206
+  (0.1ms) ROLLBACK
6207
+  (0.1ms) BEGIN
6208
+  (0.1ms) BEGIN
6209
+ ------------------------------------------------------------------------------
6210
+ TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run
6211
+ ------------------------------------------------------------------------------
6212
+  (0.1ms) ROLLBACK
6213
+  (0.1ms) ROLLBACK
6214
+  (0.2ms) BEGIN
6215
+ -----------------------------------------------------------------
6216
+ RedisCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
6217
+ -----------------------------------------------------------------
6218
+  (0.2ms) ROLLBACK
6219
+  (0.1ms) BEGIN
6220
+ -------------------------------------------------------------------
6221
+ RedisCheckTest: test_#run_sets_success_conditions_on_successful_run
6222
+ -------------------------------------------------------------------
6223
+  (0.1ms) ROLLBACK
6224
+  (0.1ms) BEGIN
6225
+ ------------------------------------------
6226
+ RedisCheckTest: test_given_nil_as_a_config
6227
+ ------------------------------------------
6228
+  (0.1ms) ROLLBACK
6229
+  (0.1ms) BEGIN
6230
+ ---------------------------------------------------------------------
6231
+ MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
6232
+ ---------------------------------------------------------------------
6233
+  (0.1ms) ROLLBACK
6234
+  (0.1ms) BEGIN
6235
+ -----------------------------------------------------------------------
6236
+ MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run
6237
+ -----------------------------------------------------------------------
6238
+ Dalli::Server#connect 127.0.0.1:11211
6239
+  (0.1ms) ROLLBACK
6240
+  (0.1ms) BEGIN
6241
+ ------------------------------------------------------------------
6242
+ MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers
6243
+ ------------------------------------------------------------------
6244
+  (0.1ms) ROLLBACK
6245
+  (0.1ms) BEGIN
6246
+ ---------------------------------------------------------
6247
+ MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache
6248
+ ---------------------------------------------------------
6249
+  (0.1ms) ROLLBACK
6250
+  (0.1ms) BEGIN
6251
+ ------------------------------------------------------------
6252
+ Easymon::ChecksControllerTest: test_index_returns_valid_json
6253
+ ------------------------------------------------------------
6254
+ Processing by Easymon::ChecksController#index as JSON
6255
+  (0.2ms) SELECT 1=1
6256
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
6257
+  (0.1ms) ROLLBACK
6258
+  (0.1ms) BEGIN
6259
+ -----------------------------------------------------------
6260
+ Easymon::ChecksControllerTest: test_index_returns_valid_xml
6261
+ -----------------------------------------------------------
6262
+ Processing by Easymon::ChecksController#index as XML
6263
+  (0.2ms) SELECT 1=1
6264
+ Completed 200 OK in 10ms (Views: 9.7ms | ActiveRecord: 0.2ms)
6265
+  (0.3ms) ROLLBACK
6266
+  (0.3ms) BEGIN
6267
+ ---------------------------------------------------------------------
6268
+ Easymon::ChecksControllerTest: test_index_when_a_critical_check_fails
6269
+ ---------------------------------------------------------------------
6270
+ Processing by Easymon::ChecksController#index as HTML
6271
+ Completed 503 Service Unavailable in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
6272
+  (0.2ms) ROLLBACK
6273
+  (0.2ms) BEGIN
6274
+ -------------------------------------------------------------------------
6275
+ Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails
6276
+ -------------------------------------------------------------------------
6277
+ Processing by Easymon::ChecksController#index as HTML
6278
+  (0.2ms) SELECT 1=1
6279
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
6280
+  (0.1ms) ROLLBACK
6281
+  (0.1ms) BEGIN
6282
+ --------------------------------------------------------------
6283
+ Easymon::ChecksControllerTest: test_index_when_all_checks_pass
6284
+ --------------------------------------------------------------
6285
+ Processing by Easymon::ChecksController#index as HTML
6286
+  (0.2ms) SELECT 1=1
6287
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
6288
+  (0.1ms) ROLLBACK
6289
+  (0.1ms) BEGIN
6290
+ --------------------------------------------------------------------
6291
+ Easymon::ChecksControllerTest: test_index_when_no_checks_are_defined
6292
+ --------------------------------------------------------------------
6293
+ Processing by Easymon::ChecksController#index as HTML
6294
+ Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
6295
+  (0.1ms) ROLLBACK
6296
+  (0.1ms) BEGIN
6297
+ ------------------------------------------------------------------
6298
+ Easymon::ChecksControllerTest: test_show_if_the_check_is_not_found
6299
+ ------------------------------------------------------------------
6300
+ Processing by Easymon::ChecksController#show as HTML
6301
+ Parameters: {"check"=>"database"}
6302
+ Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
6303
+  (0.1ms) ROLLBACK
6304
+  (0.1ms) BEGIN
6305
+ -------------------------------------------------------------------
6306
+ Easymon::ChecksControllerTest: test_show_json_when_the_check_passes
6307
+ -------------------------------------------------------------------
6308
+ Processing by Easymon::ChecksController#show as JSON
6309
+ Parameters: {"check"=>"database"}
6310
+  (0.1ms) SELECT 1=1
6311
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
6312
+  (0.1ms) ROLLBACK
6313
+  (0.1ms) BEGIN
6314
+ -------------------------------------------------------------
6315
+ Easymon::ChecksControllerTest: test_show_when_the_check_fails
6316
+ -------------------------------------------------------------
6317
+ Processing by Easymon::ChecksController#show as HTML
6318
+ Parameters: {"check"=>"database"}
6319
+ Completed 503 Service Unavailable in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
6320
+  (0.2ms) ROLLBACK
6321
+  (0.1ms) BEGIN
6322
+ --------------------------------------------------------------
6323
+ Easymon::ChecksControllerTest: test_show_when_the_check_passes
6324
+ --------------------------------------------------------------
6325
+ Processing by Easymon::ChecksController#show as HTML
6326
+ Parameters: {"check"=>"database"}
6327
+  (0.1ms) SELECT 1=1
6328
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
6329
+  (0.1ms) ROLLBACK
6330
+  (0.1ms) BEGIN
6331
+ --------------------------------------------------------------------------------
6332
+ SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down
6333
+ --------------------------------------------------------------------------------
6334
+  (0.1ms) SELECT 1=1
6335
+  (0.1ms) ROLLBACK
6336
+  (0.1ms) BEGIN
6337
+  (0.1ms) BEGIN
6338
+ -------------------------------------------------------------------------------
6339
+ SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down
6340
+ -------------------------------------------------------------------------------
6341
+  (0.5ms) SELECT 1=1
6342
+  (0.2ms) ROLLBACK
6343
+  (0.2ms) BEGIN
6344
+  (0.2ms) BEGIN
6345
+ -------------------------------------------------------------------------------
6346
+ SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run
6347
+ -------------------------------------------------------------------------------
6348
+  (0.1ms) SELECT 1=1
6349
+  (0.1ms) SELECT 1=1
6350
+  (0.1ms) ROLLBACK
6351
+  (0.1ms) BEGIN
6352
+  (0.1ms) BEGIN
6353
+ ------------------------------------------------------
6354
+ SplitActiveRecordCheckTest: test_given_nil_as_a_config
6355
+ ------------------------------------------------------
6356
+  (0.1ms) ROLLBACK
6357
+  (0.1ms) ROLLBACK
6358
+  (0.1ms) BEGIN
6359
+  (0.1ms) BEGIN
6360
+ --------------------------------------------------------------------------
6361
+ ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run
6362
+ --------------------------------------------------------------------------
6363
+  (0.1ms) ROLLBACK
6364
+  (0.1ms) ROLLBACK
6365
+  (0.1ms) BEGIN
6366
+  (0.1ms) BEGIN
6367
+ ----------------------------------------------------------------------------
6368
+ ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run
6369
+ ----------------------------------------------------------------------------
6370
+  (0.1ms) SELECT 1=1
6371
+  (0.1ms) ROLLBACK
6372
+  (0.1ms) ROLLBACK
6373
+  (0.1ms) BEGIN
6374
+  (0.1ms) BEGIN
6375
+ -------------------------------------------------
6376
+ ActiveRecordCheckTest: test_given_nil_as_a_config
6377
+ -------------------------------------------------
6378
+  (0.1ms) ROLLBACK
6379
+  (0.1ms) ROLLBACK
6380
+  (0.1ms) BEGIN
6381
+  (0.1ms) BEGIN
6382
+ ----------------------------------------------------------------
6383
+ HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
6384
+ ----------------------------------------------------------------
6385
+  (0.1ms) ROLLBACK
6386
+  (0.1ms) ROLLBACK
6387
+  (0.1ms) BEGIN
6388
+  (0.1ms) BEGIN
6389
+ ------------------------------------------------------------------
6390
+ HttpCheckTest: test_#run_sets_success_conditions_on_successful_run
6391
+ ------------------------------------------------------------------
6392
+  (0.1ms) ROLLBACK
6393
+  (0.1ms) ROLLBACK
6394
+  (0.1ms) BEGIN
6395
+  (0.1ms) BEGIN
6396
+ --------------------------------------
6397
+ HttpCheckTest: test_given_nil_as_a_url
6398
+ --------------------------------------
6399
+  (0.1ms) ROLLBACK
6400
+  (0.1ms) ROLLBACK
6401
+  (0.1ms) BEGIN
6402
+  (0.1ms) BEGIN
6403
+ ---------------------------------------------------------------------
6404
+ SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
6405
+ ---------------------------------------------------------------------
6406
+  (0.1ms) ROLLBACK
6407
+  (0.1ms) ROLLBACK
6408
+  (0.1ms) BEGIN
6409
+  (0.1ms) BEGIN
6410
+ -----------------------------------------------------------------------
6411
+ SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run
6412
+ -----------------------------------------------------------------------
6413
+  (0.1ms) ROLLBACK
6414
+  (0.1ms) ROLLBACK
6415
+  (0.1ms) BEGIN
6416
+  (0.1ms) BEGIN
6417
+ ----------------------------------------------------------------------------
6418
+ TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run
6419
+ ----------------------------------------------------------------------------
6420
+  (0.1ms) ROLLBACK
6421
+  (0.1ms) ROLLBACK
6422
+  (0.1ms) BEGIN
6423
+  (0.1ms) BEGIN
6424
+ ------------------------------------------------------------------------------
6425
+ TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run
6426
+ ------------------------------------------------------------------------------
6427
+  (0.1ms) ROLLBACK
6428
+  (0.1ms) ROLLBACK
6429
+  (0.1ms) BEGIN
6430
+  (0.1ms) BEGIN
6431
+ ---------------------------------------------------------------------
6432
+ ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass
6433
+ ---------------------------------------------------------------------
6434
+  (0.1ms) SELECT 1=1
6435
+  (0.1ms) ROLLBACK
6436
+  (0.1ms) ROLLBACK
6437
+  (0.1ms) BEGIN
6438
+  (0.1ms) BEGIN
6439
+ ------------------------------------------------------------------------------------
6440
+ ChecklistTest: test_#response_status_returns_:service_unavailable_when_a_check_fails
6441
+ ------------------------------------------------------------------------------------
6442
+  (0.2ms) SELECT 1=1
6443
+  (0.1ms) ROLLBACK
6444
+  (0.1ms) ROLLBACK
6445
+  (0.1ms) BEGIN
6446
+  (0.1ms) BEGIN
6447
+ -----------------------------------------------------------------
6448
+ ChecklistTest: test_#success?_returns_false_when_results_is_empty
6449
+ -----------------------------------------------------------------
6450
+  (0.1ms) ROLLBACK
6451
+  (0.1ms) ROLLBACK
6452
+  (0.1ms) BEGIN
6453
+  (0.1ms) BEGIN
6454
+ ---------------------------------------------------------
6455
+ ChecklistTest: test_#timing_is_a_sum_of_all_check_results
6456
+ ---------------------------------------------------------
6457
+  (0.1ms) ROLLBACK
6458
+  (0.1ms) ROLLBACK
6459
+  (0.1ms) BEGIN
6460
+  (0.1ms) BEGIN
6461
+ -------------------------------------------------------------------------
6462
+ ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist
6463
+ -------------------------------------------------------------------------
6464
+  (0.2ms) SELECT 1=1
6465
+  (0.1ms) ROLLBACK
6466
+  (0.1ms) ROLLBACK
6467
+  (0.1ms) BEGIN
6468
+  (0.1ms) BEGIN
6469
+ ----------------------------------------------
6470
+ ChecklistTest: test_can_look_up_checks_by_name
6471
+ ----------------------------------------------
6472
+  (0.1ms) ROLLBACK
6473
+  (0.1ms) ROLLBACK
6474
+  (0.1ms) BEGIN
6475
+  (0.1ms) BEGIN
6476
+ ---------------------------------------------
6477
+ ChecklistTest: test_cat_fetch_a_check_by_name
6478
+ ---------------------------------------------
6479
+  (0.1ms) ROLLBACK
6480
+  (0.1ms) ROLLBACK
6481
+  (0.1ms) BEGIN
6482
+  (0.1ms) BEGIN
6483
+ -------------------------------------------------------------------
6484
+ ChecklistTest: test_it_knows_the_number_of_checks_in_the_Repository
6485
+ -------------------------------------------------------------------
6486
+  (0.1ms) ROLLBACK
6487
+  (0.1ms) ROLLBACK
6488
+  (0.1ms) BEGIN
6489
+  (0.1ms) BEGIN
6490
+ ------------------------------------------
6491
+ ChecklistTest: test_it_will_run_each_check
6492
+ ------------------------------------------
6493
+  (0.1ms) SELECT 1=1
6494
+  (0.1ms) ROLLBACK
6495
+  (0.1ms) ROLLBACK
6496
+  (0.1ms) BEGIN
6497
+  (0.1ms) BEGIN
6498
+ ------------------------------------------------------------------------------
6499
+ RepositoryTest: test_adds_a_check_to_the_repository_for_the_critical_checklist
6500
+ ------------------------------------------------------------------------------
6501
+  (0.1ms) ROLLBACK
6502
+  (0.1ms) ROLLBACK
6503
+  (0.1ms) BEGIN
6504
+  (0.1ms) BEGIN
6505
+ --------------------------------------------------------------------------
6506
+ RepositoryTest: test_adds_checks_marked_critical_to_the_critical_checklist
6507
+ --------------------------------------------------------------------------
6508
+  (0.1ms) ROLLBACK
6509
+  (0.1ms) ROLLBACK
6510
+  (0.1ms) BEGIN
6511
+  (0.1ms) BEGIN
6512
+ --------------------------------------------
6513
+ RepositoryTest: test_fetches_a_check_by_name
6514
+ --------------------------------------------
6515
+  (0.1ms) ROLLBACK
6516
+  (0.1ms) ROLLBACK
6517
+  (0.1ms) BEGIN
6518
+  (0.1ms) BEGIN
6519
+ -----------------------------------------------------
6520
+ RepositoryTest: test_fetches_a_critical_check_by_name
6521
+ -----------------------------------------------------
6522
+  (0.1ms) ROLLBACK
6523
+  (0.1ms) ROLLBACK
6524
+  (0.1ms) BEGIN
6525
+  (0.1ms) BEGIN
6526
+ ---------------------------------------------------
6527
+ RepositoryTest: test_returns_a_checklist_when_asked
6528
+ ---------------------------------------------------
6529
+  (0.1ms) ROLLBACK
6530
+  (0.1ms) ROLLBACK
6531
+  (0.1ms) BEGIN
6532
+  (0.1ms) BEGIN
6533
+ ---------------------------------------------------------
6534
+ RepositoryTest: test_we_can_add_a_check_to_the_repository
6535
+ ---------------------------------------------------------
6536
+  (0.1ms) ROLLBACK
6537
+  (0.1ms) ROLLBACK
6538
+  (0.1ms) BEGIN
6539
+  (0.1ms) BEGIN
6540
+ --------------------------------------------------------------
6541
+ RepositoryTest: test_we_can_remove_a_check_from_the_repository
6542
+ --------------------------------------------------------------
6543
+  (0.1ms) ROLLBACK
6544
+  (0.1ms) ROLLBACK
6545
+  (0.2ms) BEGIN
6546
+ ----------------------------------------------------------------------------
6547
+ TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run
6548
+ ----------------------------------------------------------------------------
6549
+  (0.2ms) ROLLBACK
6550
+  (0.2ms) BEGIN
6551
+ ------------------------------------------------------------------------------
6552
+ TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run
6553
+ ------------------------------------------------------------------------------
6554
+  (0.1ms) ROLLBACK
6555
+  (0.1ms) BEGIN
6556
+ ---------------------------------------------------------------------
6557
+ ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass
6558
+ ---------------------------------------------------------------------
6559
+  (0.2ms) SELECT 1=1
6560
+ Dalli::Server#connect 127.0.0.1:11211
6561
+  (0.1ms) ROLLBACK
6562
+  (0.1ms) BEGIN
6563
+ ------------------------------------------------------------------------------------
6564
+ ChecklistTest: test_#response_status_returns_:service_unavailable_when_a_check_fails
6565
+ ------------------------------------------------------------------------------------
6566
+  (0.2ms) SELECT 1=1
6567
+  (0.1ms) ROLLBACK
6568
+  (0.1ms) BEGIN
6569
+ -----------------------------------------------------------------
6570
+ ChecklistTest: test_#success?_returns_false_when_results_is_empty
6571
+ -----------------------------------------------------------------
6572
+  (0.1ms) ROLLBACK
6573
+  (0.1ms) BEGIN
6574
+ ---------------------------------------------------------
6575
+ ChecklistTest: test_#timing_is_a_sum_of_all_check_results
6576
+ ---------------------------------------------------------
6577
+  (0.1ms) ROLLBACK
6578
+  (0.1ms) BEGIN
6579
+ -------------------------------------------------------------------------
6580
+ ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist
6581
+ -------------------------------------------------------------------------
6582
+  (0.1ms) SELECT 1=1
6583
+  (0.1ms) ROLLBACK
6584
+  (0.1ms) BEGIN
6585
+ ----------------------------------------------
6586
+ ChecklistTest: test_can_look_up_checks_by_name
6587
+ ----------------------------------------------
6588
+  (0.1ms) ROLLBACK
6589
+  (0.1ms) BEGIN
6590
+ ---------------------------------------------
6591
+ ChecklistTest: test_cat_fetch_a_check_by_name
6592
+ ---------------------------------------------
6593
+  (0.1ms) ROLLBACK
6594
+  (0.1ms) BEGIN
6595
+ -------------------------------------------------------------------
6596
+ ChecklistTest: test_it_knows_the_number_of_checks_in_the_Repository
6597
+ -------------------------------------------------------------------
6598
+  (0.1ms) ROLLBACK
6599
+  (0.1ms) BEGIN
6600
+ ------------------------------------------
6601
+ ChecklistTest: test_it_will_run_each_check
6602
+ ------------------------------------------
6603
+  (0.1ms) SELECT 1=1
6604
+  (0.1ms) ROLLBACK
6605
+  (0.2ms) BEGIN
6606
+ --------------------------------------------------------------------------
6607
+ ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run
6608
+ --------------------------------------------------------------------------
6609
+  (0.1ms) ROLLBACK
6610
+  (0.1ms) BEGIN
6611
+ ----------------------------------------------------------------------------
6612
+ ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run
6613
+ ----------------------------------------------------------------------------
6614
+  (0.1ms) SELECT 1=1
6615
+  (0.1ms) ROLLBACK
6616
+  (0.1ms) BEGIN
6617
+ -------------------------------------------------
6618
+ ActiveRecordCheckTest: test_given_nil_as_a_config
6619
+ -------------------------------------------------
6620
+  (0.1ms) ROLLBACK
6621
+  (0.1ms) BEGIN
6622
+ --------------------------------------------------------------------------------
6623
+ SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down
6624
+ --------------------------------------------------------------------------------
6625
+  (0.1ms) SELECT 1=1
6626
+  (0.1ms) ROLLBACK
6627
+  (0.1ms) BEGIN
6628
+  (0.1ms) BEGIN
6629
+ -------------------------------------------------------------------------------
6630
+ SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down
6631
+ -------------------------------------------------------------------------------
6632
+  (0.1ms) SELECT 1=1
6633
+  (0.1ms) ROLLBACK
6634
+  (0.1ms) BEGIN
6635
+  (0.1ms) BEGIN
6636
+ -------------------------------------------------------------------------------
6637
+ SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run
6638
+ -------------------------------------------------------------------------------
6639
+  (0.1ms) SELECT 1=1
6640
+  (0.1ms) SELECT 1=1
6641
+  (0.1ms) ROLLBACK
6642
+  (0.1ms) BEGIN
6643
+  (0.1ms) BEGIN
6644
+ ------------------------------------------------------
6645
+ SplitActiveRecordCheckTest: test_given_nil_as_a_config
6646
+ ------------------------------------------------------
6647
+  (0.1ms) ROLLBACK
6648
+  (0.1ms) ROLLBACK
6649
+  (0.1ms) BEGIN
6650
+  (0.1ms) BEGIN
6651
+ ----------------------------------------------------------------
6652
+ HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
6653
+ ----------------------------------------------------------------
6654
+  (0.1ms) ROLLBACK
6655
+  (0.1ms) ROLLBACK
6656
+  (0.1ms) BEGIN
6657
+  (0.1ms) BEGIN
6658
+ ------------------------------------------------------------------
6659
+ HttpCheckTest: test_#run_sets_success_conditions_on_successful_run
6660
+ ------------------------------------------------------------------
6661
+  (0.1ms) ROLLBACK
6662
+  (0.1ms) ROLLBACK
6663
+  (0.1ms) BEGIN
6664
+  (0.1ms) BEGIN
6665
+ --------------------------------------
6666
+ HttpCheckTest: test_given_nil_as_a_url
6667
+ --------------------------------------
6668
+  (0.1ms) ROLLBACK
6669
+  (0.1ms) ROLLBACK
6670
+  (0.1ms) BEGIN
6671
+  (0.1ms) BEGIN
6672
+ ------------------------------------------------------------------------------
6673
+ RepositoryTest: test_adds_a_check_to_the_repository_for_the_critical_checklist
6674
+ ------------------------------------------------------------------------------
6675
+  (0.1ms) ROLLBACK
6676
+  (0.1ms) ROLLBACK
6677
+  (0.1ms) BEGIN
6678
+  (0.1ms) BEGIN
6679
+ --------------------------------------------------------------------------
6680
+ RepositoryTest: test_adds_checks_marked_critical_to_the_critical_checklist
6681
+ --------------------------------------------------------------------------
6682
+  (0.1ms) ROLLBACK
6683
+  (0.1ms) ROLLBACK
6684
+  (0.1ms) BEGIN
6685
+  (0.1ms) BEGIN
6686
+ --------------------------------------------
6687
+ RepositoryTest: test_fetches_a_check_by_name
6688
+ --------------------------------------------
6689
+  (0.1ms) ROLLBACK
6690
+  (0.1ms) ROLLBACK
6691
+  (0.1ms) BEGIN
6692
+  (0.1ms) BEGIN
6693
+ -----------------------------------------------------
6694
+ RepositoryTest: test_fetches_a_critical_check_by_name
6695
+ -----------------------------------------------------
6696
+  (0.1ms) ROLLBACK
6697
+  (0.1ms) ROLLBACK
6698
+  (0.1ms) BEGIN
6699
+  (0.1ms) BEGIN
6700
+ ---------------------------------------------------
6701
+ RepositoryTest: test_returns_a_checklist_when_asked
6702
+ ---------------------------------------------------
6703
+  (0.1ms) ROLLBACK
6704
+  (0.1ms) ROLLBACK
6705
+  (0.1ms) BEGIN
6706
+  (0.1ms) BEGIN
6707
+ ---------------------------------------------------------
6708
+ RepositoryTest: test_we_can_add_a_check_to_the_repository
6709
+ ---------------------------------------------------------
6710
+  (0.1ms) ROLLBACK
6711
+  (0.1ms) ROLLBACK
6712
+  (0.1ms) BEGIN
6713
+  (0.1ms) BEGIN
6714
+ --------------------------------------------------------------
6715
+ RepositoryTest: test_we_can_remove_a_check_from_the_repository
6716
+ --------------------------------------------------------------
6717
+  (0.1ms) ROLLBACK
6718
+  (0.1ms) ROLLBACK
6719
+  (0.1ms) BEGIN
6720
+  (0.1ms) BEGIN
6721
+ ---------------------------------------------------------------------
6722
+ MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
6723
+ ---------------------------------------------------------------------
6724
+  (0.1ms) ROLLBACK
6725
+  (0.1ms) ROLLBACK
6726
+  (0.1ms) BEGIN
6727
+  (0.1ms) BEGIN
6728
+ -----------------------------------------------------------------------
6729
+ MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run
6730
+ -----------------------------------------------------------------------
6731
+  (0.1ms) ROLLBACK
6732
+  (0.1ms) ROLLBACK
6733
+  (0.1ms) BEGIN
6734
+  (0.1ms) BEGIN
6735
+ ------------------------------------------------------------------
6736
+ MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers
6737
+ ------------------------------------------------------------------
6738
+  (0.1ms) ROLLBACK
6739
+  (0.1ms) ROLLBACK
6740
+  (0.1ms) BEGIN
6741
+  (0.1ms) BEGIN
6742
+ ---------------------------------------------------------
6743
+ MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache
6744
+ ---------------------------------------------------------
6745
+  (0.1ms) ROLLBACK
6746
+  (0.1ms) ROLLBACK
6747
+  (0.1ms) BEGIN
6748
+  (0.1ms) BEGIN
6749
+ ---------------------------------------------------------------------
6750
+ SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
6751
+ ---------------------------------------------------------------------
6752
+  (0.1ms) ROLLBACK
6753
+  (0.1ms) ROLLBACK
6754
+  (0.1ms) BEGIN
6755
+  (0.1ms) BEGIN
6756
+ -----------------------------------------------------------------------
6757
+ SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run
6758
+ -----------------------------------------------------------------------
6759
+  (0.1ms) ROLLBACK
6760
+  (0.1ms) ROLLBACK
6761
+  (0.2ms) BEGIN
6762
+  (0.1ms) BEGIN
6763
+ -----------------------------------------------------------------
6764
+ RedisCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
6765
+ -----------------------------------------------------------------
6766
+  (0.1ms) ROLLBACK
6767
+  (0.2ms) ROLLBACK
6768
+  (0.1ms) BEGIN
6769
+  (0.1ms) BEGIN
6770
+ -------------------------------------------------------------------
6771
+ RedisCheckTest: test_#run_sets_success_conditions_on_successful_run
6772
+ -------------------------------------------------------------------
6773
+  (0.1ms) ROLLBACK
6774
+  (0.1ms) ROLLBACK
6775
+  (0.1ms) BEGIN
6776
+  (0.1ms) BEGIN
6777
+ ------------------------------------------
6778
+ RedisCheckTest: test_given_nil_as_a_config
6779
+ ------------------------------------------
6780
+  (0.1ms) ROLLBACK
6781
+  (0.1ms) ROLLBACK
6782
+  (0.1ms) BEGIN
6783
+  (0.1ms) BEGIN
6784
+ ------------------------------------------------------------
6785
+ Easymon::ChecksControllerTest: test_index_returns_valid_json
6786
+ ------------------------------------------------------------
6787
+ Processing by Easymon::ChecksController#index as JSON
6788
+  (0.2ms) SELECT 1=1
6789
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
6790
+  (0.2ms) ROLLBACK
6791
+  (0.1ms) ROLLBACK
6792
+  (0.1ms) BEGIN
6793
+  (0.1ms) BEGIN
6794
+ -----------------------------------------------------------
6795
+ Easymon::ChecksControllerTest: test_index_returns_valid_xml
6796
+ -----------------------------------------------------------
6797
+ Processing by Easymon::ChecksController#index as XML
6798
+  (0.2ms) SELECT 1=1
6799
+ Completed 200 OK in 10ms (Views: 9.6ms | ActiveRecord: 0.2ms)
6800
+  (0.2ms) ROLLBACK
6801
+  (0.1ms) ROLLBACK
6802
+  (0.1ms) BEGIN
6803
+  (0.1ms) BEGIN
6804
+ ---------------------------------------------------------------------
6805
+ Easymon::ChecksControllerTest: test_index_when_a_critical_check_fails
6806
+ ---------------------------------------------------------------------
6807
+ Processing by Easymon::ChecksController#index as HTML
6808
+ Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
6809
+  (0.2ms) ROLLBACK
6810
+  (0.1ms) ROLLBACK
6811
+  (0.1ms) BEGIN
6812
+  (0.1ms) BEGIN
6813
+ -------------------------------------------------------------------------
6814
+ Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails
6815
+ -------------------------------------------------------------------------
6816
+ Processing by Easymon::ChecksController#index as HTML
6817
+  (0.2ms) SELECT 1=1
6818
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
6819
+  (0.2ms) ROLLBACK
6820
+  (0.1ms) ROLLBACK
6821
+  (0.1ms) BEGIN
6822
+  (0.1ms) BEGIN
6823
+ --------------------------------------------------------------
6824
+ Easymon::ChecksControllerTest: test_index_when_all_checks_pass
6825
+ --------------------------------------------------------------
6826
+ Processing by Easymon::ChecksController#index as HTML
6827
+  (0.2ms) SELECT 1=1
6828
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
6829
+  (0.2ms) ROLLBACK
6830
+  (0.2ms) ROLLBACK
6831
+  (0.1ms) BEGIN
6832
+  (0.1ms) BEGIN
6833
+ --------------------------------------------------------------------
6834
+ Easymon::ChecksControllerTest: test_index_when_no_checks_are_defined
6835
+ --------------------------------------------------------------------
6836
+ Processing by Easymon::ChecksController#index as HTML
6837
+ Completed 503 Service Unavailable in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
6838
+  (0.1ms) ROLLBACK
6839
+  (0.1ms) ROLLBACK
6840
+  (0.1ms) BEGIN
6841
+  (0.1ms) BEGIN
6842
+ ------------------------------------------------------------------
6843
+ Easymon::ChecksControllerTest: test_show_if_the_check_is_not_found
6844
+ ------------------------------------------------------------------
6845
+ Processing by Easymon::ChecksController#show as HTML
6846
+ Parameters: {"check"=>"database"}
6847
+ Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
6848
+  (0.1ms) ROLLBACK
6849
+  (0.1ms) ROLLBACK
6850
+  (0.1ms) BEGIN
6851
+  (0.1ms) BEGIN
6852
+ -------------------------------------------------------------------
6853
+ Easymon::ChecksControllerTest: test_show_json_when_the_check_passes
6854
+ -------------------------------------------------------------------
6855
+ Processing by Easymon::ChecksController#show as JSON
6856
+ Parameters: {"check"=>"database"}
6857
+  (0.2ms) SELECT 1=1
6858
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
6859
+  (0.1ms) ROLLBACK
6860
+  (0.1ms) ROLLBACK
6861
+  (0.1ms) BEGIN
6862
+  (0.1ms) BEGIN
6863
+ -------------------------------------------------------------
6864
+ Easymon::ChecksControllerTest: test_show_when_the_check_fails
6865
+ -------------------------------------------------------------
6866
+ Processing by Easymon::ChecksController#show as HTML
6867
+ Parameters: {"check"=>"database"}
6868
+ Completed 503 Service Unavailable in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
6869
+  (0.1ms) ROLLBACK
6870
+  (0.1ms) ROLLBACK
6871
+  (0.1ms) BEGIN
6872
+  (0.1ms) BEGIN
6873
+ --------------------------------------------------------------
6874
+ Easymon::ChecksControllerTest: test_show_when_the_check_passes
6875
+ --------------------------------------------------------------
6876
+ Processing by Easymon::ChecksController#show as HTML
6877
+ Parameters: {"check"=>"database"}
6878
+  (0.2ms) SELECT 1=1
6879
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
6880
+  (0.1ms) ROLLBACK
6881
+  (0.1ms) ROLLBACK
6882
+  (0.2ms) BEGIN
6883
+ ---------------------------------------------------------------------
6884
+ ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass
6885
+ ---------------------------------------------------------------------
6886
+  (0.2ms) SELECT 1=1
6887
+ Dalli::Server#connect 127.0.0.1:11211
6888
+  (0.1ms) ROLLBACK
6889
+  (0.1ms) BEGIN
6890
+ ------------------------------------------------------------------------------------
6891
+ ChecklistTest: test_#response_status_returns_:service_unavailable_when_a_check_fails
6892
+ ------------------------------------------------------------------------------------
6893
+  (0.2ms) SELECT 1=1
6894
+  (0.1ms) ROLLBACK
6895
+  (0.1ms) BEGIN
6896
+ -----------------------------------------------------------------
6897
+ ChecklistTest: test_#success?_returns_false_when_results_is_empty
6898
+ -----------------------------------------------------------------
6899
+  (0.1ms) ROLLBACK
6900
+  (0.1ms) BEGIN
6901
+ ---------------------------------------------------------
6902
+ ChecklistTest: test_#timing_is_a_sum_of_all_check_results
6903
+ ---------------------------------------------------------
6904
+  (0.1ms) ROLLBACK
6905
+  (0.1ms) BEGIN
6906
+ -------------------------------------------------------------------------
6907
+ ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist
6908
+ -------------------------------------------------------------------------
6909
+  (0.1ms) SELECT 1=1
6910
+  (0.1ms) ROLLBACK
6911
+  (0.1ms) BEGIN
6912
+ ----------------------------------------------
6913
+ ChecklistTest: test_can_look_up_checks_by_name
6914
+ ----------------------------------------------
6915
+  (0.1ms) ROLLBACK
6916
+  (0.1ms) BEGIN
6917
+ ---------------------------------------------
6918
+ ChecklistTest: test_cat_fetch_a_check_by_name
6919
+ ---------------------------------------------
6920
+  (0.1ms) ROLLBACK
6921
+  (0.1ms) BEGIN
6922
+ -------------------------------------------------------------------
6923
+ ChecklistTest: test_it_knows_the_number_of_checks_in_the_Repository
6924
+ -------------------------------------------------------------------
6925
+  (0.1ms) ROLLBACK
6926
+  (0.1ms) BEGIN
6927
+ ------------------------------------------
6928
+ ChecklistTest: test_it_will_run_each_check
6929
+ ------------------------------------------
6930
+  (0.1ms) SELECT 1=1
6931
+  (0.1ms) ROLLBACK
6932
+  (0.1ms) BEGIN
6933
+ --------------------------------------------------------------------------
6934
+ ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run
6935
+ --------------------------------------------------------------------------
6936
+  (0.1ms) ROLLBACK
6937
+  (0.1ms) BEGIN
6938
+ ----------------------------------------------------------------------------
6939
+ ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run
6940
+ ----------------------------------------------------------------------------
6941
+  (0.1ms) SELECT 1=1
6942
+  (0.1ms) ROLLBACK
6943
+  (0.1ms) BEGIN
6944
+ -------------------------------------------------
6945
+ ActiveRecordCheckTest: test_given_nil_as_a_config
6946
+ -------------------------------------------------
6947
+  (0.1ms) ROLLBACK
6948
+  (0.1ms) BEGIN
6949
+ --------------------------------------------------------------------------------
6950
+ SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down
6951
+ --------------------------------------------------------------------------------
6952
+  (0.1ms) SELECT 1=1
6953
+  (0.1ms) ROLLBACK
6954
+  (0.1ms) BEGIN
6955
+  (0.1ms) BEGIN
6956
+ -------------------------------------------------------------------------------
6957
+ SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down
6958
+ -------------------------------------------------------------------------------
6959
+  (0.1ms) SELECT 1=1
6960
+  (0.1ms) ROLLBACK
6961
+  (0.1ms) BEGIN
6962
+  (0.1ms) BEGIN
6963
+ -------------------------------------------------------------------------------
6964
+ SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run
6965
+ -------------------------------------------------------------------------------
6966
+  (0.1ms) SELECT 1=1
6967
+  (0.1ms) SELECT 1=1
6968
+  (0.1ms) ROLLBACK
6969
+  (0.1ms) BEGIN
6970
+  (0.1ms) BEGIN
6971
+ ------------------------------------------------------
6972
+ SplitActiveRecordCheckTest: test_given_nil_as_a_config
6973
+ ------------------------------------------------------
6974
+  (0.1ms) ROLLBACK
6975
+  (0.1ms) ROLLBACK
6976
+  (0.1ms) BEGIN
6977
+  (0.1ms) BEGIN
6978
+ -----------------------------------------------------------------
6979
+ RedisCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
6980
+ -----------------------------------------------------------------
6981
+  (0.1ms) ROLLBACK
6982
+  (0.1ms) ROLLBACK
6983
+  (0.1ms) BEGIN
6984
+  (0.1ms) BEGIN
6985
+ -------------------------------------------------------------------
6986
+ RedisCheckTest: test_#run_sets_success_conditions_on_successful_run
6987
+ -------------------------------------------------------------------
6988
+  (0.1ms) ROLLBACK
6989
+  (0.1ms) ROLLBACK
6990
+  (0.1ms) BEGIN
6991
+  (0.1ms) BEGIN
6992
+ ------------------------------------------
6993
+ RedisCheckTest: test_given_nil_as_a_config
6994
+ ------------------------------------------
6995
+  (0.1ms) ROLLBACK
6996
+  (0.1ms) ROLLBACK
6997
+  (0.1ms) BEGIN
6998
+  (0.1ms) BEGIN
6999
+ ----------------------------------------------------------------------------
7000
+ TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run
7001
+ ----------------------------------------------------------------------------
7002
+  (0.1ms) ROLLBACK
7003
+  (0.1ms) ROLLBACK
7004
+  (0.1ms) BEGIN
7005
+  (0.1ms) BEGIN
7006
+ ------------------------------------------------------------------------------
7007
+ TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run
7008
+ ------------------------------------------------------------------------------
7009
+  (0.1ms) ROLLBACK
7010
+  (0.1ms) ROLLBACK
7011
+  (0.1ms) BEGIN
7012
+  (0.1ms) BEGIN
7013
+ ----------------------------------------------------------------
7014
+ HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
7015
+ ----------------------------------------------------------------
7016
+  (0.1ms) ROLLBACK
7017
+  (0.1ms) ROLLBACK
7018
+  (0.1ms) BEGIN
7019
+  (0.1ms) BEGIN
7020
+ ------------------------------------------------------------------
7021
+ HttpCheckTest: test_#run_sets_success_conditions_on_successful_run
7022
+ ------------------------------------------------------------------
7023
+  (0.1ms) ROLLBACK
7024
+  (0.1ms) ROLLBACK
7025
+  (0.1ms) BEGIN
7026
+  (0.1ms) BEGIN
7027
+ --------------------------------------
7028
+ HttpCheckTest: test_given_nil_as_a_url
7029
+ --------------------------------------
7030
+  (0.1ms) ROLLBACK
7031
+  (0.1ms) ROLLBACK
7032
+  (0.2ms) BEGIN
7033
+  (0.1ms) BEGIN
7034
+ ------------------------------------------------------------------------------
7035
+ RepositoryTest: test_adds_a_check_to_the_repository_for_the_critical_checklist
7036
+ ------------------------------------------------------------------------------
7037
+  (0.1ms) ROLLBACK
7038
+  (0.1ms) ROLLBACK
7039
+  (0.1ms) BEGIN
7040
+  (0.1ms) BEGIN
7041
+ --------------------------------------------------------------------------
7042
+ RepositoryTest: test_adds_checks_marked_critical_to_the_critical_checklist
7043
+ --------------------------------------------------------------------------
7044
+  (0.1ms) ROLLBACK
7045
+  (0.1ms) ROLLBACK
7046
+  (0.1ms) BEGIN
7047
+  (0.1ms) BEGIN
7048
+ --------------------------------------------
7049
+ RepositoryTest: test_fetches_a_check_by_name
7050
+ --------------------------------------------
7051
+  (0.1ms) ROLLBACK
7052
+  (0.1ms) ROLLBACK
7053
+  (0.1ms) BEGIN
7054
+  (0.1ms) BEGIN
7055
+ -----------------------------------------------------
7056
+ RepositoryTest: test_fetches_a_critical_check_by_name
7057
+ -----------------------------------------------------
7058
+  (0.2ms) ROLLBACK
7059
+  (0.1ms) ROLLBACK
7060
+  (0.1ms) BEGIN
7061
+  (0.1ms) BEGIN
7062
+ ---------------------------------------------------
7063
+ RepositoryTest: test_returns_a_checklist_when_asked
7064
+ ---------------------------------------------------
7065
+  (0.1ms) ROLLBACK
7066
+  (0.1ms) ROLLBACK
7067
+  (0.1ms) BEGIN
7068
+  (0.1ms) BEGIN
7069
+ ---------------------------------------------------------
7070
+ RepositoryTest: test_we_can_add_a_check_to_the_repository
7071
+ ---------------------------------------------------------
7072
+  (0.1ms) ROLLBACK
7073
+  (0.1ms) ROLLBACK
7074
+  (0.1ms) BEGIN
7075
+  (0.1ms) BEGIN
7076
+ --------------------------------------------------------------
7077
+ RepositoryTest: test_we_can_remove_a_check_from_the_repository
7078
+ --------------------------------------------------------------
7079
+  (0.1ms) ROLLBACK
7080
+  (0.1ms) ROLLBACK
7081
+  (0.1ms) BEGIN
7082
+  (0.1ms) BEGIN
7083
+ ---------------------------------------------------------------------
7084
+ MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
7085
+ ---------------------------------------------------------------------
7086
+  (0.1ms) ROLLBACK
7087
+  (0.1ms) ROLLBACK
7088
+  (0.1ms) BEGIN
7089
+  (0.1ms) BEGIN
7090
+ -----------------------------------------------------------------------
7091
+ MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run
7092
+ -----------------------------------------------------------------------
7093
+  (0.1ms) ROLLBACK
7094
+  (0.1ms) ROLLBACK
7095
+  (0.1ms) BEGIN
7096
+  (0.1ms) BEGIN
7097
+ ------------------------------------------------------------------
7098
+ MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers
7099
+ ------------------------------------------------------------------
7100
+  (0.1ms) ROLLBACK
7101
+  (0.1ms) ROLLBACK
7102
+  (0.1ms) BEGIN
7103
+  (0.1ms) BEGIN
7104
+ ---------------------------------------------------------
7105
+ MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache
7106
+ ---------------------------------------------------------
7107
+  (0.1ms) ROLLBACK
7108
+  (0.1ms) ROLLBACK
7109
+  (0.1ms) BEGIN
7110
+  (0.1ms) BEGIN
7111
+ ---------------------------------------------------------------------
7112
+ SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
7113
+ ---------------------------------------------------------------------
7114
+  (0.1ms) ROLLBACK
7115
+  (0.1ms) ROLLBACK
7116
+  (0.1ms) BEGIN
7117
+  (0.1ms) BEGIN
7118
+ -----------------------------------------------------------------------
7119
+ SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run
7120
+ -----------------------------------------------------------------------
7121
+  (0.1ms) ROLLBACK
7122
+  (0.1ms) ROLLBACK
7123
+  (0.1ms) BEGIN
7124
+  (0.1ms) BEGIN
7125
+ ------------------------------------------------------------
7126
+ Easymon::ChecksControllerTest: test_index_returns_valid_json
7127
+ ------------------------------------------------------------
7128
+ Processing by Easymon::ChecksController#index as JSON
7129
+  (0.2ms) SELECT 1=1
7130
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
7131
+  (0.2ms) ROLLBACK
7132
+  (0.1ms) ROLLBACK
7133
+  (0.1ms) BEGIN
7134
+  (0.1ms) BEGIN
7135
+ -----------------------------------------------------------
7136
+ Easymon::ChecksControllerTest: test_index_returns_valid_xml
7137
+ -----------------------------------------------------------
7138
+ Processing by Easymon::ChecksController#index as XML
7139
+  (0.2ms) SELECT 1=1
7140
+ Completed 200 OK in 11ms (Views: 10.3ms | ActiveRecord: 0.2ms)
7141
+  (0.3ms) ROLLBACK
7142
+  (0.1ms) ROLLBACK
7143
+  (0.1ms) BEGIN
7144
+  (0.1ms) BEGIN
7145
+ ---------------------------------------------------------------------
7146
+ Easymon::ChecksControllerTest: test_index_when_a_critical_check_fails
7147
+ ---------------------------------------------------------------------
7148
+ Processing by Easymon::ChecksController#index as HTML
7149
+ Completed 503 Service Unavailable in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
7150
+  (0.1ms) ROLLBACK
7151
+  (0.1ms) ROLLBACK
7152
+  (0.1ms) BEGIN
7153
+  (0.1ms) BEGIN
7154
+ -------------------------------------------------------------------------
7155
+ Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails
7156
+ -------------------------------------------------------------------------
7157
+ Processing by Easymon::ChecksController#index as HTML
7158
+  (0.2ms) SELECT 1=1
7159
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
7160
+  (0.1ms) ROLLBACK
7161
+  (0.1ms) ROLLBACK
7162
+  (0.1ms) BEGIN
7163
+  (0.1ms) BEGIN
7164
+ --------------------------------------------------------------
7165
+ Easymon::ChecksControllerTest: test_index_when_all_checks_pass
7166
+ --------------------------------------------------------------
7167
+ Processing by Easymon::ChecksController#index as HTML
7168
+  (0.1ms) SELECT 1=1
7169
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
7170
+  (0.1ms) ROLLBACK
7171
+  (0.1ms) ROLLBACK
7172
+  (0.1ms) BEGIN
7173
+  (0.1ms) BEGIN
7174
+ --------------------------------------------------------------------
7175
+ Easymon::ChecksControllerTest: test_index_when_no_checks_are_defined
7176
+ --------------------------------------------------------------------
7177
+ Processing by Easymon::ChecksController#index as HTML
7178
+ Completed 503 Service Unavailable in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
7179
+  (0.1ms) ROLLBACK
7180
+  (0.1ms) ROLLBACK
7181
+  (0.1ms) BEGIN
7182
+  (0.1ms) BEGIN
7183
+ ------------------------------------------------------------------
7184
+ Easymon::ChecksControllerTest: test_show_if_the_check_is_not_found
7185
+ ------------------------------------------------------------------
7186
+ Processing by Easymon::ChecksController#show as HTML
7187
+ Parameters: {"check"=>"database"}
7188
+ Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
7189
+  (0.2ms) ROLLBACK
7190
+  (0.1ms) ROLLBACK
7191
+  (0.1ms) BEGIN
7192
+  (0.1ms) BEGIN
7193
+ -------------------------------------------------------------------
7194
+ Easymon::ChecksControllerTest: test_show_json_when_the_check_passes
7195
+ -------------------------------------------------------------------
7196
+ Processing by Easymon::ChecksController#show as JSON
7197
+ Parameters: {"check"=>"database"}
7198
+  (0.2ms) SELECT 1=1
7199
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
7200
+  (0.2ms) ROLLBACK
7201
+  (0.1ms) ROLLBACK
7202
+  (0.1ms) BEGIN
7203
+  (0.1ms) BEGIN
7204
+ -------------------------------------------------------------
7205
+ Easymon::ChecksControllerTest: test_show_when_the_check_fails
7206
+ -------------------------------------------------------------
7207
+ Processing by Easymon::ChecksController#show as HTML
7208
+ Parameters: {"check"=>"database"}
7209
+ Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
7210
+  (0.1ms) ROLLBACK
7211
+  (0.1ms) ROLLBACK
7212
+  (0.1ms) BEGIN
7213
+  (0.1ms) BEGIN
7214
+ --------------------------------------------------------------
7215
+ Easymon::ChecksControllerTest: test_show_when_the_check_passes
7216
+ --------------------------------------------------------------
7217
+ Processing by Easymon::ChecksController#show as HTML
7218
+ Parameters: {"check"=>"database"}
7219
+  (0.1ms) SELECT 1=1
7220
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
7221
+  (0.1ms) ROLLBACK
7222
+  (0.1ms) ROLLBACK
7223
+  (0.2ms) BEGIN
7224
+ ---------------------------------------------------------------------
7225
+ ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass
7226
+ ---------------------------------------------------------------------
7227
+  (0.2ms) SELECT 1=1
7228
+ Dalli::Server#connect 127.0.0.1:11211
7229
+  (0.1ms) ROLLBACK
7230
+  (0.1ms) BEGIN
7231
+ ------------------------------------------------------------------------------------
7232
+ ChecklistTest: test_#response_status_returns_:service_unavailable_when_a_check_fails
7233
+ ------------------------------------------------------------------------------------
7234
+  (0.2ms) SELECT 1=1
7235
+  (0.1ms) ROLLBACK
7236
+  (0.1ms) BEGIN
7237
+ -----------------------------------------------------------------
7238
+ ChecklistTest: test_#success?_returns_false_when_results_is_empty
7239
+ -----------------------------------------------------------------
7240
+  (0.1ms) ROLLBACK
7241
+  (0.1ms) BEGIN
7242
+ ---------------------------------------------------------
7243
+ ChecklistTest: test_#timing_is_a_sum_of_all_check_results
7244
+ ---------------------------------------------------------
7245
+  (0.1ms) ROLLBACK
7246
+  (0.1ms) BEGIN
7247
+ -------------------------------------------------------------------------
7248
+ ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist
7249
+ -------------------------------------------------------------------------
7250
+  (0.1ms) SELECT 1=1
7251
+  (0.1ms) ROLLBACK
7252
+  (0.1ms) BEGIN
7253
+ ----------------------------------------------
7254
+ ChecklistTest: test_can_look_up_checks_by_name
7255
+ ----------------------------------------------
7256
+  (0.1ms) ROLLBACK
7257
+  (0.1ms) BEGIN
7258
+ ---------------------------------------------
7259
+ ChecklistTest: test_cat_fetch_a_check_by_name
7260
+ ---------------------------------------------
7261
+  (0.1ms) ROLLBACK
7262
+  (0.1ms) BEGIN
7263
+ -------------------------------------------------------------------
7264
+ ChecklistTest: test_it_knows_the_number_of_checks_in_the_Repository
7265
+ -------------------------------------------------------------------
7266
+  (0.1ms) ROLLBACK
7267
+  (0.1ms) BEGIN
7268
+ ------------------------------------------
7269
+ ChecklistTest: test_it_will_run_each_check
7270
+ ------------------------------------------
7271
+  (0.1ms) SELECT 1=1
7272
+  (0.1ms) ROLLBACK
7273
+  (0.1ms) BEGIN
7274
+ --------------------------------------------------------------------------------
7275
+ SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down
7276
+ --------------------------------------------------------------------------------
7277
+  (0.1ms) SELECT 1=1
7278
+  (0.1ms) ROLLBACK
7279
+  (0.1ms) BEGIN
7280
+  (0.1ms) BEGIN
7281
+ -------------------------------------------------------------------------------
7282
+ SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down
7283
+ -------------------------------------------------------------------------------
7284
+  (0.1ms) SELECT 1=1
7285
+  (0.1ms) ROLLBACK
7286
+  (0.1ms) BEGIN
7287
+  (0.1ms) BEGIN
7288
+ -------------------------------------------------------------------------------
7289
+ SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run
7290
+ -------------------------------------------------------------------------------
7291
+  (0.1ms) SELECT 1=1
7292
+  (0.1ms) SELECT 1=1
7293
+  (0.1ms) ROLLBACK
7294
+  (0.1ms) BEGIN
7295
+  (0.1ms) BEGIN
7296
+ ------------------------------------------------------
7297
+ SplitActiveRecordCheckTest: test_given_nil_as_a_config
7298
+ ------------------------------------------------------
7299
+  (0.1ms) ROLLBACK
7300
+  (0.1ms) ROLLBACK
7301
+  (0.1ms) BEGIN
7302
+  (0.1ms) BEGIN
7303
+ ----------------------------------------------------------------------------
7304
+ TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run
7305
+ ----------------------------------------------------------------------------
7306
+  (0.1ms) ROLLBACK
7307
+  (0.1ms) ROLLBACK
7308
+  (0.1ms) BEGIN
7309
+  (0.1ms) BEGIN
7310
+ ------------------------------------------------------------------------------
7311
+ TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run
7312
+ ------------------------------------------------------------------------------
7313
+  (0.1ms) ROLLBACK
7314
+  (0.1ms) ROLLBACK
7315
+  (0.1ms) BEGIN
7316
+  (0.1ms) BEGIN
7317
+ ------------------------------------------------------------------------------
7318
+ RepositoryTest: test_adds_a_check_to_the_repository_for_the_critical_checklist
7319
+ ------------------------------------------------------------------------------
7320
+  (0.1ms) ROLLBACK
7321
+  (0.1ms) ROLLBACK
7322
+  (0.1ms) BEGIN
7323
+  (0.1ms) BEGIN
7324
+ --------------------------------------------------------------------------
7325
+ RepositoryTest: test_adds_checks_marked_critical_to_the_critical_checklist
7326
+ --------------------------------------------------------------------------
7327
+  (0.1ms) ROLLBACK
7328
+  (0.1ms) ROLLBACK
7329
+  (0.1ms) BEGIN
7330
+  (0.1ms) BEGIN
7331
+ --------------------------------------------
7332
+ RepositoryTest: test_fetches_a_check_by_name
7333
+ --------------------------------------------
7334
+  (0.1ms) ROLLBACK
7335
+  (0.1ms) ROLLBACK
7336
+  (0.1ms) BEGIN
7337
+  (0.1ms) BEGIN
7338
+ -----------------------------------------------------
7339
+ RepositoryTest: test_fetches_a_critical_check_by_name
7340
+ -----------------------------------------------------
7341
+  (0.1ms) ROLLBACK
7342
+  (0.1ms) ROLLBACK
7343
+  (0.1ms) BEGIN
7344
+  (0.1ms) BEGIN
7345
+ ---------------------------------------------------
7346
+ RepositoryTest: test_returns_a_checklist_when_asked
7347
+ ---------------------------------------------------
7348
+  (0.1ms) ROLLBACK
7349
+  (0.1ms) ROLLBACK
7350
+  (0.1ms) BEGIN
7351
+  (0.1ms) BEGIN
7352
+ ---------------------------------------------------------
7353
+ RepositoryTest: test_we_can_add_a_check_to_the_repository
7354
+ ---------------------------------------------------------
7355
+  (0.1ms) ROLLBACK
7356
+  (0.1ms) ROLLBACK
7357
+  (0.1ms) BEGIN
7358
+  (0.1ms) BEGIN
7359
+ --------------------------------------------------------------
7360
+ RepositoryTest: test_we_can_remove_a_check_from_the_repository
7361
+ --------------------------------------------------------------
7362
+  (0.4ms) ROLLBACK
7363
+  (0.1ms) ROLLBACK
7364
+  (0.1ms) BEGIN
7365
+  (0.1ms) BEGIN
7366
+ --------------------------------------------------------------------------
7367
+ ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run
7368
+ --------------------------------------------------------------------------
7369
+  (0.1ms) ROLLBACK
7370
+  (0.1ms) ROLLBACK
7371
+  (0.1ms) BEGIN
7372
+  (0.1ms) BEGIN
7373
+ ----------------------------------------------------------------------------
7374
+ ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run
7375
+ ----------------------------------------------------------------------------
7376
+  (0.1ms) SELECT 1=1
7377
+  (0.1ms) ROLLBACK
7378
+  (0.1ms) ROLLBACK
7379
+  (0.1ms) BEGIN
7380
+  (0.1ms) BEGIN
7381
+ -------------------------------------------------
7382
+ ActiveRecordCheckTest: test_given_nil_as_a_config
7383
+ -------------------------------------------------
7384
+  (0.1ms) ROLLBACK
7385
+  (0.1ms) ROLLBACK
7386
+  (0.1ms) BEGIN
7387
+  (0.1ms) BEGIN
7388
+ ---------------------------------------------------------------------
7389
+ MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
7390
+ ---------------------------------------------------------------------
7391
+  (0.1ms) ROLLBACK
7392
+  (0.1ms) ROLLBACK
7393
+  (0.1ms) BEGIN
7394
+  (0.1ms) BEGIN
7395
+ -----------------------------------------------------------------------
7396
+ MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run
7397
+ -----------------------------------------------------------------------
7398
+  (0.1ms) ROLLBACK
7399
+  (0.1ms) ROLLBACK
7400
+  (0.1ms) BEGIN
7401
+  (0.1ms) BEGIN
7402
+ ------------------------------------------------------------------
7403
+ MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers
7404
+ ------------------------------------------------------------------
7405
+  (0.1ms) ROLLBACK
7406
+  (0.1ms) ROLLBACK
7407
+  (0.1ms) BEGIN
7408
+  (0.1ms) BEGIN
7409
+ ---------------------------------------------------------
7410
+ MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache
7411
+ ---------------------------------------------------------
7412
+  (0.1ms) ROLLBACK
7413
+  (0.1ms) ROLLBACK
7414
+  (0.1ms) BEGIN
7415
+  (0.1ms) BEGIN
7416
+ -----------------------------------------------------------------
7417
+ RedisCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
7418
+ -----------------------------------------------------------------
7419
+  (0.2ms) ROLLBACK
7420
+  (0.2ms) ROLLBACK
7421
+  (0.1ms) BEGIN
7422
+  (0.1ms) BEGIN
7423
+ -------------------------------------------------------------------
7424
+ RedisCheckTest: test_#run_sets_success_conditions_on_successful_run
7425
+ -------------------------------------------------------------------
7426
+  (0.1ms) ROLLBACK
7427
+  (0.1ms) ROLLBACK
7428
+  (0.1ms) BEGIN
7429
+  (0.1ms) BEGIN
7430
+ ------------------------------------------
7431
+ RedisCheckTest: test_given_nil_as_a_config
7432
+ ------------------------------------------
7433
+  (0.1ms) ROLLBACK
7434
+  (0.1ms) ROLLBACK
7435
+  (0.1ms) BEGIN
7436
+  (0.1ms) BEGIN
7437
+ ----------------------------------------------------------------
7438
+ HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
7439
+ ----------------------------------------------------------------
7440
+  (0.1ms) ROLLBACK
7441
+  (0.1ms) ROLLBACK
7442
+  (0.1ms) BEGIN
7443
+  (0.1ms) BEGIN
7444
+ ------------------------------------------------------------------
7445
+ HttpCheckTest: test_#run_sets_success_conditions_on_successful_run
7446
+ ------------------------------------------------------------------
7447
+  (0.1ms) ROLLBACK
7448
+  (0.1ms) ROLLBACK
7449
+  (0.1ms) BEGIN
7450
+  (0.1ms) BEGIN
7451
+ --------------------------------------
7452
+ HttpCheckTest: test_given_nil_as_a_url
7453
+ --------------------------------------
7454
+  (0.1ms) ROLLBACK
7455
+  (0.1ms) ROLLBACK
7456
+  (0.1ms) BEGIN
7457
+  (0.1ms) BEGIN
7458
+ ---------------------------------------------------------------------
7459
+ SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
7460
+ ---------------------------------------------------------------------
7461
+  (0.1ms) ROLLBACK
7462
+  (0.1ms) ROLLBACK
7463
+  (0.1ms) BEGIN
7464
+  (0.1ms) BEGIN
7465
+ -----------------------------------------------------------------------
7466
+ SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run
7467
+ -----------------------------------------------------------------------
7468
+  (0.1ms) ROLLBACK
7469
+  (0.1ms) ROLLBACK
7470
+  (0.1ms) BEGIN
7471
+  (0.1ms) BEGIN
7472
+ ------------------------------------------------------------
7473
+ Easymon::ChecksControllerTest: test_index_returns_valid_json
7474
+ ------------------------------------------------------------
7475
+ Processing by Easymon::ChecksController#index as JSON
7476
+  (0.2ms) SELECT 1=1
7477
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
7478
+  (0.1ms) ROLLBACK
7479
+  (0.1ms) ROLLBACK
7480
+  (0.1ms) BEGIN
7481
+  (0.1ms) BEGIN
7482
+ -----------------------------------------------------------
7483
+ Easymon::ChecksControllerTest: test_index_returns_valid_xml
7484
+ -----------------------------------------------------------
7485
+ Processing by Easymon::ChecksController#index as XML
7486
+  (0.1ms) SELECT 1=1
7487
+ Completed 200 OK in 10ms (Views: 9.3ms | ActiveRecord: 0.1ms)
7488
+  (0.2ms) ROLLBACK
7489
+  (0.1ms) ROLLBACK
7490
+  (0.1ms) BEGIN
7491
+  (0.1ms) BEGIN
7492
+ ---------------------------------------------------------------------
7493
+ Easymon::ChecksControllerTest: test_index_when_a_critical_check_fails
7494
+ ---------------------------------------------------------------------
7495
+ Processing by Easymon::ChecksController#index as HTML
7496
+ Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
7497
+  (0.2ms) ROLLBACK
7498
+  (0.1ms) ROLLBACK
7499
+  (0.1ms) BEGIN
7500
+  (0.1ms) BEGIN
7501
+ -------------------------------------------------------------------------
7502
+ Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails
7503
+ -------------------------------------------------------------------------
7504
+ Processing by Easymon::ChecksController#index as HTML
7505
+  (0.2ms) SELECT 1=1
7506
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
7507
+  (0.1ms) ROLLBACK
7508
+  (0.1ms) ROLLBACK
7509
+  (0.1ms) BEGIN
7510
+  (0.1ms) BEGIN
7511
+ --------------------------------------------------------------
7512
+ Easymon::ChecksControllerTest: test_index_when_all_checks_pass
7513
+ --------------------------------------------------------------
7514
+ Processing by Easymon::ChecksController#index as HTML
7515
+  (0.2ms) SELECT 1=1
7516
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
7517
+  (0.2ms) ROLLBACK
7518
+  (0.1ms) ROLLBACK
7519
+  (0.1ms) BEGIN
7520
+  (0.1ms) BEGIN
7521
+ --------------------------------------------------------------------
7522
+ Easymon::ChecksControllerTest: test_index_when_no_checks_are_defined
7523
+ --------------------------------------------------------------------
7524
+ Processing by Easymon::ChecksController#index as HTML
7525
+ Completed 503 Service Unavailable in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
7526
+  (0.1ms) ROLLBACK
7527
+  (0.1ms) ROLLBACK
7528
+  (0.1ms) BEGIN
7529
+  (0.1ms) BEGIN
7530
+ ------------------------------------------------------------------
7531
+ Easymon::ChecksControllerTest: test_show_if_the_check_is_not_found
7532
+ ------------------------------------------------------------------
7533
+ Processing by Easymon::ChecksController#show as HTML
7534
+ Parameters: {"check"=>"database"}
7535
+ Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
7536
+  (0.1ms) ROLLBACK
7537
+  (0.1ms) ROLLBACK
7538
+  (0.1ms) BEGIN
7539
+  (0.1ms) BEGIN
7540
+ -------------------------------------------------------------------
7541
+ Easymon::ChecksControllerTest: test_show_json_when_the_check_passes
7542
+ -------------------------------------------------------------------
7543
+ Processing by Easymon::ChecksController#show as JSON
7544
+ Parameters: {"check"=>"database"}
7545
+  (0.2ms) SELECT 1=1
7546
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
7547
+  (0.1ms) ROLLBACK
7548
+  (0.1ms) ROLLBACK
7549
+  (0.1ms) BEGIN
7550
+  (0.1ms) BEGIN
7551
+ -------------------------------------------------------------
7552
+ Easymon::ChecksControllerTest: test_show_when_the_check_fails
7553
+ -------------------------------------------------------------
7554
+ Processing by Easymon::ChecksController#show as HTML
7555
+ Parameters: {"check"=>"database"}
7556
+ Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
7557
+  (0.1ms) ROLLBACK
7558
+  (0.1ms) ROLLBACK
7559
+  (0.1ms) BEGIN
7560
+  (0.1ms) BEGIN
7561
+ --------------------------------------------------------------
7562
+ Easymon::ChecksControllerTest: test_show_when_the_check_passes
7563
+ --------------------------------------------------------------
7564
+ Processing by Easymon::ChecksController#show as HTML
7565
+ Parameters: {"check"=>"database"}
7566
+  (0.2ms) SELECT 1=1
7567
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
7568
+  (0.1ms) ROLLBACK
7569
+  (0.1ms) ROLLBACK
7570
+  (0.2ms) BEGIN
7571
+ --------------------------------------------------------------------------
7572
+ ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run
7573
+ --------------------------------------------------------------------------
7574
+  (0.2ms) ROLLBACK
7575
+  (0.1ms) BEGIN
7576
+ ----------------------------------------------------------------------------
7577
+ ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run
7578
+ ----------------------------------------------------------------------------
7579
+  (0.2ms) SELECT 1=1
7580
+  (0.1ms) ROLLBACK
7581
+  (0.1ms) BEGIN
7582
+ -------------------------------------------------
7583
+ ActiveRecordCheckTest: test_given_nil_as_a_config
7584
+ -------------------------------------------------
7585
+  (0.1ms) ROLLBACK
7586
+  (0.1ms) BEGIN
7587
+ ------------------------------------------------------------------------------
7588
+ RepositoryTest: test_adds_a_check_to_the_repository_for_the_critical_checklist
7589
+ ------------------------------------------------------------------------------
7590
+  (0.1ms) ROLLBACK
7591
+  (0.1ms) BEGIN
7592
+ --------------------------------------------------------------------------
7593
+ RepositoryTest: test_adds_checks_marked_critical_to_the_critical_checklist
7594
+ --------------------------------------------------------------------------
7595
+  (0.1ms) ROLLBACK
7596
+  (0.1ms) BEGIN
7597
+ --------------------------------------------
7598
+ RepositoryTest: test_fetches_a_check_by_name
7599
+ --------------------------------------------
7600
+  (0.1ms) ROLLBACK
7601
+  (0.1ms) BEGIN
7602
+ -----------------------------------------------------
7603
+ RepositoryTest: test_fetches_a_critical_check_by_name
7604
+ -----------------------------------------------------
7605
+  (0.1ms) ROLLBACK
7606
+  (0.1ms) BEGIN
7607
+ ---------------------------------------------------
7608
+ RepositoryTest: test_returns_a_checklist_when_asked
7609
+ ---------------------------------------------------
7610
+  (0.1ms) ROLLBACK
7611
+  (0.1ms) BEGIN
7612
+ ---------------------------------------------------------
7613
+ RepositoryTest: test_we_can_add_a_check_to_the_repository
7614
+ ---------------------------------------------------------
7615
+  (0.1ms) ROLLBACK
7616
+  (0.1ms) BEGIN
7617
+ --------------------------------------------------------------
7618
+ RepositoryTest: test_we_can_remove_a_check_from_the_repository
7619
+ --------------------------------------------------------------
7620
+  (0.1ms) ROLLBACK
7621
+  (0.1ms) BEGIN
7622
+ ------------------------------------------------------------
7623
+ Easymon::ChecksControllerTest: test_index_returns_valid_json
7624
+ ------------------------------------------------------------
7625
+ Processing by Easymon::ChecksController#index as JSON
7626
+  (0.2ms) SELECT 1=1
7627
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
7628
+  (0.1ms) ROLLBACK
7629
+  (0.1ms) BEGIN
7630
+ ---------------------------------------------------------------------
7631
+ Easymon::ChecksControllerTest: test_index_when_a_critical_check_fails
7632
+ ---------------------------------------------------------------------
7633
+ Processing by Easymon::ChecksController#index as HTML
7634
+ Completed 503 Service Unavailable in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
7635
+  (0.1ms) ROLLBACK
7636
+  (0.1ms) BEGIN
7637
+ -------------------------------------------------------------------------
7638
+ Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails
7639
+ -------------------------------------------------------------------------
7640
+ Processing by Easymon::ChecksController#index as HTML
7641
+  (0.2ms) SELECT 1=1
7642
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
7643
+  (0.1ms) ROLLBACK
7644
+  (0.1ms) BEGIN
7645
+ --------------------------------------------------------------
7646
+ Easymon::ChecksControllerTest: test_index_when_all_checks_pass
7647
+ --------------------------------------------------------------
7648
+ Processing by Easymon::ChecksController#index as HTML
7649
+  (0.1ms) SELECT 1=1
7650
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
7651
+  (0.1ms) ROLLBACK
7652
+  (0.1ms) BEGIN
7653
+ --------------------------------------------------------------------
7654
+ Easymon::ChecksControllerTest: test_index_when_no_checks_are_defined
7655
+ --------------------------------------------------------------------
7656
+ Processing by Easymon::ChecksController#index as HTML
7657
+ Completed 503 Service Unavailable in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
7658
+  (0.2ms) ROLLBACK
7659
+  (0.1ms) BEGIN
7660
+ ------------------------------------------------------------------
7661
+ Easymon::ChecksControllerTest: test_show_if_the_check_is_not_found
7662
+ ------------------------------------------------------------------
7663
+ Processing by Easymon::ChecksController#show as HTML
7664
+ Parameters: {"check"=>"database"}
7665
+ Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
7666
+  (0.1ms) ROLLBACK
7667
+  (0.1ms) BEGIN
7668
+ -------------------------------------------------------------------
7669
+ Easymon::ChecksControllerTest: test_show_json_when_the_check_passes
7670
+ -------------------------------------------------------------------
7671
+ Processing by Easymon::ChecksController#show as JSON
7672
+ Parameters: {"check"=>"database"}
7673
+  (0.2ms) SELECT 1=1
7674
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
7675
+  (0.1ms) ROLLBACK
7676
+  (0.1ms) BEGIN
7677
+ -------------------------------------------------------------
7678
+ Easymon::ChecksControllerTest: test_show_when_the_check_fails
7679
+ -------------------------------------------------------------
7680
+ Processing by Easymon::ChecksController#show as HTML
7681
+ Parameters: {"check"=>"database"}
7682
+ Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
7683
+  (0.1ms) ROLLBACK
7684
+  (0.1ms) BEGIN
7685
+ --------------------------------------------------------------
7686
+ Easymon::ChecksControllerTest: test_show_when_the_check_passes
7687
+ --------------------------------------------------------------
7688
+ Processing by Easymon::ChecksController#show as HTML
7689
+ Parameters: {"check"=>"database"}
7690
+  (0.1ms) SELECT 1=1
7691
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
7692
+  (0.1ms) ROLLBACK
7693
+  (0.1ms) BEGIN
7694
+ ---------------------------------------------------------------------
7695
+ MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
7696
+ ---------------------------------------------------------------------
7697
+  (0.1ms) ROLLBACK
7698
+  (0.1ms) BEGIN
7699
+ -----------------------------------------------------------------------
7700
+ MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run
7701
+ -----------------------------------------------------------------------
7702
+ Dalli::Server#connect 127.0.0.1:11211
7703
+  (0.1ms) ROLLBACK
7704
+  (0.1ms) BEGIN
7705
+ ------------------------------------------------------------------
7706
+ MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers
7707
+ ------------------------------------------------------------------
7708
+  (0.1ms) ROLLBACK
7709
+  (0.1ms) BEGIN
7710
+ ---------------------------------------------------------
7711
+ MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache
7712
+ ---------------------------------------------------------
7713
+  (0.1ms) ROLLBACK
7714
+  (0.1ms) BEGIN
7715
+ ---------------------------------------------------------------------
7716
+ SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
7717
+ ---------------------------------------------------------------------
7718
+  (0.1ms) ROLLBACK
7719
+  (0.1ms) BEGIN
7720
+ -----------------------------------------------------------------------
7721
+ SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run
7722
+ -----------------------------------------------------------------------
7723
+  (0.1ms) ROLLBACK
7724
+  (0.1ms) BEGIN
7725
+ ----------------------------------------------------------------------------
7726
+ TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run
7727
+ ----------------------------------------------------------------------------
7728
+  (0.1ms) ROLLBACK
7729
+  (0.1ms) BEGIN
7730
+ ------------------------------------------------------------------------------
7731
+ TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run
7732
+ ------------------------------------------------------------------------------
7733
+  (0.1ms) ROLLBACK
7734
+  (0.1ms) BEGIN
7735
+ ----------------------------------------------------------------
7736
+ HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
7737
+ ----------------------------------------------------------------
7738
+  (0.1ms) ROLLBACK
7739
+  (0.1ms) BEGIN
7740
+ ------------------------------------------------------------------
7741
+ HttpCheckTest: test_#run_sets_success_conditions_on_successful_run
7742
+ ------------------------------------------------------------------
7743
+  (0.1ms) ROLLBACK
7744
+  (0.1ms) BEGIN
7745
+ --------------------------------------
7746
+ HttpCheckTest: test_given_nil_as_a_url
7747
+ --------------------------------------
7748
+  (0.1ms) ROLLBACK
7749
+  (0.1ms) BEGIN
7750
+ --------------------------------------------------------------------------------
7751
+ SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down
7752
+ --------------------------------------------------------------------------------
7753
+  (0.1ms) SELECT 1=1
7754
+  (0.1ms) ROLLBACK
7755
+  (0.1ms) BEGIN
7756
+  (0.1ms) BEGIN
7757
+ -------------------------------------------------------------------------------
7758
+ SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down
7759
+ -------------------------------------------------------------------------------
7760
+  (0.1ms) SELECT 1=1
7761
+  (0.1ms) ROLLBACK
7762
+  (0.1ms) BEGIN
7763
+  (0.1ms) BEGIN
7764
+ -------------------------------------------------------------------------------
7765
+ SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run
7766
+ -------------------------------------------------------------------------------
7767
+  (0.1ms) SELECT 1=1
7768
+  (0.1ms) SELECT 1=1
7769
+  (0.1ms) ROLLBACK
7770
+  (0.1ms) BEGIN
7771
+  (0.1ms) BEGIN
7772
+ ------------------------------------------------------
7773
+ SplitActiveRecordCheckTest: test_given_nil_as_a_config
7774
+ ------------------------------------------------------
7775
+  (0.1ms) ROLLBACK
7776
+  (0.1ms) ROLLBACK
7777
+  (0.1ms) BEGIN
7778
+  (0.1ms) BEGIN
7779
+ -----------------------------------------------------------------
7780
+ RedisCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
7781
+ -----------------------------------------------------------------
7782
+  (0.1ms) ROLLBACK
7783
+  (0.1ms) ROLLBACK
7784
+  (0.1ms) BEGIN
7785
+  (0.1ms) BEGIN
7786
+ -------------------------------------------------------------------
7787
+ RedisCheckTest: test_#run_sets_success_conditions_on_successful_run
7788
+ -------------------------------------------------------------------
7789
+  (0.1ms) ROLLBACK
7790
+  (0.1ms) ROLLBACK
7791
+  (0.1ms) BEGIN
7792
+  (0.1ms) BEGIN
7793
+ ------------------------------------------
7794
+ RedisCheckTest: test_given_nil_as_a_config
7795
+ ------------------------------------------
7796
+  (0.1ms) ROLLBACK
7797
+  (0.1ms) ROLLBACK
7798
+  (0.1ms) BEGIN
7799
+  (0.1ms) BEGIN
7800
+ ---------------------------------------------------------------------
7801
+ ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass
7802
+ ---------------------------------------------------------------------
7803
+  (0.1ms) SELECT 1=1
7804
+  (0.1ms) ROLLBACK
7805
+  (0.1ms) ROLLBACK
7806
+  (0.1ms) BEGIN
7807
+  (0.1ms) BEGIN
7808
+ ------------------------------------------------------------------------------------
7809
+ ChecklistTest: test_#response_status_returns_:service_unavailable_when_a_check_fails
7810
+ ------------------------------------------------------------------------------------
7811
+  (0.2ms) SELECT 1=1
7812
+  (0.1ms) ROLLBACK
7813
+  (0.1ms) ROLLBACK
7814
+  (0.1ms) BEGIN
7815
+  (0.1ms) BEGIN
7816
+ -----------------------------------------------------------------
7817
+ ChecklistTest: test_#success?_returns_false_when_results_is_empty
7818
+ -----------------------------------------------------------------
7819
+  (0.1ms) ROLLBACK
7820
+  (0.1ms) ROLLBACK
7821
+  (0.1ms) BEGIN
7822
+  (0.1ms) BEGIN
7823
+ ---------------------------------------------------------
7824
+ ChecklistTest: test_#timing_is_a_sum_of_all_check_results
7825
+ ---------------------------------------------------------
7826
+  (0.1ms) ROLLBACK
7827
+  (0.1ms) ROLLBACK
7828
+  (0.1ms) BEGIN
7829
+  (0.1ms) BEGIN
7830
+ -------------------------------------------------------------------------
7831
+ ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist
7832
+ -------------------------------------------------------------------------
7833
+  (0.2ms) SELECT 1=1
7834
+  (0.1ms) ROLLBACK
7835
+  (0.1ms) ROLLBACK
7836
+  (0.1ms) BEGIN
7837
+  (0.1ms) BEGIN
7838
+ ----------------------------------------------
7839
+ ChecklistTest: test_can_look_up_checks_by_name
7840
+ ----------------------------------------------
7841
+  (0.1ms) ROLLBACK
7842
+  (0.1ms) ROLLBACK
7843
+  (0.1ms) BEGIN
7844
+  (0.1ms) BEGIN
7845
+ ---------------------------------------------
7846
+ ChecklistTest: test_cat_fetch_a_check_by_name
7847
+ ---------------------------------------------
7848
+  (0.1ms) ROLLBACK
7849
+  (0.1ms) ROLLBACK
7850
+  (0.1ms) BEGIN
7851
+  (0.1ms) BEGIN
7852
+ -------------------------------------------------------------------
7853
+ ChecklistTest: test_it_knows_the_number_of_checks_in_the_Repository
7854
+ -------------------------------------------------------------------
7855
+  (0.1ms) ROLLBACK
7856
+  (0.1ms) ROLLBACK
7857
+  (0.1ms) BEGIN
7858
+  (0.1ms) BEGIN
7859
+ ------------------------------------------
7860
+ ChecklistTest: test_it_will_run_each_check
7861
+ ------------------------------------------
7862
+  (0.1ms) SELECT 1=1
7863
+  (0.1ms) ROLLBACK
7864
+  (0.1ms) ROLLBACK
7865
+  (0.2ms) BEGIN
7866
+ ------------------------------------------------------------
7867
+ Easymon::ChecksControllerTest: test_index_returns_valid_json
7868
+ ------------------------------------------------------------
7869
+ Processing by Easymon::ChecksController#index as JSON
7870
+  (0.2ms) SELECT 1=1
7871
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
7872
+  (0.1ms) ROLLBACK
7873
+  (0.1ms) BEGIN
7874
+ ---------------------------------------------------------------------
7875
+ Easymon::ChecksControllerTest: test_index_when_a_critical_check_fails
7876
+ ---------------------------------------------------------------------
7877
+ Processing by Easymon::ChecksController#index as HTML
7878
+ Completed 503 Service Unavailable in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
7879
+  (0.1ms) ROLLBACK
7880
+  (0.1ms) BEGIN
7881
+ -------------------------------------------------------------------------
7882
+ Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails
7883
+ -------------------------------------------------------------------------
7884
+ Processing by Easymon::ChecksController#index as HTML
7885
+  (0.2ms) SELECT 1=1
7886
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
7887
+  (0.1ms) ROLLBACK
7888
+  (0.1ms) BEGIN
7889
+ --------------------------------------------------------------
7890
+ Easymon::ChecksControllerTest: test_index_when_all_checks_pass
7891
+ --------------------------------------------------------------
7892
+ Processing by Easymon::ChecksController#index as HTML
7893
+  (0.1ms) SELECT 1=1
7894
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
7895
+  (0.1ms) ROLLBACK
7896
+  (0.1ms) BEGIN
7897
+ --------------------------------------------------------------------
7898
+ Easymon::ChecksControllerTest: test_index_when_no_checks_are_defined
7899
+ --------------------------------------------------------------------
7900
+ Processing by Easymon::ChecksController#index as HTML
7901
+ Completed 503 Service Unavailable in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
7902
+  (0.1ms) ROLLBACK
7903
+  (0.1ms) BEGIN
7904
+ ------------------------------------------------------------------
7905
+ Easymon::ChecksControllerTest: test_show_if_the_check_is_not_found
7906
+ ------------------------------------------------------------------
7907
+ Processing by Easymon::ChecksController#show as HTML
7908
+ Parameters: {"check"=>"database"}
7909
+ Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
7910
+  (0.1ms) ROLLBACK
7911
+  (0.1ms) BEGIN
7912
+ -------------------------------------------------------------------
7913
+ Easymon::ChecksControllerTest: test_show_json_when_the_check_passes
7914
+ -------------------------------------------------------------------
7915
+ Processing by Easymon::ChecksController#show as JSON
7916
+ Parameters: {"check"=>"database"}
7917
+  (0.1ms) SELECT 1=1
7918
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
7919
+  (0.1ms) ROLLBACK
7920
+  (0.1ms) BEGIN
7921
+ -------------------------------------------------------------
7922
+ Easymon::ChecksControllerTest: test_show_when_the_check_fails
7923
+ -------------------------------------------------------------
7924
+ Processing by Easymon::ChecksController#show as HTML
7925
+ Parameters: {"check"=>"database"}
7926
+ Completed 503 Service Unavailable in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
7927
+  (0.1ms) ROLLBACK
7928
+  (0.1ms) BEGIN
7929
+ --------------------------------------------------------------
7930
+ Easymon::ChecksControllerTest: test_show_when_the_check_passes
7931
+ --------------------------------------------------------------
7932
+ Processing by Easymon::ChecksController#show as HTML
7933
+ Parameters: {"check"=>"database"}
7934
+  (0.2ms) SELECT 1=1
7935
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
7936
+  (0.2ms) ROLLBACK
7937
+  (0.3ms) BEGIN
7938
+ -----------------------------------------------------------------
7939
+ RedisCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
7940
+ -----------------------------------------------------------------
7941
+  (0.2ms) ROLLBACK
7942
+  (0.1ms) BEGIN
7943
+ -------------------------------------------------------------------
7944
+ RedisCheckTest: test_#run_sets_success_conditions_on_successful_run
7945
+ -------------------------------------------------------------------
7946
+  (0.1ms) ROLLBACK
7947
+  (0.1ms) BEGIN
7948
+ ------------------------------------------
7949
+ RedisCheckTest: test_given_nil_as_a_config
7950
+ ------------------------------------------
7951
+  (0.2ms) ROLLBACK
7952
+  (0.1ms) BEGIN
7953
+ ---------------------------------------------------------------------
7954
+ MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
7955
+ ---------------------------------------------------------------------
7956
+  (0.1ms) ROLLBACK
7957
+  (0.1ms) BEGIN
7958
+ -----------------------------------------------------------------------
7959
+ MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run
7960
+ -----------------------------------------------------------------------
7961
+ Dalli::Server#connect 127.0.0.1:11211
7962
+  (0.1ms) ROLLBACK
7963
+  (0.1ms) BEGIN
7964
+ ------------------------------------------------------------------
7965
+ MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers
7966
+ ------------------------------------------------------------------
7967
+  (0.1ms) ROLLBACK
7968
+  (0.1ms) BEGIN
7969
+ ---------------------------------------------------------
7970
+ MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache
7971
+ ---------------------------------------------------------
7972
+  (0.1ms) ROLLBACK
7973
+  (0.1ms) BEGIN
7974
+ ----------------------------------------------------------------------------
7975
+ TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run
7976
+ ----------------------------------------------------------------------------
7977
+  (0.1ms) ROLLBACK
7978
+  (0.1ms) BEGIN
7979
+ ------------------------------------------------------------------------------
7980
+ TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run
7981
+ ------------------------------------------------------------------------------
7982
+  (0.1ms) ROLLBACK
7983
+  (0.1ms) BEGIN
7984
+ --------------------------------------------------------------------------
7985
+ ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run
7986
+ --------------------------------------------------------------------------
7987
+  (0.1ms) ROLLBACK
7988
+  (0.1ms) BEGIN
7989
+ ----------------------------------------------------------------------------
7990
+ ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run
7991
+ ----------------------------------------------------------------------------
7992
+  (0.1ms) SELECT 1=1
7993
+  (0.1ms) ROLLBACK
7994
+  (0.1ms) BEGIN
7995
+ -------------------------------------------------
7996
+ ActiveRecordCheckTest: test_given_nil_as_a_config
7997
+ -------------------------------------------------
7998
+  (0.1ms) ROLLBACK
7999
+  (0.1ms) BEGIN
8000
+ ------------------------------------------------------------------------------
8001
+ RepositoryTest: test_adds_a_check_to_the_repository_for_the_critical_checklist
8002
+ ------------------------------------------------------------------------------
8003
+  (0.1ms) ROLLBACK
8004
+  (0.1ms) BEGIN
8005
+ --------------------------------------------------------------------------
8006
+ RepositoryTest: test_adds_checks_marked_critical_to_the_critical_checklist
8007
+ --------------------------------------------------------------------------
8008
+  (0.1ms) ROLLBACK
8009
+  (0.1ms) BEGIN
8010
+ --------------------------------------------
8011
+ RepositoryTest: test_fetches_a_check_by_name
8012
+ --------------------------------------------
8013
+  (0.1ms) ROLLBACK
8014
+  (0.1ms) BEGIN
8015
+ -----------------------------------------------------
8016
+ RepositoryTest: test_fetches_a_critical_check_by_name
8017
+ -----------------------------------------------------
8018
+  (0.1ms) ROLLBACK
8019
+  (0.1ms) BEGIN
8020
+ ---------------------------------------------------
8021
+ RepositoryTest: test_returns_a_checklist_when_asked
8022
+ ---------------------------------------------------
8023
+  (0.1ms) ROLLBACK
8024
+  (0.1ms) BEGIN
8025
+ ---------------------------------------------------------
8026
+ RepositoryTest: test_we_can_add_a_check_to_the_repository
8027
+ ---------------------------------------------------------
8028
+  (0.1ms) ROLLBACK
8029
+  (0.1ms) BEGIN
8030
+ --------------------------------------------------------------
8031
+ RepositoryTest: test_we_can_remove_a_check_from_the_repository
8032
+ --------------------------------------------------------------
8033
+  (0.1ms) ROLLBACK
8034
+  (0.1ms) BEGIN
8035
+ ----------------------------------------------------------------
8036
+ HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
8037
+ ----------------------------------------------------------------
8038
+  (0.1ms) ROLLBACK
8039
+  (0.1ms) BEGIN
8040
+ ------------------------------------------------------------------
8041
+ HttpCheckTest: test_#run_sets_success_conditions_on_successful_run
8042
+ ------------------------------------------------------------------
8043
+  (0.1ms) ROLLBACK
8044
+  (0.1ms) BEGIN
8045
+ --------------------------------------
8046
+ HttpCheckTest: test_given_nil_as_a_url
8047
+ --------------------------------------
8048
+  (0.1ms) ROLLBACK
8049
+  (0.1ms) BEGIN
8050
+ --------------------------------------------------------------------------------
8051
+ SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down
8052
+ --------------------------------------------------------------------------------
8053
+  (0.1ms) SELECT 1=1
8054
+  (0.1ms) ROLLBACK
8055
+  (0.1ms) BEGIN
8056
+  (0.1ms) BEGIN
8057
+ -------------------------------------------------------------------------------
8058
+ SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down
8059
+ -------------------------------------------------------------------------------
8060
+  (0.1ms) SELECT 1=1
8061
+  (0.1ms) ROLLBACK
8062
+  (0.1ms) BEGIN
8063
+  (0.1ms) BEGIN
8064
+ -------------------------------------------------------------------------------
8065
+ SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run
8066
+ -------------------------------------------------------------------------------
8067
+  (0.1ms) SELECT 1=1
8068
+  (0.1ms) SELECT 1=1
8069
+  (0.1ms) ROLLBACK
8070
+  (0.1ms) BEGIN
8071
+  (0.1ms) BEGIN
8072
+ ------------------------------------------------------
8073
+ SplitActiveRecordCheckTest: test_given_nil_as_a_config
8074
+ ------------------------------------------------------
8075
+  (0.1ms) ROLLBACK
8076
+  (0.1ms) ROLLBACK
8077
+  (0.1ms) BEGIN
8078
+  (0.1ms) BEGIN
8079
+ ---------------------------------------------------------------------
8080
+ ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass
8081
+ ---------------------------------------------------------------------
8082
+  (0.2ms) SELECT 1=1
8083
+  (0.1ms) ROLLBACK
8084
+  (0.1ms) ROLLBACK
8085
+  (0.1ms) BEGIN
8086
+  (0.1ms) BEGIN
8087
+ ------------------------------------------------------------------------------------
8088
+ ChecklistTest: test_#response_status_returns_:service_unavailable_when_a_check_fails
8089
+ ------------------------------------------------------------------------------------
8090
+  (0.2ms) SELECT 1=1
8091
+  (0.1ms) ROLLBACK
8092
+  (0.1ms) ROLLBACK
8093
+  (0.1ms) BEGIN
8094
+  (0.1ms) BEGIN
8095
+ -----------------------------------------------------------------
8096
+ ChecklistTest: test_#success?_returns_false_when_results_is_empty
8097
+ -----------------------------------------------------------------
8098
+  (0.1ms) ROLLBACK
8099
+  (0.1ms) ROLLBACK
8100
+  (0.1ms) BEGIN
8101
+  (0.1ms) BEGIN
8102
+ ---------------------------------------------------------
8103
+ ChecklistTest: test_#timing_is_a_sum_of_all_check_results
8104
+ ---------------------------------------------------------
8105
+  (0.1ms) ROLLBACK
8106
+  (0.1ms) ROLLBACK
8107
+  (0.1ms) BEGIN
8108
+  (0.1ms) BEGIN
8109
+ -------------------------------------------------------------------------
8110
+ ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist
8111
+ -------------------------------------------------------------------------
8112
+  (0.1ms) SELECT 1=1
8113
+  (0.1ms) ROLLBACK
8114
+  (0.1ms) ROLLBACK
8115
+  (0.1ms) BEGIN
8116
+  (0.1ms) BEGIN
8117
+ ----------------------------------------------
8118
+ ChecklistTest: test_can_look_up_checks_by_name
8119
+ ----------------------------------------------
8120
+  (0.1ms) ROLLBACK
8121
+  (0.1ms) ROLLBACK
8122
+  (0.1ms) BEGIN
8123
+  (0.1ms) BEGIN
8124
+ ---------------------------------------------
8125
+ ChecklistTest: test_cat_fetch_a_check_by_name
8126
+ ---------------------------------------------
8127
+  (0.1ms) ROLLBACK
8128
+  (0.1ms) ROLLBACK
8129
+  (0.1ms) BEGIN
8130
+  (0.1ms) BEGIN
8131
+ -------------------------------------------------------------------
8132
+ ChecklistTest: test_it_knows_the_number_of_checks_in_the_Repository
8133
+ -------------------------------------------------------------------
8134
+  (0.1ms) ROLLBACK
8135
+  (0.1ms) ROLLBACK
8136
+  (0.1ms) BEGIN
8137
+  (0.1ms) BEGIN
8138
+ ------------------------------------------
8139
+ ChecklistTest: test_it_will_run_each_check
8140
+ ------------------------------------------
8141
+  (0.1ms) SELECT 1=1
8142
+  (0.1ms) ROLLBACK
8143
+  (0.1ms) ROLLBACK
8144
+  (0.1ms) BEGIN
8145
+  (0.1ms) BEGIN
8146
+ ---------------------------------------------------------------------
8147
+ SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
8148
+ ---------------------------------------------------------------------
8149
+  (0.1ms) ROLLBACK
8150
+  (0.1ms) ROLLBACK
8151
+  (0.1ms) BEGIN
8152
+  (0.1ms) BEGIN
8153
+ -----------------------------------------------------------------------
8154
+ SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run
8155
+ -----------------------------------------------------------------------
8156
+  (0.1ms) ROLLBACK
8157
+  (0.1ms) ROLLBACK
8158
+  (0.2ms) BEGIN
8159
+ ------------------------------------------------------------
8160
+ Easymon::ChecksControllerTest: test_index_returns_valid_json
8161
+ ------------------------------------------------------------
8162
+ Processing by Easymon::ChecksController#index as JSON
8163
+  (0.2ms) SELECT 1=1
8164
+ Completed 500 Internal Server Error in 1ms
8165
+  (0.1ms) ROLLBACK
8166
+  (0.1ms) BEGIN
8167
+ ---------------------------------------------------------------------
8168
+ Easymon::ChecksControllerTest: test_index_when_a_critical_check_fails
8169
+ ---------------------------------------------------------------------
8170
+ Processing by Easymon::ChecksController#index as HTML
8171
+ Completed 503 Service Unavailable in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
8172
+  (0.2ms) ROLLBACK
8173
+  (0.1ms) BEGIN
8174
+ -------------------------------------------------------------------------
8175
+ Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails
8176
+ -------------------------------------------------------------------------
8177
+ Processing by Easymon::ChecksController#index as HTML
8178
+  (0.2ms) SELECT 1=1
8179
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
8180
+  (0.1ms) ROLLBACK
8181
+  (0.1ms) BEGIN
8182
+ --------------------------------------------------------------
8183
+ Easymon::ChecksControllerTest: test_index_when_all_checks_pass
8184
+ --------------------------------------------------------------
8185
+ Processing by Easymon::ChecksController#index as HTML
8186
+  (0.2ms) SELECT 1=1
8187
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
8188
+  (0.1ms) ROLLBACK
8189
+  (0.1ms) BEGIN
8190
+ --------------------------------------------------------------------
8191
+ Easymon::ChecksControllerTest: test_index_when_no_checks_are_defined
8192
+ --------------------------------------------------------------------
8193
+ Processing by Easymon::ChecksController#index as HTML
8194
+ Completed 503 Service Unavailable in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8195
+  (0.1ms) ROLLBACK
8196
+  (0.1ms) BEGIN
8197
+ ------------------------------------------------------------------
8198
+ Easymon::ChecksControllerTest: test_show_if_the_check_is_not_found
8199
+ ------------------------------------------------------------------
8200
+ Processing by Easymon::ChecksController#show as HTML
8201
+ Parameters: {"check"=>"database"}
8202
+ Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8203
+  (0.1ms) ROLLBACK
8204
+  (0.1ms) BEGIN
8205
+ -------------------------------------------------------------------
8206
+ Easymon::ChecksControllerTest: test_show_json_when_the_check_passes
8207
+ -------------------------------------------------------------------
8208
+ Processing by Easymon::ChecksController#show as JSON
8209
+ Parameters: {"check"=>"database"}
8210
+  (0.2ms) SELECT 1=1
8211
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
8212
+  (0.2ms) ROLLBACK
8213
+  (0.1ms) BEGIN
8214
+ -------------------------------------------------------------
8215
+ Easymon::ChecksControllerTest: test_show_when_the_check_fails
8216
+ -------------------------------------------------------------
8217
+ Processing by Easymon::ChecksController#show as HTML
8218
+ Parameters: {"check"=>"database"}
8219
+ Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
8220
+  (0.1ms) ROLLBACK
8221
+  (0.1ms) BEGIN
8222
+ --------------------------------------------------------------
8223
+ Easymon::ChecksControllerTest: test_show_when_the_check_passes
8224
+ --------------------------------------------------------------
8225
+ Processing by Easymon::ChecksController#show as HTML
8226
+ Parameters: {"check"=>"database"}
8227
+  (0.1ms) SELECT 1=1
8228
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.1ms)
8229
+  (0.1ms) ROLLBACK
8230
+  (0.1ms) BEGIN
8231
+ ----------------------------------------------------------------
8232
+ HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
8233
+ ----------------------------------------------------------------
8234
+  (0.1ms) ROLLBACK
8235
+  (0.1ms) BEGIN
8236
+ ------------------------------------------------------------------
8237
+ HttpCheckTest: test_#run_sets_success_conditions_on_successful_run
8238
+ ------------------------------------------------------------------
8239
+  (0.1ms) ROLLBACK
8240
+  (0.1ms) BEGIN
8241
+ --------------------------------------
8242
+ HttpCheckTest: test_given_nil_as_a_url
8243
+ --------------------------------------
8244
+  (0.1ms) ROLLBACK
8245
+  (0.1ms) BEGIN
8246
+ --------------------------------------------------------------------------------
8247
+ SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down
8248
+ --------------------------------------------------------------------------------
8249
+  (0.1ms) SELECT 1=1
8250
+  (0.1ms) ROLLBACK
8251
+  (0.1ms) BEGIN
8252
+  (0.1ms) BEGIN
8253
+ -------------------------------------------------------------------------------
8254
+ SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down
8255
+ -------------------------------------------------------------------------------
8256
+  (0.1ms) SELECT 1=1
8257
+  (0.1ms) ROLLBACK
8258
+  (0.1ms) BEGIN
8259
+  (0.1ms) BEGIN
8260
+ -------------------------------------------------------------------------------
8261
+ SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run
8262
+ -------------------------------------------------------------------------------
8263
+  (0.1ms) SELECT 1=1
8264
+  (0.1ms) SELECT 1=1
8265
+  (0.1ms) ROLLBACK
8266
+  (0.1ms) BEGIN
8267
+  (0.1ms) BEGIN
8268
+ ------------------------------------------------------
8269
+ SplitActiveRecordCheckTest: test_given_nil_as_a_config
8270
+ ------------------------------------------------------
8271
+  (0.1ms) ROLLBACK
8272
+  (0.1ms) ROLLBACK
8273
+  (0.2ms) BEGIN
8274
+  (0.1ms) BEGIN
8275
+ --------------------------------------------------------------------------
8276
+ ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run
8277
+ --------------------------------------------------------------------------
8278
+  (0.1ms) ROLLBACK
8279
+  (0.1ms) ROLLBACK
8280
+  (0.1ms) BEGIN
8281
+  (0.1ms) BEGIN
8282
+ ----------------------------------------------------------------------------
8283
+ ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run
8284
+ ----------------------------------------------------------------------------
8285
+  (0.1ms) SELECT 1=1
8286
+  (0.1ms) ROLLBACK
8287
+  (0.1ms) ROLLBACK
8288
+  (0.1ms) BEGIN
8289
+  (0.1ms) BEGIN
8290
+ -------------------------------------------------
8291
+ ActiveRecordCheckTest: test_given_nil_as_a_config
8292
+ -------------------------------------------------
8293
+  (0.1ms) ROLLBACK
8294
+  (0.1ms) ROLLBACK
8295
+  (0.1ms) BEGIN
8296
+  (0.1ms) BEGIN
8297
+ ----------------------------------------------------------------------------
8298
+ TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run
8299
+ ----------------------------------------------------------------------------
8300
+  (0.1ms) ROLLBACK
8301
+  (0.1ms) ROLLBACK
8302
+  (0.1ms) BEGIN
8303
+  (0.1ms) BEGIN
8304
+ ------------------------------------------------------------------------------
8305
+ TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run
8306
+ ------------------------------------------------------------------------------
8307
+  (0.1ms) ROLLBACK
8308
+  (0.1ms) ROLLBACK
8309
+  (0.1ms) BEGIN
8310
+  (0.1ms) BEGIN
8311
+ -----------------------------------------------------------------
8312
+ RedisCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
8313
+ -----------------------------------------------------------------
8314
+  (0.1ms) ROLLBACK
8315
+  (0.1ms) ROLLBACK
8316
+  (0.1ms) BEGIN
8317
+  (0.1ms) BEGIN
8318
+ -------------------------------------------------------------------
8319
+ RedisCheckTest: test_#run_sets_success_conditions_on_successful_run
8320
+ -------------------------------------------------------------------
8321
+  (0.1ms) ROLLBACK
8322
+  (0.1ms) ROLLBACK
8323
+  (0.1ms) BEGIN
8324
+  (0.1ms) BEGIN
8325
+ ------------------------------------------
8326
+ RedisCheckTest: test_given_nil_as_a_config
8327
+ ------------------------------------------
8328
+  (0.1ms) ROLLBACK
8329
+  (0.1ms) ROLLBACK
8330
+  (0.1ms) BEGIN
8331
+  (0.1ms) BEGIN
8332
+ ------------------------------------------------------------------------------
8333
+ RepositoryTest: test_adds_a_check_to_the_repository_for_the_critical_checklist
8334
+ ------------------------------------------------------------------------------
8335
+  (0.1ms) ROLLBACK
8336
+  (0.1ms) ROLLBACK
8337
+  (0.1ms) BEGIN
8338
+  (0.1ms) BEGIN
8339
+ --------------------------------------------------------------------------
8340
+ RepositoryTest: test_adds_checks_marked_critical_to_the_critical_checklist
8341
+ --------------------------------------------------------------------------
8342
+  (0.1ms) ROLLBACK
8343
+  (0.1ms) ROLLBACK
8344
+  (0.1ms) BEGIN
8345
+  (0.1ms) BEGIN
8346
+ --------------------------------------------
8347
+ RepositoryTest: test_fetches_a_check_by_name
8348
+ --------------------------------------------
8349
+  (0.1ms) ROLLBACK
8350
+  (0.1ms) ROLLBACK
8351
+  (0.1ms) BEGIN
8352
+  (0.1ms) BEGIN
8353
+ -----------------------------------------------------
8354
+ RepositoryTest: test_fetches_a_critical_check_by_name
8355
+ -----------------------------------------------------
8356
+  (0.1ms) ROLLBACK
8357
+  (0.1ms) ROLLBACK
8358
+  (0.1ms) BEGIN
8359
+  (0.1ms) BEGIN
8360
+ ---------------------------------------------------
8361
+ RepositoryTest: test_returns_a_checklist_when_asked
8362
+ ---------------------------------------------------
8363
+  (0.1ms) ROLLBACK
8364
+  (0.1ms) ROLLBACK
8365
+  (0.1ms) BEGIN
8366
+  (0.1ms) BEGIN
8367
+ ---------------------------------------------------------
8368
+ RepositoryTest: test_we_can_add_a_check_to_the_repository
8369
+ ---------------------------------------------------------
8370
+  (0.1ms) ROLLBACK
8371
+  (0.1ms) ROLLBACK
8372
+  (0.1ms) BEGIN
8373
+  (0.1ms) BEGIN
8374
+ --------------------------------------------------------------
8375
+ RepositoryTest: test_we_can_remove_a_check_from_the_repository
8376
+ --------------------------------------------------------------
8377
+  (0.1ms) ROLLBACK
8378
+  (0.1ms) ROLLBACK
8379
+  (0.1ms) BEGIN
8380
+  (0.1ms) BEGIN
8381
+ ---------------------------------------------------------------------
8382
+ ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass
8383
+ ---------------------------------------------------------------------
8384
+  (0.1ms) SELECT 1=1
8385
+ Dalli::Server#connect 127.0.0.1:11211
8386
+  (0.1ms) ROLLBACK
8387
+  (0.1ms) ROLLBACK
8388
+  (0.1ms) BEGIN
8389
+  (0.1ms) BEGIN
8390
+ ------------------------------------------------------------------------------------
8391
+ ChecklistTest: test_#response_status_returns_:service_unavailable_when_a_check_fails
8392
+ ------------------------------------------------------------------------------------
8393
+  (0.2ms) SELECT 1=1
8394
+  (0.1ms) ROLLBACK
8395
+  (0.1ms) ROLLBACK
8396
+  (0.1ms) BEGIN
8397
+  (0.1ms) BEGIN
8398
+ -----------------------------------------------------------------
8399
+ ChecklistTest: test_#success?_returns_false_when_results_is_empty
8400
+ -----------------------------------------------------------------
8401
+  (0.1ms) ROLLBACK
8402
+  (0.1ms) ROLLBACK
8403
+  (0.1ms) BEGIN
8404
+  (0.1ms) BEGIN
8405
+ ---------------------------------------------------------
8406
+ ChecklistTest: test_#timing_is_a_sum_of_all_check_results
8407
+ ---------------------------------------------------------
8408
+  (0.1ms) ROLLBACK
8409
+  (0.1ms) ROLLBACK
8410
+  (0.1ms) BEGIN
8411
+  (0.1ms) BEGIN
8412
+ -------------------------------------------------------------------------
8413
+ ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist
8414
+ -------------------------------------------------------------------------
8415
+  (0.1ms) SELECT 1=1
8416
+  (0.1ms) ROLLBACK
8417
+  (0.1ms) ROLLBACK
8418
+  (0.1ms) BEGIN
8419
+  (0.1ms) BEGIN
8420
+ ----------------------------------------------
8421
+ ChecklistTest: test_can_look_up_checks_by_name
8422
+ ----------------------------------------------
8423
+  (0.1ms) ROLLBACK
8424
+  (0.1ms) ROLLBACK
8425
+  (0.1ms) BEGIN
8426
+  (0.1ms) BEGIN
8427
+ ---------------------------------------------
8428
+ ChecklistTest: test_cat_fetch_a_check_by_name
8429
+ ---------------------------------------------
8430
+  (0.1ms) ROLLBACK
8431
+  (0.1ms) ROLLBACK
8432
+  (0.1ms) BEGIN
8433
+  (0.1ms) BEGIN
8434
+ -------------------------------------------------------------------
8435
+ ChecklistTest: test_it_knows_the_number_of_checks_in_the_Repository
8436
+ -------------------------------------------------------------------
8437
+  (0.1ms) ROLLBACK
8438
+  (0.1ms) ROLLBACK
8439
+  (0.1ms) BEGIN
8440
+  (0.1ms) BEGIN
8441
+ ------------------------------------------
8442
+ ChecklistTest: test_it_will_run_each_check
8443
+ ------------------------------------------
8444
+  (0.1ms) SELECT 1=1
8445
+  (0.1ms) ROLLBACK
8446
+  (0.1ms) ROLLBACK
8447
+  (0.1ms) BEGIN
8448
+  (0.1ms) BEGIN
8449
+ ---------------------------------------------------------------------
8450
+ SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
8451
+ ---------------------------------------------------------------------
8452
+  (0.1ms) ROLLBACK
8453
+  (0.1ms) ROLLBACK
8454
+  (0.1ms) BEGIN
8455
+  (0.1ms) BEGIN
8456
+ -----------------------------------------------------------------------
8457
+ SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run
8458
+ -----------------------------------------------------------------------
8459
+  (0.1ms) ROLLBACK
8460
+  (0.1ms) ROLLBACK
8461
+  (0.1ms) BEGIN
8462
+  (0.1ms) BEGIN
8463
+ ---------------------------------------------------------------------
8464
+ MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
8465
+ ---------------------------------------------------------------------
8466
+  (0.1ms) ROLLBACK
8467
+  (0.1ms) ROLLBACK
8468
+  (0.1ms) BEGIN
8469
+  (0.1ms) BEGIN
8470
+ -----------------------------------------------------------------------
8471
+ MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run
8472
+ -----------------------------------------------------------------------
8473
+  (0.1ms) ROLLBACK
8474
+  (0.1ms) ROLLBACK
8475
+  (0.1ms) BEGIN
8476
+  (0.1ms) BEGIN
8477
+ ------------------------------------------------------------------
8478
+ MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers
8479
+ ------------------------------------------------------------------
8480
+  (0.1ms) ROLLBACK
8481
+  (0.1ms) ROLLBACK
8482
+  (0.1ms) BEGIN
8483
+  (0.1ms) BEGIN
8484
+ ---------------------------------------------------------
8485
+ MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache
8486
+ ---------------------------------------------------------
8487
+  (0.1ms) ROLLBACK
8488
+  (0.1ms) ROLLBACK
8489
+  (0.2ms) BEGIN
8490
+ ------------------------------------------------------------------------------
8491
+ RepositoryTest: test_adds_a_check_to_the_repository_for_the_critical_checklist
8492
+ ------------------------------------------------------------------------------
8493
+  (0.1ms) ROLLBACK
8494
+  (0.1ms) BEGIN
8495
+ --------------------------------------------------------------------------
8496
+ RepositoryTest: test_adds_checks_marked_critical_to_the_critical_checklist
8497
+ --------------------------------------------------------------------------
8498
+  (0.1ms) ROLLBACK
8499
+  (0.1ms) BEGIN
8500
+ --------------------------------------------
8501
+ RepositoryTest: test_fetches_a_check_by_name
8502
+ --------------------------------------------
8503
+  (0.1ms) ROLLBACK
8504
+  (0.1ms) BEGIN
8505
+ -----------------------------------------------------
8506
+ RepositoryTest: test_fetches_a_critical_check_by_name
8507
+ -----------------------------------------------------
8508
+  (0.1ms) ROLLBACK
8509
+  (0.1ms) BEGIN
8510
+ ---------------------------------------------------
8511
+ RepositoryTest: test_returns_a_checklist_when_asked
8512
+ ---------------------------------------------------
8513
+  (0.1ms) ROLLBACK
8514
+  (0.1ms) BEGIN
8515
+ ---------------------------------------------------------
8516
+ RepositoryTest: test_we_can_add_a_check_to_the_repository
8517
+ ---------------------------------------------------------
8518
+  (0.1ms) ROLLBACK
8519
+  (0.1ms) BEGIN
8520
+ --------------------------------------------------------------
8521
+ RepositoryTest: test_we_can_remove_a_check_from_the_repository
8522
+ --------------------------------------------------------------
8523
+  (0.1ms) ROLLBACK
8524
+  (0.1ms) BEGIN
8525
+ ----------------------------------------------------------------------------
8526
+ TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run
8527
+ ----------------------------------------------------------------------------
8528
+  (0.1ms) ROLLBACK
8529
+  (0.1ms) BEGIN
8530
+ ------------------------------------------------------------------------------
8531
+ TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run
8532
+ ------------------------------------------------------------------------------
8533
+  (0.1ms) ROLLBACK
8534
+  (0.1ms) BEGIN
8535
+ ---------------------------------------------------------------------
8536
+ SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
8537
+ ---------------------------------------------------------------------
8538
+  (0.1ms) ROLLBACK
8539
+  (0.1ms) BEGIN
8540
+ -----------------------------------------------------------------------
8541
+ SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run
8542
+ -----------------------------------------------------------------------
8543
+  (0.1ms) ROLLBACK
8544
+  (0.1ms) BEGIN
8545
+ ---------------------------------------------------------------------
8546
+ MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
8547
+ ---------------------------------------------------------------------
8548
+  (0.1ms) ROLLBACK
8549
+  (0.1ms) BEGIN
8550
+ -----------------------------------------------------------------------
8551
+ MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run
8552
+ -----------------------------------------------------------------------
8553
+ Dalli::Server#connect 127.0.0.1:11211
8554
+  (0.1ms) ROLLBACK
8555
+  (0.1ms) BEGIN
8556
+ ------------------------------------------------------------------
8557
+ MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers
8558
+ ------------------------------------------------------------------
8559
+  (0.1ms) ROLLBACK
8560
+  (0.1ms) BEGIN
8561
+ ---------------------------------------------------------
8562
+ MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache
8563
+ ---------------------------------------------------------
8564
+  (0.1ms) ROLLBACK
8565
+  (0.1ms) BEGIN
8566
+ --------------------------------------------------------------------------
8567
+ ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run
8568
+ --------------------------------------------------------------------------
8569
+  (0.1ms) ROLLBACK
8570
+  (0.1ms) BEGIN
8571
+ ----------------------------------------------------------------------------
8572
+ ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run
8573
+ ----------------------------------------------------------------------------
8574
+  (0.1ms) SELECT 1=1
8575
+  (0.1ms) ROLLBACK
8576
+  (0.1ms) BEGIN
8577
+ -------------------------------------------------
8578
+ ActiveRecordCheckTest: test_given_nil_as_a_config
8579
+ -------------------------------------------------
8580
+  (0.1ms) ROLLBACK
8581
+  (0.1ms) BEGIN
8582
+ ------------------------------------------------------------
8583
+ Easymon::ChecksControllerTest: test_index_returns_valid_json
8584
+ ------------------------------------------------------------
8585
+ Processing by Easymon::ChecksController#index as JSON
8586
+  (0.2ms) SELECT 1=1
8587
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
8588
+  (0.2ms) ROLLBACK
8589
+  (0.1ms) BEGIN
8590
+ ---------------------------------------------------------------------
8591
+ Easymon::ChecksControllerTest: test_index_when_a_critical_check_fails
8592
+ ---------------------------------------------------------------------
8593
+ Processing by Easymon::ChecksController#index as HTML
8594
+ Completed 503 Service Unavailable in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
8595
+  (0.1ms) ROLLBACK
8596
+  (0.1ms) BEGIN
8597
+ -------------------------------------------------------------------------
8598
+ Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails
8599
+ -------------------------------------------------------------------------
8600
+ Processing by Easymon::ChecksController#index as HTML
8601
+  (0.2ms) SELECT 1=1
8602
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
8603
+  (0.1ms) ROLLBACK
8604
+  (0.1ms) BEGIN
8605
+ --------------------------------------------------------------
8606
+ Easymon::ChecksControllerTest: test_index_when_all_checks_pass
8607
+ --------------------------------------------------------------
8608
+ Processing by Easymon::ChecksController#index as HTML
8609
+  (0.3ms) SELECT 1=1
8610
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.3ms)
8611
+  (0.1ms) ROLLBACK
8612
+  (0.1ms) BEGIN
8613
+ --------------------------------------------------------------------
8614
+ Easymon::ChecksControllerTest: test_index_when_no_checks_are_defined
8615
+ --------------------------------------------------------------------
8616
+ Processing by Easymon::ChecksController#index as HTML
8617
+ Completed 503 Service Unavailable in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8618
+  (0.1ms) ROLLBACK
8619
+  (0.1ms) BEGIN
8620
+ ------------------------------------------------------------------
8621
+ Easymon::ChecksControllerTest: test_show_if_the_check_is_not_found
8622
+ ------------------------------------------------------------------
8623
+ Processing by Easymon::ChecksController#show as HTML
8624
+ Parameters: {"check"=>"database"}
8625
+ Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
8626
+  (0.1ms) ROLLBACK
8627
+  (0.1ms) BEGIN
8628
+ -------------------------------------------------------------------
8629
+ Easymon::ChecksControllerTest: test_show_json_when_the_check_passes
8630
+ -------------------------------------------------------------------
8631
+ Processing by Easymon::ChecksController#show as JSON
8632
+ Parameters: {"check"=>"database"}
8633
+  (0.2ms) SELECT 1=1
8634
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
8635
+  (0.1ms) ROLLBACK
8636
+  (0.1ms) BEGIN
8637
+ -------------------------------------------------------------
8638
+ Easymon::ChecksControllerTest: test_show_when_the_check_fails
8639
+ -------------------------------------------------------------
8640
+ Processing by Easymon::ChecksController#show as HTML
8641
+ Parameters: {"check"=>"database"}
8642
+ Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
8643
+  (0.1ms) ROLLBACK
8644
+  (0.1ms) BEGIN
8645
+ --------------------------------------------------------------
8646
+ Easymon::ChecksControllerTest: test_show_when_the_check_passes
8647
+ --------------------------------------------------------------
8648
+ Processing by Easymon::ChecksController#show as HTML
8649
+ Parameters: {"check"=>"database"}
8650
+  (0.2ms) SELECT 1=1
8651
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
8652
+  (0.2ms) ROLLBACK
8653
+  (0.1ms) BEGIN
8654
+ ---------------------------------------------------------------------
8655
+ ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass
8656
+ ---------------------------------------------------------------------
8657
+  (0.2ms) SELECT 1=1
8658
+  (0.1ms) ROLLBACK
8659
+  (0.1ms) BEGIN
8660
+ ------------------------------------------------------------------------------------
8661
+ ChecklistTest: test_#response_status_returns_:service_unavailable_when_a_check_fails
8662
+ ------------------------------------------------------------------------------------
8663
+  (0.2ms) SELECT 1=1
8664
+  (0.1ms) ROLLBACK
8665
+  (0.1ms) BEGIN
8666
+ -----------------------------------------------------------------
8667
+ ChecklistTest: test_#success?_returns_false_when_results_is_empty
8668
+ -----------------------------------------------------------------
8669
+  (0.1ms) ROLLBACK
8670
+  (0.1ms) BEGIN
8671
+ ---------------------------------------------------------
8672
+ ChecklistTest: test_#timing_is_a_sum_of_all_check_results
8673
+ ---------------------------------------------------------
8674
+  (0.1ms) ROLLBACK
8675
+  (0.1ms) BEGIN
8676
+ -------------------------------------------------------------------------
8677
+ ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist
8678
+ -------------------------------------------------------------------------
8679
+  (0.1ms) SELECT 1=1
8680
+  (0.1ms) ROLLBACK
8681
+  (0.1ms) BEGIN
8682
+ ----------------------------------------------
8683
+ ChecklistTest: test_can_look_up_checks_by_name
8684
+ ----------------------------------------------
8685
+  (0.1ms) ROLLBACK
8686
+  (0.1ms) BEGIN
8687
+ ---------------------------------------------
8688
+ ChecklistTest: test_cat_fetch_a_check_by_name
8689
+ ---------------------------------------------
8690
+  (0.1ms) ROLLBACK
8691
+  (0.1ms) BEGIN
8692
+ -------------------------------------------------------------------
8693
+ ChecklistTest: test_it_knows_the_number_of_checks_in_the_Repository
8694
+ -------------------------------------------------------------------
8695
+  (0.1ms) ROLLBACK
8696
+  (0.1ms) BEGIN
8697
+ ------------------------------------------
8698
+ ChecklistTest: test_it_will_run_each_check
8699
+ ------------------------------------------
8700
+  (0.1ms) SELECT 1=1
8701
+  (0.1ms) ROLLBACK
8702
+  (0.1ms) BEGIN
8703
+ --------------------------------------------------------------------------------
8704
+ SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down
8705
+ --------------------------------------------------------------------------------
8706
+  (0.1ms) SELECT 1=1
8707
+  (0.1ms) ROLLBACK
8708
+  (0.1ms) BEGIN
8709
+  (0.1ms) BEGIN
8710
+ -------------------------------------------------------------------------------
8711
+ SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down
8712
+ -------------------------------------------------------------------------------
8713
+  (0.1ms) SELECT 1=1
8714
+  (0.1ms) ROLLBACK
8715
+  (0.1ms) BEGIN
8716
+  (0.1ms) BEGIN
8717
+ -------------------------------------------------------------------------------
8718
+ SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run
8719
+ -------------------------------------------------------------------------------
8720
+  (0.1ms) SELECT 1=1
8721
+  (0.1ms) SELECT 1=1
8722
+  (0.1ms) ROLLBACK
8723
+  (0.1ms) BEGIN
8724
+  (0.1ms) BEGIN
8725
+ ------------------------------------------------------
8726
+ SplitActiveRecordCheckTest: test_given_nil_as_a_config
8727
+ ------------------------------------------------------
8728
+  (0.1ms) ROLLBACK
8729
+  (0.1ms) ROLLBACK
8730
+  (0.1ms) BEGIN
8731
+  (0.1ms) BEGIN
8732
+ -----------------------------------------------------------------
8733
+ RedisCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
8734
+ -----------------------------------------------------------------
8735
+  (0.2ms) ROLLBACK
8736
+  (0.1ms) ROLLBACK
8737
+  (0.1ms) BEGIN
8738
+  (0.1ms) BEGIN
8739
+ -------------------------------------------------------------------
8740
+ RedisCheckTest: test_#run_sets_success_conditions_on_successful_run
8741
+ -------------------------------------------------------------------
8742
+  (0.1ms) ROLLBACK
8743
+  (0.1ms) ROLLBACK
8744
+  (0.1ms) BEGIN
8745
+  (0.1ms) BEGIN
8746
+ ------------------------------------------
8747
+ RedisCheckTest: test_given_nil_as_a_config
8748
+ ------------------------------------------
8749
+  (0.1ms) ROLLBACK
8750
+  (0.1ms) ROLLBACK
8751
+  (0.1ms) BEGIN
8752
+  (0.1ms) BEGIN
8753
+ ----------------------------------------------------------------
8754
+ HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
8755
+ ----------------------------------------------------------------
8756
+  (0.1ms) ROLLBACK
8757
+  (0.1ms) ROLLBACK
8758
+  (0.1ms) BEGIN
8759
+  (0.1ms) BEGIN
8760
+ ------------------------------------------------------------------
8761
+ HttpCheckTest: test_#run_sets_success_conditions_on_successful_run
8762
+ ------------------------------------------------------------------
8763
+  (0.2ms) ROLLBACK
8764
+  (0.1ms) ROLLBACK
8765
+  (0.1ms) BEGIN
8766
+  (0.1ms) BEGIN
8767
+ --------------------------------------
8768
+ HttpCheckTest: test_given_nil_as_a_url
8769
+ --------------------------------------
8770
+  (0.1ms) ROLLBACK
8771
+  (0.1ms) ROLLBACK
8772
+  (0.2ms) BEGIN
8773
+ ------------------------------------------------------------------------------
8774
+ RepositoryTest: test_adds_a_check_to_the_repository_for_the_critical_checklist
8775
+ ------------------------------------------------------------------------------
8776
+  (0.1ms) ROLLBACK
8777
+  (0.1ms) BEGIN
8778
+ --------------------------------------------------------------------------
8779
+ RepositoryTest: test_adds_checks_marked_critical_to_the_critical_checklist
8780
+ --------------------------------------------------------------------------
8781
+  (0.1ms) ROLLBACK
8782
+  (0.1ms) BEGIN
8783
+ --------------------------------------------
8784
+ RepositoryTest: test_fetches_a_check_by_name
8785
+ --------------------------------------------
8786
+  (0.1ms) ROLLBACK
8787
+  (0.1ms) BEGIN
8788
+ -----------------------------------------------------
8789
+ RepositoryTest: test_fetches_a_critical_check_by_name
8790
+ -----------------------------------------------------
8791
+  (0.1ms) ROLLBACK
8792
+  (0.1ms) BEGIN
8793
+ ---------------------------------------------------
8794
+ RepositoryTest: test_returns_a_checklist_when_asked
8795
+ ---------------------------------------------------
8796
+  (0.1ms) ROLLBACK
8797
+  (0.1ms) BEGIN
8798
+ ---------------------------------------------------------
8799
+ RepositoryTest: test_we_can_add_a_check_to_the_repository
8800
+ ---------------------------------------------------------
8801
+  (0.1ms) ROLLBACK
8802
+  (0.1ms) BEGIN
8803
+ --------------------------------------------------------------
8804
+ RepositoryTest: test_we_can_remove_a_check_from_the_repository
8805
+ --------------------------------------------------------------
8806
+  (0.1ms) ROLLBACK
8807
+  (0.1ms) BEGIN
8808
+ ---------------------------------------------------------------------
8809
+ SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
8810
+ ---------------------------------------------------------------------
8811
+  (0.1ms) ROLLBACK
8812
+  (0.1ms) BEGIN
8813
+ -----------------------------------------------------------------------
8814
+ SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run
8815
+ -----------------------------------------------------------------------
8816
+  (0.1ms) ROLLBACK
8817
+  (0.1ms) BEGIN
8818
+ ---------------------------------------------------------------------
8819
+ ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass
8820
+ ---------------------------------------------------------------------
8821
+  (0.1ms) SELECT 1=1
8822
+ Dalli::Server#connect 127.0.0.1:11211
8823
+  (0.1ms) ROLLBACK
8824
+  (0.1ms) BEGIN
8825
+ ------------------------------------------------------------------------------------
8826
+ ChecklistTest: test_#response_status_returns_:service_unavailable_when_a_check_fails
8827
+ ------------------------------------------------------------------------------------
8828
+  (0.1ms) SELECT 1=1
8829
+  (0.1ms) ROLLBACK
8830
+  (0.1ms) BEGIN
8831
+ -----------------------------------------------------------------
8832
+ ChecklistTest: test_#success?_returns_false_when_results_is_empty
8833
+ -----------------------------------------------------------------
8834
+  (0.1ms) ROLLBACK
8835
+  (0.1ms) BEGIN
8836
+ ---------------------------------------------------------
8837
+ ChecklistTest: test_#timing_is_a_sum_of_all_check_results
8838
+ ---------------------------------------------------------
8839
+  (0.1ms) ROLLBACK
8840
+  (0.1ms) BEGIN
8841
+ -------------------------------------------------------------------------
8842
+ ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist
8843
+ -------------------------------------------------------------------------
8844
+  (0.1ms) SELECT 1=1
8845
+  (0.1ms) ROLLBACK
8846
+  (0.1ms) BEGIN
8847
+ ----------------------------------------------
8848
+ ChecklistTest: test_can_look_up_checks_by_name
8849
+ ----------------------------------------------
8850
+  (0.1ms) ROLLBACK
8851
+  (0.1ms) BEGIN
8852
+ ---------------------------------------------
8853
+ ChecklistTest: test_cat_fetch_a_check_by_name
8854
+ ---------------------------------------------
8855
+  (0.1ms) ROLLBACK
8856
+  (0.1ms) BEGIN
8857
+ -------------------------------------------------------------------
8858
+ ChecklistTest: test_it_knows_the_number_of_checks_in_the_Repository
8859
+ -------------------------------------------------------------------
8860
+  (0.1ms) ROLLBACK
8861
+  (0.1ms) BEGIN
8862
+ ------------------------------------------
8863
+ ChecklistTest: test_it_will_run_each_check
8864
+ ------------------------------------------
8865
+  (0.1ms) SELECT 1=1
8866
+  (0.1ms) ROLLBACK
8867
+  (0.1ms) BEGIN
8868
+ --------------------------------------------------------------------------------
8869
+ SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down
8870
+ --------------------------------------------------------------------------------
8871
+  (0.1ms) SELECT 1=1
8872
+  (0.1ms) ROLLBACK
8873
+  (0.1ms) BEGIN
8874
+  (0.1ms) BEGIN
8875
+ -------------------------------------------------------------------------------
8876
+ SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down
8877
+ -------------------------------------------------------------------------------
8878
+  (0.2ms) SELECT 1=1
8879
+  (0.2ms) ROLLBACK
8880
+  (0.1ms) BEGIN
8881
+  (0.1ms) BEGIN
8882
+ -------------------------------------------------------------------------------
8883
+ SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run
8884
+ -------------------------------------------------------------------------------
8885
+  (0.1ms) SELECT 1=1
8886
+  (0.1ms) SELECT 1=1
8887
+  (0.1ms) ROLLBACK
8888
+  (0.1ms) BEGIN
8889
+  (0.1ms) BEGIN
8890
+ ------------------------------------------------------
8891
+ SplitActiveRecordCheckTest: test_given_nil_as_a_config
8892
+ ------------------------------------------------------
8893
+  (0.1ms) ROLLBACK
8894
+  (0.1ms) ROLLBACK
8895
+  (0.1ms) BEGIN
8896
+  (0.1ms) BEGIN
8897
+ ----------------------------------------------------------------
8898
+ HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
8899
+ ----------------------------------------------------------------
8900
+  (0.1ms) ROLLBACK
8901
+  (0.1ms) ROLLBACK
8902
+  (0.1ms) BEGIN
8903
+  (0.1ms) BEGIN
8904
+ ------------------------------------------------------------------
8905
+ HttpCheckTest: test_#run_sets_success_conditions_on_successful_run
8906
+ ------------------------------------------------------------------
8907
+  (0.1ms) ROLLBACK
8908
+  (0.1ms) ROLLBACK
8909
+  (0.1ms) BEGIN
8910
+  (0.1ms) BEGIN
8911
+ --------------------------------------
8912
+ HttpCheckTest: test_given_nil_as_a_url
8913
+ --------------------------------------
8914
+  (0.1ms) ROLLBACK
8915
+  (0.1ms) ROLLBACK
8916
+  (0.1ms) BEGIN
8917
+  (0.1ms) BEGIN
8918
+ -----------------------------------------------------------------
8919
+ RedisCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
8920
+ -----------------------------------------------------------------
8921
+  (0.1ms) ROLLBACK
8922
+  (0.1ms) ROLLBACK
8923
+  (0.1ms) BEGIN
8924
+  (0.1ms) BEGIN
8925
+ -------------------------------------------------------------------
8926
+ RedisCheckTest: test_#run_sets_success_conditions_on_successful_run
8927
+ -------------------------------------------------------------------
8928
+  (0.1ms) ROLLBACK
8929
+  (0.1ms) ROLLBACK
8930
+  (0.1ms) BEGIN
8931
+  (0.1ms) BEGIN
8932
+ ------------------------------------------
8933
+ RedisCheckTest: test_given_nil_as_a_config
8934
+ ------------------------------------------
8935
+  (0.1ms) ROLLBACK
8936
+  (0.1ms) ROLLBACK
8937
+  (0.1ms) BEGIN
8938
+  (0.1ms) BEGIN
8939
+ --------------------------------------------------------------------------
8940
+ ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run
8941
+ --------------------------------------------------------------------------
8942
+  (0.1ms) ROLLBACK
8943
+  (0.1ms) ROLLBACK
8944
+  (0.1ms) BEGIN
8945
+  (0.1ms) BEGIN
8946
+ ----------------------------------------------------------------------------
8947
+ ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run
8948
+ ----------------------------------------------------------------------------
8949
+  (0.1ms) SELECT 1=1
8950
+  (0.1ms) ROLLBACK
8951
+  (0.1ms) ROLLBACK
8952
+  (0.1ms) BEGIN
8953
+  (0.1ms) BEGIN
8954
+ -------------------------------------------------
8955
+ ActiveRecordCheckTest: test_given_nil_as_a_config
8956
+ -------------------------------------------------
8957
+  (0.1ms) ROLLBACK
8958
+  (0.1ms) ROLLBACK
8959
+  (0.1ms) BEGIN
8960
+  (0.1ms) BEGIN
8961
+ ----------------------------------------------------------------------------
8962
+ TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run
8963
+ ----------------------------------------------------------------------------
8964
+  (0.1ms) ROLLBACK
8965
+  (0.1ms) ROLLBACK
8966
+  (0.1ms) BEGIN
8967
+  (0.1ms) BEGIN
8968
+ ------------------------------------------------------------------------------
8969
+ TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run
8970
+ ------------------------------------------------------------------------------
8971
+  (0.1ms) ROLLBACK
8972
+  (0.1ms) ROLLBACK
8973
+  (0.1ms) BEGIN
8974
+  (0.1ms) BEGIN
8975
+ ------------------------------------------------------------
8976
+ Easymon::ChecksControllerTest: test_index_returns_valid_json
8977
+ ------------------------------------------------------------
8978
+ Processing by Easymon::ChecksController#index as JSON
8979
+  (0.4ms) SELECT 1=1
8980
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.4ms)
8981
+  (0.1ms) ROLLBACK
8982
+  (0.1ms) ROLLBACK
8983
+  (0.1ms) BEGIN
8984
+  (0.1ms) BEGIN
8985
+ ---------------------------------------------------------------------
8986
+ Easymon::ChecksControllerTest: test_index_when_a_critical_check_fails
8987
+ ---------------------------------------------------------------------
8988
+ Processing by Easymon::ChecksController#index as HTML
8989
+ Completed 503 Service Unavailable in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
8990
+  (0.2ms) ROLLBACK
8991
+  (0.2ms) ROLLBACK
8992
+  (0.2ms) BEGIN
8993
+  (0.1ms) BEGIN
8994
+ -------------------------------------------------------------------------
8995
+ Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails
8996
+ -------------------------------------------------------------------------
8997
+ Processing by Easymon::ChecksController#index as HTML
8998
+  (0.2ms) SELECT 1=1
8999
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
9000
+  (0.2ms) ROLLBACK
9001
+  (0.2ms) ROLLBACK
9002
+  (0.1ms) BEGIN
9003
+  (0.1ms) BEGIN
9004
+ --------------------------------------------------------------
9005
+ Easymon::ChecksControllerTest: test_index_when_all_checks_pass
9006
+ --------------------------------------------------------------
9007
+ Processing by Easymon::ChecksController#index as HTML
9008
+  (0.1ms) SELECT 1=1
9009
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.1ms)
9010
+  (0.1ms) ROLLBACK
9011
+  (0.1ms) ROLLBACK
9012
+  (0.1ms) BEGIN
9013
+  (0.1ms) BEGIN
9014
+ --------------------------------------------------------------------
9015
+ Easymon::ChecksControllerTest: test_index_when_no_checks_are_defined
9016
+ --------------------------------------------------------------------
9017
+ Processing by Easymon::ChecksController#index as HTML
9018
+ Completed 503 Service Unavailable in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
9019
+  (0.2ms) ROLLBACK
9020
+  (0.1ms) ROLLBACK
9021
+  (0.1ms) BEGIN
9022
+  (0.1ms) BEGIN
9023
+ ------------------------------------------------------------------
9024
+ Easymon::ChecksControllerTest: test_show_if_the_check_is_not_found
9025
+ ------------------------------------------------------------------
9026
+ Processing by Easymon::ChecksController#show as HTML
9027
+ Parameters: {"check"=>"database"}
9028
+ Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
9029
+  (0.1ms) ROLLBACK
9030
+  (0.1ms) ROLLBACK
9031
+  (0.1ms) BEGIN
9032
+  (0.1ms) BEGIN
9033
+ -------------------------------------------------------------------
9034
+ Easymon::ChecksControllerTest: test_show_json_when_the_check_passes
9035
+ -------------------------------------------------------------------
9036
+ Processing by Easymon::ChecksController#show as JSON
9037
+ Parameters: {"check"=>"database"}
9038
+  (0.2ms) SELECT 1=1
9039
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
9040
+  (0.2ms) ROLLBACK
9041
+  (0.1ms) ROLLBACK
9042
+  (0.1ms) BEGIN
9043
+  (0.1ms) BEGIN
9044
+ -------------------------------------------------------------
9045
+ Easymon::ChecksControllerTest: test_show_when_the_check_fails
9046
+ -------------------------------------------------------------
9047
+ Processing by Easymon::ChecksController#show as HTML
9048
+ Parameters: {"check"=>"database"}
9049
+ Completed 503 Service Unavailable in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
9050
+  (0.1ms) ROLLBACK
9051
+  (0.1ms) ROLLBACK
9052
+  (0.1ms) BEGIN
9053
+  (0.1ms) BEGIN
9054
+ --------------------------------------------------------------
9055
+ Easymon::ChecksControllerTest: test_show_when_the_check_passes
9056
+ --------------------------------------------------------------
9057
+ Processing by Easymon::ChecksController#show as HTML
9058
+ Parameters: {"check"=>"database"}
9059
+  (0.1ms) SELECT 1=1
9060
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.1ms)
9061
+  (0.1ms) ROLLBACK
9062
+  (0.1ms) ROLLBACK
9063
+  (0.1ms) BEGIN
9064
+  (0.1ms) BEGIN
9065
+ ---------------------------------------------------------------------
9066
+ MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
9067
+ ---------------------------------------------------------------------
9068
+  (0.1ms) ROLLBACK
9069
+  (0.1ms) ROLLBACK
9070
+  (0.1ms) BEGIN
9071
+  (0.1ms) BEGIN
9072
+ -----------------------------------------------------------------------
9073
+ MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run
9074
+ -----------------------------------------------------------------------
9075
+  (0.1ms) ROLLBACK
9076
+  (0.1ms) ROLLBACK
9077
+  (0.1ms) BEGIN
9078
+  (0.1ms) BEGIN
9079
+ ------------------------------------------------------------------
9080
+ MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers
9081
+ ------------------------------------------------------------------
9082
+  (0.1ms) ROLLBACK
9083
+  (0.1ms) ROLLBACK
9084
+  (0.1ms) BEGIN
9085
+  (0.1ms) BEGIN
9086
+ ---------------------------------------------------------
9087
+ MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache
9088
+ ---------------------------------------------------------
9089
+  (0.1ms) ROLLBACK
9090
+  (0.1ms) ROLLBACK
9091
+  (0.3ms) BEGIN
9092
+ --------------------------------------------------------------------------
9093
+ ActiveRecordCheckTest: test_#check_returns_a_failed_result_on_a_failed_run
9094
+ --------------------------------------------------------------------------
9095
+  (0.1ms) ROLLBACK
9096
+  (0.1ms) BEGIN
9097
+ ----------------------------------------------------------------------------
9098
+ ActiveRecordCheckTest: test_#check_returns_a_successful_result_on_a_good_run
9099
+ ----------------------------------------------------------------------------
9100
+  (0.1ms) SELECT 1=1
9101
+  (0.1ms) ROLLBACK
9102
+  (0.1ms) BEGIN
9103
+ -------------------------------------------------
9104
+ ActiveRecordCheckTest: test_given_nil_as_a_config
9105
+ -------------------------------------------------
9106
+  (0.1ms) ROLLBACK
9107
+  (0.1ms) BEGIN
9108
+ ------------------------------------------------------------------------------
9109
+ RepositoryTest: test_adds_a_check_to_the_repository_for_the_critical_checklist
9110
+ ------------------------------------------------------------------------------
9111
+  (0.1ms) ROLLBACK
9112
+  (0.1ms) BEGIN
9113
+ --------------------------------------------------------------------------
9114
+ RepositoryTest: test_adds_checks_marked_critical_to_the_critical_checklist
9115
+ --------------------------------------------------------------------------
9116
+  (0.1ms) ROLLBACK
9117
+  (0.1ms) BEGIN
9118
+ --------------------------------------------
9119
+ RepositoryTest: test_fetches_a_check_by_name
9120
+ --------------------------------------------
9121
+  (0.1ms) ROLLBACK
9122
+  (0.1ms) BEGIN
9123
+ -----------------------------------------------------
9124
+ RepositoryTest: test_fetches_a_critical_check_by_name
9125
+ -----------------------------------------------------
9126
+  (0.1ms) ROLLBACK
9127
+  (0.1ms) BEGIN
9128
+ ---------------------------------------------------
9129
+ RepositoryTest: test_returns_a_checklist_when_asked
9130
+ ---------------------------------------------------
9131
+  (0.1ms) ROLLBACK
9132
+  (0.1ms) BEGIN
9133
+ ---------------------------------------------------------
9134
+ RepositoryTest: test_we_can_add_a_check_to_the_repository
9135
+ ---------------------------------------------------------
9136
+  (0.2ms) ROLLBACK
9137
+  (0.1ms) BEGIN
9138
+ --------------------------------------------------------------
9139
+ RepositoryTest: test_we_can_remove_a_check_from_the_repository
9140
+ --------------------------------------------------------------
9141
+  (0.1ms) ROLLBACK
9142
+  (0.1ms) BEGIN
9143
+ ---------------------------------------------------------------------
9144
+ MemcachedCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
9145
+ ---------------------------------------------------------------------
9146
+  (0.1ms) ROLLBACK
9147
+  (0.1ms) BEGIN
9148
+ -----------------------------------------------------------------------
9149
+ MemcachedCheckTest: test_#run_sets_success_conditions_on_successful_run
9150
+ -----------------------------------------------------------------------
9151
+ Dalli::Server#connect 127.0.0.1:11211
9152
+  (0.1ms) ROLLBACK
9153
+  (0.1ms) BEGIN
9154
+ ------------------------------------------------------------------
9155
+ MemcachedCheckTest: test_fails_when_passed_a_cache_with_no_servers
9156
+ ------------------------------------------------------------------
9157
+  (0.1ms) ROLLBACK
9158
+  (0.1ms) BEGIN
9159
+ ---------------------------------------------------------
9160
+ MemcachedCheckTest: test_fails_when_passed_nil_as_a_cache
9161
+ ---------------------------------------------------------
9162
+  (0.1ms) ROLLBACK
9163
+  (0.1ms) BEGIN
9164
+ --------------------------------------------------------------------------------
9165
+ SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_master_is_down
9166
+ --------------------------------------------------------------------------------
9167
+  (0.1ms) SELECT 1=1
9168
+  (0.1ms) ROLLBACK
9169
+  (0.1ms) BEGIN
9170
+  (0.1ms) BEGIN
9171
+ -------------------------------------------------------------------------------
9172
+ SplitActiveRecordCheckTest: test_#run_sets_failed_conditions_when_slave_is_down
9173
+ -------------------------------------------------------------------------------
9174
+  (0.1ms) SELECT 1=1
9175
+  (0.1ms) ROLLBACK
9176
+  (0.1ms) BEGIN
9177
+  (0.1ms) BEGIN
9178
+ -------------------------------------------------------------------------------
9179
+ SplitActiveRecordCheckTest: test_#run_sets_success_conditions_on_successful_run
9180
+ -------------------------------------------------------------------------------
9181
+  (0.1ms) SELECT 1=1
9182
+  (0.1ms) SELECT 1=1
9183
+  (0.1ms) ROLLBACK
9184
+  (0.1ms) BEGIN
9185
+  (0.1ms) BEGIN
9186
+ ------------------------------------------------------
9187
+ SplitActiveRecordCheckTest: test_given_nil_as_a_config
9188
+ ------------------------------------------------------
9189
+  (0.1ms) ROLLBACK
9190
+  (0.1ms) ROLLBACK
9191
+  (0.1ms) BEGIN
9192
+  (0.1ms) BEGIN
9193
+ ------------------------------------------------------------
9194
+ Easymon::ChecksControllerTest: test_index_returns_valid_json
9195
+ ------------------------------------------------------------
9196
+ Processing by Easymon::ChecksController#index as JSON
9197
+  (0.2ms) SELECT 1=1
9198
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
9199
+  (0.1ms) ROLLBACK
9200
+  (0.1ms) ROLLBACK
9201
+  (0.1ms) BEGIN
9202
+  (0.1ms) BEGIN
9203
+ ---------------------------------------------------------------------
9204
+ Easymon::ChecksControllerTest: test_index_when_a_critical_check_fails
9205
+ ---------------------------------------------------------------------
9206
+ Processing by Easymon::ChecksController#index as HTML
9207
+ Completed 503 Service Unavailable in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
9208
+  (0.1ms) ROLLBACK
9209
+  (0.1ms) ROLLBACK
9210
+  (0.3ms) BEGIN
9211
+  (0.1ms) BEGIN
9212
+ -------------------------------------------------------------------------
9213
+ Easymon::ChecksControllerTest: test_index_when_a_non-critical_check_fails
9214
+ -------------------------------------------------------------------------
9215
+ Processing by Easymon::ChecksController#index as HTML
9216
+  (0.2ms) SELECT 1=1
9217
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
9218
+  (0.1ms) ROLLBACK
9219
+  (0.1ms) ROLLBACK
9220
+  (0.1ms) BEGIN
9221
+  (0.1ms) BEGIN
9222
+ --------------------------------------------------------------
9223
+ Easymon::ChecksControllerTest: test_index_when_all_checks_pass
9224
+ --------------------------------------------------------------
9225
+ Processing by Easymon::ChecksController#index as HTML
9226
+  (0.1ms) SELECT 1=1
9227
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
9228
+  (0.1ms) ROLLBACK
9229
+  (0.1ms) ROLLBACK
9230
+  (0.1ms) BEGIN
9231
+  (0.1ms) BEGIN
9232
+ --------------------------------------------------------------------
9233
+ Easymon::ChecksControllerTest: test_index_when_no_checks_are_defined
9234
+ --------------------------------------------------------------------
9235
+ Processing by Easymon::ChecksController#index as HTML
9236
+ Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
9237
+  (0.1ms) ROLLBACK
9238
+  (0.1ms) ROLLBACK
9239
+  (0.1ms) BEGIN
9240
+  (0.1ms) BEGIN
9241
+ ------------------------------------------------------------------
9242
+ Easymon::ChecksControllerTest: test_show_if_the_check_is_not_found
9243
+ ------------------------------------------------------------------
9244
+ Processing by Easymon::ChecksController#show as HTML
9245
+ Parameters: {"check"=>"database"}
9246
+ Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
9247
+  (0.1ms) ROLLBACK
9248
+  (0.1ms) ROLLBACK
9249
+  (0.1ms) BEGIN
9250
+  (0.1ms) BEGIN
9251
+ -------------------------------------------------------------------
9252
+ Easymon::ChecksControllerTest: test_show_json_when_the_check_passes
9253
+ -------------------------------------------------------------------
9254
+ Processing by Easymon::ChecksController#show as JSON
9255
+ Parameters: {"check"=>"database"}
9256
+  (0.1ms) SELECT 1=1
9257
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.1ms)
9258
+  (0.1ms) ROLLBACK
9259
+  (0.1ms) ROLLBACK
9260
+  (0.1ms) BEGIN
9261
+  (0.1ms) BEGIN
9262
+ -------------------------------------------------------------
9263
+ Easymon::ChecksControllerTest: test_show_when_the_check_fails
9264
+ -------------------------------------------------------------
9265
+ Processing by Easymon::ChecksController#show as HTML
9266
+ Parameters: {"check"=>"database"}
9267
+ Completed 503 Service Unavailable in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
9268
+  (0.2ms) ROLLBACK
9269
+  (0.1ms) ROLLBACK
9270
+  (0.1ms) BEGIN
9271
+  (0.1ms) BEGIN
9272
+ --------------------------------------------------------------
9273
+ Easymon::ChecksControllerTest: test_show_when_the_check_passes
9274
+ --------------------------------------------------------------
9275
+ Processing by Easymon::ChecksController#show as HTML
9276
+ Parameters: {"check"=>"database"}
9277
+  (0.1ms) SELECT 1=1
9278
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
9279
+  (0.1ms) ROLLBACK
9280
+  (0.1ms) ROLLBACK
9281
+  (0.1ms) BEGIN
9282
+  (0.1ms) BEGIN
9283
+ ----------------------------------------------------------------------------
9284
+ TrafficEnabledCheckTest: test_#check_sets_failure_conditions_on_a_failed_run
9285
+ ----------------------------------------------------------------------------
9286
+  (0.1ms) ROLLBACK
9287
+  (0.1ms) ROLLBACK
9288
+  (0.1ms) BEGIN
9289
+  (0.1ms) BEGIN
9290
+ ------------------------------------------------------------------------------
9291
+ TrafficEnabledCheckTest: test_#check_sets_success_conditions_on_successful_run
9292
+ ------------------------------------------------------------------------------
9293
+  (0.1ms) ROLLBACK
9294
+  (0.1ms) ROLLBACK
9295
+  (0.1ms) BEGIN
9296
+  (0.1ms) BEGIN
9297
+ ---------------------------------------------------------------------
9298
+ ChecklistTest: test_#response_status_returns_:ok_when_all_checks_pass
9299
+ ---------------------------------------------------------------------
9300
+  (0.2ms) SELECT 1=1
9301
+  (0.1ms) ROLLBACK
9302
+  (0.1ms) ROLLBACK
9303
+  (0.1ms) BEGIN
9304
+  (0.1ms) BEGIN
9305
+ ------------------------------------------------------------------------------------
9306
+ ChecklistTest: test_#response_status_returns_:service_unavailable_when_a_check_fails
9307
+ ------------------------------------------------------------------------------------
9308
+  (0.1ms) SELECT 1=1
9309
+  (0.1ms) ROLLBACK
9310
+  (0.1ms) ROLLBACK
9311
+  (0.1ms) BEGIN
9312
+  (0.1ms) BEGIN
9313
+ -----------------------------------------------------------------
9314
+ ChecklistTest: test_#success?_returns_false_when_results_is_empty
9315
+ -----------------------------------------------------------------
9316
+  (0.1ms) ROLLBACK
9317
+  (0.1ms) ROLLBACK
9318
+  (0.1ms) BEGIN
9319
+  (0.1ms) BEGIN
9320
+ ---------------------------------------------------------
9321
+ ChecklistTest: test_#timing_is_a_sum_of_all_check_results
9322
+ ---------------------------------------------------------
9323
+  (0.1ms) ROLLBACK
9324
+  (0.1ms) ROLLBACK
9325
+  (0.1ms) BEGIN
9326
+  (0.1ms) BEGIN
9327
+ -------------------------------------------------------------------------
9328
+ ChecklistTest: test_#to_s_returns_a_valid_representation_of_the_checklist
9329
+ -------------------------------------------------------------------------
9330
+  (0.1ms) SELECT 1=1
9331
+  (0.1ms) ROLLBACK
9332
+  (0.1ms) ROLLBACK
9333
+  (0.1ms) BEGIN
9334
+  (0.1ms) BEGIN
9335
+ ----------------------------------------------
9336
+ ChecklistTest: test_can_look_up_checks_by_name
9337
+ ----------------------------------------------
9338
+  (0.1ms) ROLLBACK
9339
+  (0.2ms) ROLLBACK
9340
+  (0.1ms) BEGIN
9341
+  (0.1ms) BEGIN
9342
+ ---------------------------------------------
9343
+ ChecklistTest: test_cat_fetch_a_check_by_name
9344
+ ---------------------------------------------
9345
+  (0.1ms) ROLLBACK
9346
+  (0.1ms) ROLLBACK
9347
+  (0.1ms) BEGIN
9348
+  (0.1ms) BEGIN
9349
+ -------------------------------------------------------------------
9350
+ ChecklistTest: test_it_knows_the_number_of_checks_in_the_Repository
9351
+ -------------------------------------------------------------------
9352
+  (0.1ms) ROLLBACK
9353
+  (0.1ms) ROLLBACK
9354
+  (0.1ms) BEGIN
9355
+  (0.1ms) BEGIN
9356
+ ------------------------------------------
9357
+ ChecklistTest: test_it_will_run_each_check
9358
+ ------------------------------------------
9359
+  (0.1ms) SELECT 1=1
9360
+  (0.1ms) ROLLBACK
9361
+  (0.1ms) ROLLBACK
9362
+  (0.1ms) BEGIN
9363
+  (0.1ms) BEGIN
9364
+ -----------------------------------------------------------------
9365
+ RedisCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
9366
+ -----------------------------------------------------------------
9367
+  (0.1ms) ROLLBACK
9368
+  (0.1ms) ROLLBACK
9369
+  (0.1ms) BEGIN
9370
+  (0.1ms) BEGIN
9371
+ -------------------------------------------------------------------
9372
+ RedisCheckTest: test_#run_sets_success_conditions_on_successful_run
9373
+ -------------------------------------------------------------------
9374
+  (0.1ms) ROLLBACK
9375
+  (0.1ms) ROLLBACK
9376
+  (0.1ms) BEGIN
9377
+  (0.1ms) BEGIN
9378
+ ------------------------------------------
9379
+ RedisCheckTest: test_given_nil_as_a_config
9380
+ ------------------------------------------
9381
+  (0.1ms) ROLLBACK
9382
+  (0.1ms) ROLLBACK
9383
+  (0.1ms) BEGIN
9384
+  (0.1ms) BEGIN
9385
+ ----------------------------------------------------------------
9386
+ HttpCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
9387
+ ----------------------------------------------------------------
9388
+  (0.1ms) ROLLBACK
9389
+  (0.1ms) ROLLBACK
9390
+  (0.1ms) BEGIN
9391
+  (0.1ms) BEGIN
9392
+ ------------------------------------------------------------------
9393
+ HttpCheckTest: test_#run_sets_success_conditions_on_successful_run
9394
+ ------------------------------------------------------------------
9395
+  (0.1ms) ROLLBACK
9396
+  (0.1ms) ROLLBACK
9397
+  (0.1ms) BEGIN
9398
+  (0.1ms) BEGIN
9399
+ --------------------------------------
9400
+ HttpCheckTest: test_given_nil_as_a_url
9401
+ --------------------------------------
9402
+  (0.1ms) ROLLBACK
9403
+  (0.1ms) ROLLBACK
9404
+  (0.1ms) BEGIN
9405
+  (0.1ms) BEGIN
9406
+ ---------------------------------------------------------------------
9407
+ SemaphoreCheckTest: test_#run_sets_failure_conditions_on_a_failed_run
9408
+ ---------------------------------------------------------------------
9409
+  (0.1ms) ROLLBACK
9410
+  (0.1ms) ROLLBACK
9411
+  (0.1ms) BEGIN
9412
+  (0.1ms) BEGIN
9413
+ -----------------------------------------------------------------------
9414
+ SemaphoreCheckTest: test_#run_sets_success_conditions_on_successful_run
9415
+ -----------------------------------------------------------------------
9416
+  (0.1ms) ROLLBACK
9417
+  (0.1ms) ROLLBACK