File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -74,17 +74,16 @@ def test_create_job_nowait(
7474 "activeDeadlineSeconds" : 900 ,
7575 "template" : {
7676 "spec" : {
77- "maximumExecutionTimeSeconds" : 900 ,
7877 "restartPolicy" : "Never" ,
7978 "containers" : [
8079 {
8180 "name" : "job-v100-123-container" ,
8281 "image" : "image-registry.openshift-image-registry.svc:5000/redhat-ods-applications/csw-run-f25:latest" ,
8382 "command" : [
84- "/bin/sh " ,
83+ "/bin/bash " ,
8584 "-c" ,
86- f"\n export RSYNC_RSH='oc rsh -c container1'\n \n mkdir -p job-v100-123 && \n rsync -q --archive --no-owner --no-group --omit-dir-times --numeric-ids testhost:{ tempdir } /jobs/job-v100-123/getlist job-v100-123/getlist >&/dev/null && \n rsync -q -r --archive --no-owner --no-group --omit-dir-times --numeric-ids --files-from=job-v100-123/getlist testhost:{ tempdir } / job-v100-123/ && \n find job-v100-123 -mindepth 1 -maxdepth 1 > job-v100-123/gotlist && \n cd job-v100-123 && \n |& tee job-v100-123.log\n \n cd .. \n rsync -q --archive --no-owner --no-group --omit-dir-times --no-relative --numeric-ids --exclude-from=job-v100-123/gotlist job-v100-123 testhost:{ tempdir } /jobs\n " ,
87- ],
85+ f"\n set -e \ n export RSYNC_RSH='oc rsh -c container1'\n \n mkdir -p job-v100-123\n \n rsync -q --archive --no-owner --no-group --omit-dir-times --numeric-ids testhost:{ tempdir } /jobs/job-v100-123/getlist job-v100-123/getlist\n rsync -q -r --archive --no-owner --no-group --omit-dir-times --numeric-ids --files-from=job-v100-123/getlist testhost:{ tempdir } / job-v100-123/\n find job-v100-123 -mindepth 1 -maxdepth 1 > job-v100-123/gotlist\n \n ( \n cd job-v100-123 && |& tee job-v100-123.log\n ) \n \n rsync -q --archive --no-owner --no-group --omit-dir-times --no-relative --numeric-ids --exclude-from=job-v100-123/gotlist job-v100-123 testhost:{ tempdir } /jobs\n " ,
86+ ],
8887 "resources" : {
8988 "requests" : {"nvidia.com/gpu" : "1" },
9089 "limits" : {"nvidia.com/gpu" : "1" },
You can’t perform that action at this time.
0 commit comments