Skip to content

Commit 05a6eae

Browse files
committed
chore: don't put full process info into list when only using length of list
Signed-off-by: Tim Knight <tim.knight1@engineering.digital.dwp.gov.uk>
1 parent 15c9bcc commit 05a6eae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/functional/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ def _wait(timeout: int = 30, step: float = 0.5, allow_fail: bool = False) -> boo
226226
busy_processes = []
227227
for process in processes:
228228
if process["busy"]:
229-
busy_processes.append(process)
229+
busy_processes.append("True")
230230
# If we have at least one spare process, continue
231231
if not (len(busy_processes) + 1) >= len(processes):
232232
logging.info("Spare sidekiq process found")

0 commit comments

Comments
 (0)