File tree Expand file tree Collapse file tree
test/run/torchx_backend/schedulers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -319,7 +319,11 @@ def test_submit_dryrun_with_workdir_volume_mount_and_local_path(
319319 e = KubeflowExecutor (
320320 image = "nvcr.io/nvidia/nemo:26.02" ,
321321 volumes = [{"name" : "w" , "persistentVolumeClaim" : {"claimName" : "my-pvc" }}],
322- workdir_volume_mount = {"name" : "w" , "mountPath" : "/nemo_run" },
322+ workdir_volume_mount = {
323+ "name" : "w" ,
324+ "mountPath" : "/nemo_run" ,
325+ "subPath" : "team-a" ,
326+ },
323327 workdir_local_path = local_path ,
324328 )
325329 e .experiment_id = "test_exp"
@@ -353,7 +357,11 @@ def test_submit_dryrun_with_workdir_volume_mount_no_local_path(
353357 e = KubeflowExecutor (
354358 image = "nvcr.io/nvidia/nemo:26.02" ,
355359 volumes = [{"name" : "w" , "persistentVolumeClaim" : {"claimName" : "my-pvc" }}],
356- workdir_volume_mount = {"name" : "w" , "mountPath" : "/nemo_run" },
360+ workdir_volume_mount = {
361+ "name" : "w" ,
362+ "mountPath" : "/nemo_run" ,
363+ "subPath" : "team-a" ,
364+ },
357365 )
358366 e .experiment_id = "test_exp"
359367 e .job_dir = str (tmp_path )
You can’t perform that action at this time.
0 commit comments