easymon 1.0.7 → 1.0.8

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.

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