Skip to content

Commit 8e19316

Browse files
committed
catchup with backlog
1 parent 7dc89dc commit 8e19316

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

skydriver/k8s/scan_backlog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ async def _run(
144144
)
145145
except database.mongodc.DocumentNotFoundException:
146146
timer_main_loop.fastforward()
147-
continue # empty queue-
147+
continue # there's no scan to start
148148

149149
# request a workflow on EWMS
150150
try:

tests/integration/test_rest_routes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,7 @@ async def _after_scan_start_logic(
804804
assert resp["result"] == {}
805805

806806
# wait backlogger to request to ewms
807-
await asyncio.sleep(int(os.environ["SCAN_BACKLOG_RUNNER_SHORT_DELAY"]) * 2) # extra
807+
await asyncio.sleep(int(os.environ["SCAN_BACKLOG_RUNNER_DELAY"]) * 5) # extra
808808
ewms_workflow_id = (await rc.request("GET", f"/scan/{scan_id}/manifest"))[
809809
"ewms_workflow_id"
810810
]

0 commit comments

Comments
 (0)