Skip to content

Commit

Permalink
Fix per review
Browse files Browse the repository at this point in the history
  • Loading branch information
punamverma committed Dec 8, 2023
1 parent b330dff commit 1fcbafa
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,7 @@ def expect_interuss_post_interactions(
logger.debug(f"Waited for {time_waited} to check notifications.")
break
# wait for WAIT_INTERVAL till max_wait_time reached
duration = (
WAIT_INTERVAL
if max_wait_time - time_waited >= WAIT_INTERVAL
else (max_wait_time - time_waited)
)
duration = min(WAIT_INTERVAL, max_wait_time - time_waited)

with scenario.check("Expect Notification sent", [participant_id]) as check:
if not found:
Expand Down

0 comments on commit 1fcbafa

Please sign in to comment.