Skip to content

Commit 00b7cfb

Browse files
authored
feat: improve forbidden with options (#304)
Signed-off-by: Todd Baert <[email protected]>
1 parent c7620ba commit 00b7cfb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gherkin/connection.feature

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ Feature: flagd provider disconnect and reconnect functionality
5353
@rpc @in-process @file @forbidden
5454
# This test ensures that a forbidden response from flagd results in a fatal client state
5555
Scenario: Provider forbidden
56-
Given a forbidden flagd provider
56+
Given an option "fatalStatusCodes" of type "StringList" with value "PERMISSION_DENIED"
57+
And a forbidden flagd provider
5758
And a error event handler
5859
Then the error event handler should have been executed within 5000ms
5960
And the client is in fatal state

0 commit comments

Comments
 (0)