Skip to content

Commit

Permalink
fix: fix integ test (#4779)
Browse files Browse the repository at this point in the history
* Temporarily remove failing input for integ test

* Fix Flake8 Check

* Remove faulty integ test input

---------

Co-authored-by: Aditi Sharma <adishaa@amazon.com>
  • Loading branch information
Aditi2424 and adishaa authored Jul 9, 2024
1 parent 1b454ca commit 502b060
Showing 1 changed file with 0 additions and 39 deletions.
39 changes: 0 additions & 39 deletions tests/integ/test_processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
from sagemaker import image_uris, Session
from sagemaker.dataset_definition.inputs import (
DatasetDefinition,
RedshiftDatasetDefinition,
AthenaDatasetDefinition,
S3Input,
)
Expand Down Expand Up @@ -766,25 +765,6 @@ def _get_processing_inputs_with_all_parameters(bucket):
s3_compression_type="None",
),
),
ProcessingInput(
input_name="redshift_dataset_definition",
app_managed=True,
dataset_definition=DatasetDefinition(
local_path="/opt/ml/processing/input/rdd",
data_distribution_type="FullyReplicated",
input_mode="File",
redshift_dataset_definition=RedshiftDatasetDefinition(
cluster_id="integ-test-cluster-prod-us-west-2",
database="dev",
db_user="awsuser",
query_string="SELECT * FROM shoes",
cluster_role_arn="arn:aws:iam::037210630505:role/RedshiftClusterRole-prod-us-west-2",
output_s3_uri=f"s3://{bucket}/rdd",
output_format="CSV",
output_compression="None",
),
),
),
ProcessingInput(
input_name="athena_dataset_definition",
app_managed=True,
Expand Down Expand Up @@ -853,25 +833,6 @@ def _get_processing_job_inputs_and_outputs(bucket, output_kms_key):
"S3CompressionType": "None",
},
},
{
"InputName": "redshift_dataset_definition",
"AppManaged": True,
"DatasetDefinition": {
"RedshiftDatasetDefinition": {
"ClusterId": "integ-test-cluster-prod-us-west-2",
"Database": "dev",
"DbUser": "awsuser",
"QueryString": "SELECT * FROM shoes",
"ClusterRoleArn": "arn:aws:iam::037210630505:role/RedshiftClusterRole-prod-us-west-2",
"OutputS3Uri": f"s3://{bucket}/rdd",
"OutputFormat": "CSV",
"OutputCompression": "None",
},
"LocalPath": "/opt/ml/processing/input/rdd",
"DataDistributionType": "FullyReplicated",
"InputMode": "File",
},
},
{
"InputName": "athena_dataset_definition",
"AppManaged": True,
Expand Down

0 comments on commit 502b060

Please sign in to comment.