Sha256: ccc77000704204875c4e73d7d13f753396885f91579f6a0a4997821cb7a9a8df

Contents?: true

Size: 1.77 KB

Versions: 14

Compression:

Stored size: 1.77 KB

Contents

@rollup @notification_rules @processor @notifier @events
Feature: Multiple acknowledgements after scheduled maintenance

  Background:
    Given the following users exist:
      | id  | first_name | last_name | email             | sms          | timezone         |
      | 1   | Malak      | Al-Musawi | malak@example.com | +61400000001 | Asia/Baghdad     |

    And the following entities exist:
      | id  | name           | contacts |
      | 1   | foo            | 1        |

    And user 1 has the following notification intervals:
      | email | sms |
      | 15    | 15  |

    And user 1 has the following notification rollup thresholds:
      | email | sms |
      | 3     | 3   |

    And user 1 has the following notification rules:
      | entities | unknown_media | warning_media | critical_media   |
      |          |               | email         | sms,email        |

  @time
  Scenario: Multiple acks after sched maint ends
    Given the check is check 'ping' on entity 'foo'
    And   the check is in an ok state
    And   the check is in scheduled maintenance for 1 hour
    When  1 minute passes
    And   a critical event is received
    Then  no email alerts should be queued for malak@example.com
    When  60 minutes passes
    And   a critical event is received
    Then  1 email alert of type problem should be queued for malak@example.com
    And   the check should appear in unacknowledged_failing
    When  1 minute passes
    And   an acknowledgement event is received
    Then  1 email alert of type acknowledgement should be queued for malak@example.com
    And   the check should not appear in unacknowledged_failing
    When  1 minute passes
    And   an acknowledgement event is received
    Then  2 email alert of type acknowledgement should be queued for malak@example.com

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
flapjack-1.6.0 features/ack_after_sched_maint.feature
flapjack-1.6.0rc4 features/ack_after_sched_maint.feature
flapjack-1.6.0rc3 features/ack_after_sched_maint.feature
flapjack-1.6.0rc2 features/ack_after_sched_maint.feature
flapjack-1.6.0rc1 features/ack_after_sched_maint.feature
flapjack-1.5.0 features/ack_after_sched_maint.feature
flapjack-1.5.0rc1 features/ack_after_sched_maint.feature
flapjack-1.4.0 features/ack_after_sched_maint.feature
flapjack-1.4.0rc1 features/ack_after_sched_maint.feature
flapjack-1.3.0 features/ack_after_sched_maint.feature
flapjack-1.3.0rc3 features/ack_after_sched_maint.feature
flapjack-1.3.0rc2 features/ack_after_sched_maint.feature
flapjack-1.3.0rc1 features/ack_after_sched_maint.feature
flapjack-1.2.2 features/ack_after_sched_maint.feature