Don't send the job to the gather queue when running the paster run_test command

This commit is contained in:
Ken Tsang 2019-04-12 11:32:45 +01:00
parent 93a839efce
commit 4772bb08b7
1 changed files with 1 additions and 1 deletions

View File

@ -436,7 +436,7 @@ class Harvester(CkanCommand):
# Determine the job
try:
job_dict = get_action('harvest_job_create')(
context, {'source_id': source['id']})
context, {'source_id': source['id'], 'run': False})
except HarvestJobExists:
running_jobs = get_action('harvest_job_list')(
context, {'source_id': source['id'], 'status': 'Running'})