Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: increase sleep in caching tests from 250ms to 1000ms #44

Merged
merged 2 commits into from
Feb 24, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions features/caching.feature
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Feature: Flag caching
Given a boolean flag with key "boolean-flag" is evaluated with details and default value "false"
And a boolean flag with key "boolean-flag-copy" is evaluated with details and default value "false"
When the flag's configuration with key "boolean-flag" is updated to defaultVariant "off"
And sleep for 250 milliseconds
And sleep for 1000 milliseconds
And a boolean flag with key "boolean-flag" is evaluated with details and default value "false"
And a boolean flag with key "boolean-flag-copy" is evaluated with details and default value "false"
Then the resolved boolean details reason of flag with key "boolean-flag" should be "STATIC"
Expand All @@ -46,7 +46,7 @@ Feature: Flag caching
Given a string flag with key "string-flag" is evaluated with details and default value "bye"
And a string flag with key "string-flag-copy" is evaluated with details and default value "bye"
When the flag's configuration with key "string-flag" is updated to defaultVariant "parting"
And sleep for 250 milliseconds
And sleep for 1000 milliseconds
And a string flag with key "string-flag" is evaluated with details and default value "bye"
And a string flag with key "string-flag-copy" is evaluated with details and default value "bye"
Then the resolved string details reason of flag with key "string-flag" should be "STATIC"
Expand All @@ -56,7 +56,7 @@ Feature: Flag caching
Given an integer flag with key "integer-flag" is evaluated with details and default value 1
And an integer flag with key "integer-flag-copy" is evaluated with details and default value 1
When the flag's configuration with key "integer-flag" is updated to defaultVariant "one"
And sleep for 250 milliseconds
And sleep for 1000 milliseconds
And an integer flag with key "integer-flag" is evaluated with details and default value 1
And an integer flag with key "integer-flag-copy" is evaluated with details and default value 1
Then the resolved integer details reason of flag with key "integer-flag" should be "STATIC"
Expand All @@ -66,7 +66,7 @@ Feature: Flag caching
Given a float flag with key "float-flag" is evaluated with details and default value 0.1
And a float flag with key "float-flag-copy" is evaluated with details and default value 0.1
When the flag's configuration with key "float-flag" is updated to defaultVariant "tenth"
And sleep for 250 milliseconds
And sleep for 1000 milliseconds
And a float flag with key "float-flag" is evaluated with details and default value 0.1
And a float flag with key "float-flag-copy" is evaluated with details and default value 0.1
Then the resolved float details reason of flag with key "float-flag" should be "STATIC"
Expand All @@ -76,7 +76,7 @@ Feature: Flag caching
Given an object flag with key "object-flag" is evaluated with details and a null default value
And an object flag with key "object-flag-copy" is evaluated with details and a null default value
When the flag's configuration with key "object-flag" is updated to defaultVariant "empty"
And sleep for 250 milliseconds
And sleep for 1000 milliseconds
And an object flag with key "object-flag" is evaluated with details and a null default value
And an object flag with key "object-flag-copy" is evaluated with details and a null default value
Then the resolved object details reason of flag with key "object-flag" should be "STATIC"
Expand Down