Skip to content

Commit 925a4ba

Browse files
committed
Fix integ test
1 parent c37d910 commit 925a4ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integ/test_pytorch_train.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def fixture_training_job(sagemaker_session, pytorch_full_version):
4141
def test_sync_fit_deploy(pytorch_training_job, sagemaker_session):
4242
# TODO: add tests against local mode when it's ready to be used
4343
endpoint_name = 'test-pytorch-sync-fit-attach-deploy{}'.format(sagemaker_timestamp())
44-
with timeout_and_delete_endpoint_by_name(minutes=20):
44+
with timeout_and_delete_endpoint_by_name(endpoint_name, sagemaker_session, minutes=20):
4545
estimator = PyTorch.attach(pytorch_training_job, sagemaker_session=sagemaker_session)
4646
predictor = estimator.deploy(1, 'ml.c4.xlarge', endpoint_name=endpoint_name)
4747
data = numpy.zeros(shape=(1, 1, 28, 28), dtype=numpy.float32)

0 commit comments

Comments
 (0)