Skip to content

Commit

Permalink
Fix tox
Browse files Browse the repository at this point in the history
Signed-off-by: prsurve <[email protected]>
  • Loading branch information
prsurve committed Oct 7, 2024
1 parent b867f35 commit b681c23
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ocs_ci/helpers/dr_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -1698,7 +1698,9 @@ def verify_last_kubeobject_protection_time(drpc_obj, kubeoject_sync_interval):
time_since_last_sync = (
current_time - last_kubeobject_protection_time_formatted
).total_seconds() / 60
logger.info(f"Time in minutes since the last Kube Object sync {time_since_last_sync}")
logger.info(
f"Time in minutes since the last Kube Object sync {time_since_last_sync}"
)
assert (
time_since_last_sync < 2 * kubeoject_sync_interval
), "The syncing of Kube Resources is exceeding three times the Kube object sync interval"
Expand Down

0 comments on commit b681c23

Please sign in to comment.