Skip to content

Commit 15c9bcc

Browse files
committed
fix: develop a more flexible solution for sidekiq helper
Signed-off-by: Tim Knight <tim.knight1@engineering.digital.dwp.gov.uk>
1 parent 6c95045 commit 15c9bcc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/functional/conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ def _wait(timeout: int = 30, step: float = 0.5, allow_fail: bool = False) -> boo
229229
busy_processes.append(process)
230230
# If we have at least one spare process, continue
231231
if not (len(busy_processes) + 1) >= len(processes):
232+
logging.info("Spare sidekiq process found")
232233
return True
233234
logging.info(f"sidekiq busy {count} of {timeout}")
234235
assert allow_fail, "sidekiq process should have terminated but did not."

0 commit comments

Comments
 (0)