Merge branch 'maint/7.0'
[ninja.git] / test / unit_test / reports / scheddownasup-nested.tst
blob4dbeb2d128cb3791fccf389ec33027be6eed7c0b
1 description = count scheduled downtime as uptime, nested
2 sqlfile = test_nested_downtimes.sql
4 global_vars {
5         start_time = 1202684400
6         end_time = 1202770800
7         includesoftstates = 1
10 down_dtstart_dtstart_dtend_dtend: normal {
11         report_type = hosts
12         objects {
13                 down_dtstart_dtstart_dtend_dtend
14         }
15         scheduleddowntimeasuptime = 0
16         correct {
17                 TIME_DOWN_UNSCHEDULED = 78600
18                 TIME_DOWN_SCHEDULED = 7800
19         }
22 down_dtstart_dtstart_dtend_dtend: scheduled downtime as uptime {
23         report_type = hosts
24         objects {
25                 down_dtstart_dtstart_dtend_dtend
26         }
27         scheduleddowntimeasuptime = 1
28         correct {
29                 TIME_UP_SCHEDULED = 7800
30                 TIME_DOWN_UNSCHEDULED = 78600
31         }