Skip to content

Commit

Permalink
test debug...
Browse files Browse the repository at this point in the history
  • Loading branch information
JVickery-TBS committed Dec 9, 2024
1 parent b9f71c7 commit a535f80
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ckanext/xloader/tests/test_jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,12 @@ def test_data_with_rq_job_timeout(self, cli, data):
self.enqueue(jobs.xloader_data_into_datastore, [data], rq_kwargs=dict(timeout=15))
with mock.patch("ckanext.xloader.jobs.get_response", get_large_data_response):
stdout = cli.invoke(ckan, ["jobs", "worker", "--burst"]).output
print(' ')
print('DEBUGGING::')
print(' ')
print(stdout)
print(' ')
assert False
assert "Job timed out after" in stdout
for f in _get_temp_files():
# make sure that the tmp file has been closed/deleted in job timeout exception handling
Expand Down

0 comments on commit a535f80

Please sign in to comment.