Skip to content
Open
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -326,9 +326,11 @@ def validate_profile_resources(
assert expected_label_value == namespace.metadata.labels[expected_label]


# Retry for 90 seconds since the metacontroller's `resyncPeriodSeconds` is
# currently 60s, so at worst it will take 60s for the resync to be triggered.
@retry(
wait=wait_exponential(multiplier=1, min=1, max=10),
stop=stop_after_delay(60),
stop=stop_after_delay(90),
reraise=True,
)
def validate_profile_deployments_with_custom_images(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,11 @@ def validate_profile_resources(
assert expected_label_value == namespace.metadata.labels[expected_label]


# Retry for 90 seconds since the metacontroller's `resyncPeriodSeconds` is
# currently 60s, so at worst it will take 60s for the resync to be triggered.
@retry(
wait=wait_exponential(multiplier=1, min=1, max=10),
stop=stop_after_delay(60),
stop=stop_after_delay(90),
reraise=True,
)
def validate_profile_deployments_with_custom_images(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -321,9 +321,11 @@ def validate_profile_resources(
assert expected_label_value == namespace.metadata.labels[expected_label]


# Retry for 90 seconds since the metacontroller's `resyncPeriodSeconds` is
# currently 60s, so at worst it will take 60s for the resync to be triggered.
@retry(
wait=wait_exponential(multiplier=1, min=1, max=10),
stop=stop_after_delay(60),
stop=stop_after_delay(90),
reraise=True,
)
def validate_profile_deployments_with_custom_images(
Expand Down
Loading