Skip to content

Commit 1aafd60

Browse files
chad119Chad Chiang
andauthored
Enable the integration tests for MIG (#337)
* integration test for jumpstart with mig profile * template fix for mig with jumpstart * skipped mig tests until instances setup finished * enable the mig integration tests --------- Co-authored-by: Chad Chiang <[email protected]>
1 parent 2b26f75 commit 1aafd60

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

test/integration_tests/inference/cli/test_cli_jumpstart_inference_with_mig.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ def sagemaker_client():
2828
return boto3.client("sagemaker", region_name=REGION)
2929

3030
# --------- JumpStart Endpoint Tests ---------
31-
@pytest.mark.skip(reason="Temporarily disabled")
3231
@pytest.mark.dependency(name="create")
3332
def test_js_create(runner, js_endpoint_name):
3433
result = runner.invoke(js_create, [
@@ -101,12 +100,10 @@ def test_custom_invoke(runner, js_endpoint_name):
101100
assert result.exit_code == 0
102101
assert "error" not in result.output.lower()
103102

104-
@pytest.mark.skip(reason="Temporarily disabled")
105103
def test_js_get_operator_logs(runner):
106104
result = runner.invoke(js_get_operator_logs, ["--since-hours", "1"])
107105
assert result.exit_code == 0
108106

109-
@pytest.mark.skip(reason="Temporarily disabled")
110107
def test_js_list_pods(runner):
111108
result = runner.invoke(js_list_pods, ["--namespace", NAMESPACE])
112109
assert result.exit_code == 0

test/integration_tests/inference/sdk/test_sdk_jumpstart_inference_with_mig.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ def endpoint_obj():
3838

3939
return HPJumpStartEndpoint(metadata=metadata, model=model, server=server, sage_maker_endpoint=sm_endpoint)
4040

41-
@pytest.mark.skip(reason="Temporarily disabled")
4241
@pytest.mark.dependency(name="create")
4342
def test_create_endpoint(endpoint_obj):
4443
endpoint_obj.create()
@@ -105,13 +104,11 @@ def mock_transform(data, shape, object_instance=None):
105104
assert "error" not in response.body.lower()
106105

107106

108-
@pytest.mark.skip(reason="Temporarily disabled")
109107
def test_get_operator_logs():
110108
ep = HPJumpStartEndpoint.get(name=ENDPOINT_NAME, namespace=NAMESPACE)
111109
logs = ep.get_operator_logs(since_hours=1)
112110
assert logs
113111

114-
@pytest.mark.skip(reason="Temporarily disabled")
115112
def test_list_pods():
116113
ep = HPJumpStartEndpoint.get(name=ENDPOINT_NAME, namespace=NAMESPACE)
117114
pods = ep.list_pods(NAMESPACE)

0 commit comments

Comments
 (0)