1414
1515
1616# noinspection DuplicatedCode
17- @pytest .mark .skipif (os .getenv ('PYTEST_IGNORE_SKIPS' , "false" ) == "false" )
17+ @pytest .mark .skipif (os .getenv ('PYTEST_IGNORE_SKIPS' , "false" ) == "false" ,
18+ reason = "Manual test" )
1819def test_train_placeholder_manual ():
1920 bucket = sagemaker .Session ().default_bucket ()
2021 checkpoints_prefix = f"s3://{ bucket } /checkpoints/"
@@ -48,7 +49,8 @@ def test_train_placeholder_manual():
4849 ssh_wrapper .wait_training_job ()
4950
5051
51- @pytest .mark .skipif (os .getenv ('PYTEST_IGNORE_SKIPS' , "false" ) == "false" )
52+ @pytest .mark .skipif (os .getenv ('PYTEST_IGNORE_SKIPS' , "false" ) == "false" ,
53+ reason = "Manual test" )
5254def test_processing_framework_manual ():
5355 torch_processor = PyTorchProcessor (
5456 base_job_name = 'ssh-pytorch-processing-manual' ,
@@ -78,7 +80,8 @@ def test_processing_framework_manual():
7880 ssh_wrapper .wait_processing_job ()
7981
8082
81- @pytest .mark .skipif (os .getenv ('PYTEST_IGNORE_SKIPS' , "false" ) == "false" )
83+ @pytest .mark .skipif (os .getenv ('PYTEST_IGNORE_SKIPS' , "false" ) == "false" ,
84+ reason = "Manual test" )
8285def test_inference_manual ():
8386 estimator = PyTorch .attach ("pytorch-training-2023-02-21-23-58-16-252" )
8487
@@ -102,7 +105,8 @@ def test_inference_manual():
102105 ssh_wrapper .wait_for_endpoint ()
103106
104107
105- @pytest .mark .skipif (os .getenv ('PYTEST_IGNORE_SKIPS' , "false" ) == "false" )
108+ @pytest .mark .skipif (os .getenv ('PYTEST_IGNORE_SKIPS' , "false" ) == "false" ,
109+ reason = "Manual test" )
106110def test_djl_inference ():
107111 predictor = DJLPredictor ("djl-inference-ssh-2023-05-15-16-26-57-895" )
108112 data = {
@@ -118,7 +122,8 @@ def test_djl_inference():
118122 assert result == "42"
119123
120124
121- @pytest .mark .skipif (os .getenv ('PYTEST_IGNORE_SKIPS' , "false" ) == "false" )
125+ @pytest .mark .skipif (os .getenv ('PYTEST_IGNORE_SKIPS' , "false" ) == "false" ,
126+ reason = "Manual test" )
122127def test_subprocess ():
123128 import subprocess
124129 subprocess .check_call ("uname -a" .split (' ' ))
0 commit comments