@@ -424,7 +424,6 @@ def test_training_step_with_estimator(
424
424
425
425
# test idempotency
426
426
step_def2 = json .loads (pipeline .definition ())["Steps" ][0 ]
427
- del step_def2 ["Arguments" ]["ProfilerRuleConfigurations" ]
428
427
assert step_definition == step_def2
429
428
430
429
@@ -534,7 +533,6 @@ def test_training_step_with_framework_estimator(
534
533
del step_def ["Arguments" ]["OutputDataConfig" ]["S3OutputPath" ]
535
534
536
535
# delete profiler rule configurations because of timestamp collision
537
- del step_def ["Arguments" ]["ProfilerRuleConfigurations" ]
538
536
del expected_step_args ["ProfilerRuleConfigurations" ]
539
537
540
538
if "sagemaker_s3_output" in step_args ["HyperParameters" ]:
@@ -605,7 +603,6 @@ def test_training_step_with_framework_estimator_local_code(
605
603
del step_def ["Arguments" ]["OutputDataConfig" ]["S3OutputPath" ]
606
604
607
605
# delete profiler rule configurations because of timestamp collision
608
- del step_def ["Arguments" ]["ProfilerRuleConfigurations" ]
609
606
del expected_step_args ["ProfilerRuleConfigurations" ]
610
607
611
608
if "sagemaker_s3_output" in step_args ["HyperParameters" ]:
@@ -698,7 +695,6 @@ def test_training_step_with_algorithm_base(algo_estimator, training_input, pipel
698
695
del step_def ["Arguments" ]["InputDataConfig" ][0 ]["DataSource" ]["S3DataSource" ]["S3Uri" ]
699
696
700
697
# delete profiler rule configurations because of timestamp collision
701
- del step_def ["Arguments" ]["ProfilerRuleConfigurations" ]
702
698
del step_args ["ProfilerRuleConfigurations" ]
703
699
704
700
assert step_def == {
@@ -786,7 +782,6 @@ def test_training_step_with_algorithm_base_local_code(
786
782
del step_def ["Arguments" ]["InputDataConfig" ][0 ]["DataSource" ]["S3DataSource" ]["S3Uri" ]
787
783
788
784
# delete profiler rule configurations because of timestamp collision
789
- del step_def ["Arguments" ]["ProfilerRuleConfigurations" ]
790
785
del step_args ["ProfilerRuleConfigurations" ]
791
786
792
787
assert step_def == {
0 commit comments