Skip to content

Commit

Permalink
(debug)
Browse files Browse the repository at this point in the history
  • Loading branch information
ric-evans committed Jun 13, 2023
1 parent ac77f38 commit 1092d7f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/integration/test_backlog_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@


def print_it(obj: Any) -> None:
print(json.dumps(obj))
print(json.dumps(obj, indent=4))


########################################################################################
Expand Down Expand Up @@ -136,6 +136,8 @@ async def test_10(
await rc.request("DELETE", f"/scan/{resp['scan_id']}")

await asyncio.sleep(skydriver.config.ENV.SCAN_BACKLOG_RUNNER_DELAY * N_JOBS * 1.01)
entries = (await rc.request("GET", "/scans/backlog"))["entries"]
print_it(entries)
assert kapitsj_mock.call_count == N_JOBS - 1

# any extra calls?
Expand Down

0 comments on commit 1092d7f

Please sign in to comment.