Skip to content

Commit fe1df5d

Browse files
committed
fixup: incuberating feedback from pr review
Signed-off-by: Simon Schrottner <[email protected]>
1 parent 482a0e0 commit fe1df5d

File tree

1 file changed

+3
-6
lines changed
  • providers/openfeature-provider-flagd/tests/e2e

1 file changed

+3
-6
lines changed

providers/openfeature-provider-flagd/tests/e2e/steps.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ def assert_handlers(
612612
)
613613
)
614614
def assert_handler_run(event_type: ProviderEvent, event_handles):
615-
assert_handlers(event_handles, event_type, max_wait=20)
615+
assert_handlers(event_handles, event_type, max_wait=30)
616616

617617

618618
@then(
@@ -623,7 +623,7 @@ def assert_handler_run(event_type: ProviderEvent, event_handles):
623623
)
624624
def assert_disconnect_handler(error_handles, event_type: ProviderEvent):
625625
# docker sync upstream restarts every 5s, waiting 2 cycles reduces test noise
626-
assert_handlers(error_handles, event_type, max_wait=20)
626+
assert_handlers(error_handles, event_type, max_wait=30)
627627

628628

629629
@when(
@@ -674,10 +674,7 @@ def wait_for(pred, poll_sec=2, timeout_sec=10):
674674
@given("flagd is unavailable", target_fixture="client")
675675
def flagd_unavailable(resolver_type):
676676
api.set_provider(
677-
FlagdProvider(
678-
resolver_type=resolver_type,
679-
port=99999,
680-
),
677+
FlagdProvider(resolver_type=resolver_type, port=99999, retry_grace_period=2),
681678
"unavailable",
682679
)
683680
return api.get_client("unavailable")

0 commit comments

Comments
 (0)