Commit 3bd2ba24 authored by André Anjos's avatar André Anjos 💬

Merge branch 'test-stdout-issue-33' into 'master'

Fix #33

Closes #33

See merge request !31
parents ac8c6103 d0153dd8
Pipeline #38639 passed with stages
in 4 minutes and 19 seconds
......@@ -147,7 +147,7 @@ class GridTKTest(unittest.TestCase):
# reset the job 1
jman.main([self.jman, '--local', '--database', self.database, 'resubmit', '--job-id', '1', '--running-jobs', '--overwrite-command', script_1])
jman.main([self.jman, '--local', '--database', self.database, 'resubmit', '--job-id', '1', '--running-jobs', '--overwrite-command', bash, script_1])
# now, start the local execution of the job in a parallel job
self.scheduler_job = subprocess.Popen([self.jman, '--local', '--database', self.database, 'run-scheduler', '--sleep-time', '5', '--parallel', '2'])
echo "The job id is '$JOB_ID' and the task id is '$SGE_TASK_ID'"
if [[ $SGE_TASK_ID == '1' ]]; then
# We simply write one line to stdout and one line to stderr
echo "This is a text message to std-out"
echo "This is a text message to std-err" >&2
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment