Skip to content

Commit

Permalink
longer timeout for commit mode 2 job to finish confirm step
Browse files Browse the repository at this point in the history
  • Loading branch information
indy-independence committed Mar 22, 2024
1 parent 2147a93 commit 84e8758
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cnaas_nms/devicehandler/tests/test_syncto.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def run_syncto_job(scheduler, testdata: dict, dry_run: bool = True) -> Optional[
job_dict: Optional[dict] = None
jobstatus_wait = [JobStatus.SCHEDULED, JobStatus.RUNNING]
with sqla_session() as session:
for i in range(1, 30):
for i in range(1, 60):
time.sleep(1)
if not job_res or job_res.status in jobstatus_wait:
job_res: Job = session.query(Job).filter(Job.id == job_id).one()
Expand Down

0 comments on commit 84e8758

Please sign in to comment.