Skip to content

[DO NOT MERGE] Fix 2038 bis #2355

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ script:
- qiita pet webserver --no-build-docs start &
- sleep 5
- QIITA_PID=$!
- python qiita_db/test/test_processing_job.py ProcessingJobTest.test_complete_success
- nosetests $COVER_PACKAGE --with-doctest --with-coverage --with-timer -v --cover-package=$COVER_PACKAGE
- kill $QIITA_PID
- if [ ${TEST_ADD_STUDIES} == "True" ]; then test_data_studies/commands.sh ; fi
Expand Down
4 changes: 2 additions & 2 deletions qiita_db/processing_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -631,8 +631,8 @@ def _complete_artifact_transformation(self, artifacts_data):
ProcessingJob.create(self.user, validate_params))

# Change the current step of the job
self.step = "Validating outputs (%d remaining)" % len(
validator_jobs)
self.step = "Validating outputs (%d remaining) via job(s) %s" % (
len(validator_jobs), ', '.join([j.id for j in validator_jobs]))

# Link all the validator jobs with the current job
self._set_validator_jobs(validator_jobs)
Expand Down
2 changes: 2 additions & 0 deletions qiita_db/test/test_processing_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,8 @@ def test_complete_success(self):
# of this job is running, and that we have one more job than before
# (see assertEqual with len of all jobs)
self.assertEqual(job.status, 'running')
self.assertTrue(job.step.startswith(
'Validating outputs (1 remaining) via job(s)'))

obsjobs = set(self._get_all_job_ids())

Expand Down