Skip to content

Commit

Permalink
feat: add provider unavailable test
Browse files Browse the repository at this point in the history
Signed-off-by: Todd Baert <[email protected]>
  • Loading branch information
toddbaert committed Feb 8, 2024
1 parent 98d6620 commit 10b658d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions gherkin/flagd-reconnect.feature
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,8 @@ Feature: flagd provider reconnect functionality
Then the PROVIDER_READY handler must run when the provider connects
And the PROVIDER_ERROR handler must run when the provider's connection is lost
And when the connection is reestablished the PROVIDER_READY handler must run again

Scenario: Provider unavailable
Given flagd is unavailable
When a flagd provider is set and init is awaited
Then an error should be indicated within the configured deadline

0 comments on commit 10b658d

Please sign in to comment.