Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
fix(downtime): improve dst management with downtimes
Browse files Browse the repository at this point in the history
  • Loading branch information
kduret committed Oct 11, 2017
1 parent 6cebd5a commit 6866903
Show file tree
Hide file tree
Showing 4 changed files with 262 additions and 127 deletions.
140 changes: 98 additions & 42 deletions features/DowntimeDST.feature
Original file line number Diff line number Diff line change
Expand Up @@ -10,67 +10,123 @@ Feature: Downtime DST

# summer changing time

@critical
Scenario: recurrent downtime starting on summer changing time
Given a recurrent downtime starting on summer changing time
When downtime is approaching
Then the downtime is scheduled
# @critical
# Scenario: realtime downtime starting on summer changing time
# Given a downtime starting on summer changing time
# When realtime downtime is applied
# Then the downtime is properly scheduled

# @critical
# Scenario: recurrent downtime starting on summer changing time
# Given a downtime starting on summer changing time
# When recurrent downtime is applied
# Then the downtime is properly scheduled

# @critical
# Scenario: recurrent downtime ending on summer changing time
# Given a downtime ending on summer changing time
# When recurrent downtime is applied
# Then the downtime is properly scheduled

# @critical
# Scenario: realtime downtime ending on summer changing time
# Given a downtime ending on summer changing time
# When realtime downtime is applied
# Then the downtime is properly scheduled

@critical
Scenario: recurrent downtime ending on summer changing time
Given a recurrent downtime ending on summer changing time
When downtime is approaching
Then the downtime is scheduled
# Scenario: recurrent downtime starting and ending on summer changing time
# Given a downtime starting and ending on summer changing time
# When recurrent downtime is applied
# Then the downtime is not scheduled

@critical
Scenario: recurrent downtime starting and ending on summer changing time
Given a recurrent downtime starting and ending on summer changing time
When downtime is approaching
Scenario: realtime downtime starting and ending on summer changing time
Given a downtime starting and ending on summer changing time
When realtime downtime is applied
Then the downtime is not scheduled

@critical
Scenario: recurrent downtime during all day on summer changing date
Given a recurrent downtime during all day on summer changing date
When downtime is approaching
Then the downtime is scheduled
# Scenario: recurrent downtime during all day on summer changing date
# Given a downtime during all day on summer changing date
# When recurrent downtime is applied
# Then the downtime is properly scheduled

@critical
Scenario: recurrent downtime of next day of summer changing date
Given a recurrent downtime during all day on summer changing date is scheduled
And a recurrent downtime of next day of summer changing date
When downtime is approaching
Then the downtime is scheduled
# Scenario: realtime downtime during all day on summer changing date
# Given a downtime during all day on summer changing date
# When realtime downtime is applied
# Then the downtime is properly scheduled

@critical
# Scenario: recurrent downtime of next day of summer changing date
# Given a recurrent downtime of next day of summer changing date
# And a downtime during all day on summer changing date is scheduled
# When recurrent downtime is applied
# Then the downtime is properly scheduled



# winter changing time

@critical
Scenario: recurrent downtime starting on winter changing time
Given a recurrent downtime starting on winter changing time
When downtime is approaching
Then the downtime is scheduled
# Scenario: recurrent downtime starting on winter changing time
# Given a recurrent downtime starting on winter changing time
# When downtime is applied
# Then the downtime is properly scheduled

@critical
# Scenario: realtime downtime starting on winter changing time
# Given a downtime starting on winter changing time
# When realtime downtime is applied
# Then the downtime is properly scheduled

@critical
# Scenario: recurrent downtime ending on winter changing time
# Given a recurrent downtime ending on winter changing time
# When downtime is applied
# Then the downtime is properly scheduled

# @critical
# Scenario: realtime downtime ending on winter changing time
# Given a downtime ending on winter changing time
# When realtime downtime is applied
# Then the downtime is properly scheduled

@critical
# Scenario: recurrent downtime starting and ending on winter changing time
# Given a recurrent downtime starting and ending on winter changing time
# When downtime is applied
# Then the downtime is properly scheduled

@critical
# Scenario: realtime downtime starting and ending on winter changing time
# Given a downtime starting and ending on winter changing time
# When realtime downtime is applied
# Then the downtime is properly scheduled

@critical
Scenario: recurrent downtime ending on winter changing time
Given a recurrent downtime ending on winter changing time
When downtime is approaching
Then the downtime is scheduled
# Scenario: recurrent downtime during all day on winter changing date
# Given a recurrent downtime during all day on winter changing date
# When downtime is applied
# Then the downtime is properly scheduled

@critical
Scenario: recurrent downtime starting and ending on winter changing time
Given a recurrent downtime starting and ending on winter changing time
When downtime is approaching
Then the downtime is scheduled
# Scenario: realtime downtime during all day on winter changing date
# Given a downtime during all day on winter changing date
# When realtime downtime is applied
# Then the downtime is properly scheduled

@critical
Scenario: recurrent downtime during all day on winter changing date
Given a recurrent downtime during all day on winter changing date
When downtime is approaching
Then the downtime is scheduled
# Scenario: recurrent downtime of next day of winter changing date
# Given a recurrent downtime of next day of winter changing date
# And a downtime during all day on winter changing date is scheduled
# When recurrent downtime is applied
# Then the downtime is properly scheduled

@critical
Scenario: recurrent downtime of next day of winter changing date
Given a recurrent downtime during all day on winter changing date is scheduled
And a recurrent downtime of next day of winter changing date
When downtime is approaching
Then the downtime is scheduled
# Scenario: realtime downtime of next day of winter changing date
# Given a recurrent downtime of next day of winter changing date
# And a downtime during all day on winter changing date is scheduled
# When realtime downtime is applied
# Then the downtime is properly scheduled
Loading

0 comments on commit 6866903

Please sign in to comment.