Skip to content

Commit 59d9b42

Browse files
author
Brock Wade
committed
merge latest
2 parents db69b5f + c2be61f commit 59d9b42

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

tests/unit/sagemaker/workflow/test_pipeline.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def test_pipeline_create_with_parallelism_config(sagemaker_session_mock, role_ar
7878
)
7979

8080

81-
@patch("sagemaker.spark.processing.S3Uploader.upload_string_as_file_body")
81+
@patch("sagemaker.s3.S3Uploader.upload_string_as_file_body")
8282
def test_large_pipeline_create(sagemaker_session_mock, role_arn):
8383
parameter = ParameterString("MyStr")
8484
pipeline = Pipeline(
@@ -149,7 +149,8 @@ def test_pipeline_update_with_parallelism_config(sagemaker_session_mock, role_ar
149149
ParallelismConfiguration={"MaxParallelExecutionSteps": 10},
150150
)
151151

152-
@patch("sagemaker.spark.processing.S3Uploader.upload_string_as_file_body")
152+
153+
@patch("sagemaker.s3.S3Uploader.upload_string_as_file_body")
153154
def test_large_pipeline_update(sagemaker_session_mock, role_arn):
154155
parameter = ParameterString("MyStr")
155156
pipeline = Pipeline(

tests/unit/sagemaker/workflow/test_processing_step.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -992,6 +992,10 @@ def test_spark_processor(spark_processor, processing_input, pipeline_session):
992992
SPARK_SUBMIT_FILE2,
993993
],
994994
"spark_event_logs_s3_uri": ParameterString("MySparkEventLogS3Uri"),
995+
"configuration": {
996+
"Classification": "core-site",
997+
"Properties": {"hadoop.security.groups.cache.secs": "250"},
998+
},
995999
},
9961000
),
9971001
(
@@ -1016,6 +1020,10 @@ def test_spark_processor(spark_processor, processing_input, pipeline_session):
10161020
"submit_jars": [SPARK_DEP_JAR],
10171021
"submit_files": [SPARK_SUBMIT_FILE1, SPARK_SUBMIT_FILE2],
10181022
"spark_event_logs_s3_uri": ParameterString("MySparkEventLogS3Uri"),
1023+
"configuration": {
1024+
"Classification": "core-site",
1025+
"Properties": {"hadoop.security.groups.cache.secs": "250"},
1026+
},
10191027
},
10201028
),
10211029
],

0 commit comments

Comments
 (0)