Skip to content

Commit f3c79fc

Browse files
committed
addressing @antgonza's comments
1 parent 9920fdf commit f3c79fc

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

qiita_db/test/test_processing_job.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -458,8 +458,12 @@ def test_complete_success(self):
458458
alljobs = set(self._get_all_job_ids())
459459

460460
job.complete(True, artifacts_data=artifacts_data)
461-
# The validator job spawn blocks this job in running state until
462-
# the validator job is completed
461+
# When completing the previous job, it creates a new job that needs
462+
# to validate the BIOM table that is being added as new artifact.
463+
# Hence, this job is still in running state until the validation job
464+
# is completed. Note that this is tested by making sure that the status
465+
# of this job is running, and that we have one more job than before
466+
# (see assertEqual with len of all jobs)
463467
self.assertEqual(job.status, 'running')
464468

465469
obsjobs = set(self._get_all_job_ids())

0 commit comments

Comments
 (0)