-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feat/improve_gherkin
Signed-off-by: Simon Schrottner <[email protected]>
- Loading branch information
Showing
20 changed files
with
317 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
".": "0.5.17" | ||
".": "0.5.20" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
@rpc @in-process | ||
Feature: flagd provider disconnect and reconnect functionality | ||
|
||
Scenario Outline: Connection | ||
Given a <name> flagd provider | ||
And a Boolean-flag with key "boolean-flag" and a default value "true" | ||
When the flag was evaluated with details | ||
Then the resolved details value should be "true" | ||
|
||
Examples: Stable | ||
| name | | ||
| stable | | ||
@targetURI | ||
Examples: Target URI | ||
| name | | ||
| target | | ||
@customCert | ||
Examples: Certificates | ||
| name | | ||
| ssl | | ||
@unixsocket @os.linux | ||
Examples: Unixsocket | ||
| name | | ||
| socket | | ||
|
||
@reconnect | ||
# This test suite tests the reconnection functionality of flagd providers | ||
Scenario Outline: Provider reconnection | ||
Given a <name> flagd provider | ||
And a ready event handler | ||
And a error event handler | ||
When a ready event was fired | ||
When the connection is lost for 4s | ||
Then the error event handler should have been executed | ||
Then the ready event handler should have been executed | ||
|
||
Examples: Stable | ||
| name | | ||
| stable | | ||
@targetURI | ||
Examples: Target URI | ||
| name | | ||
| socket | | ||
@customCert | ||
Examples: Certificates | ||
| name | | ||
| ssl | | ||
@unixsocket @os.linux | ||
Examples: Unixsocket | ||
| name | | ||
| socket | | ||
|
||
Scenario: Provider unavailable | ||
Given an option "deadlineMs" of type "Integer" with value "1000" | ||
And a unavailable flagd provider | ||
And a error event handler | ||
Then the error event handler should have been executed within 1000ms |
Oops, something went wrong.