Skip to content

Commit 820a9f5

Browse files
committed
change dependency for delete in init integ test
1 parent aff4982 commit 820a9f5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

test/integration_tests/init/test_custom_creation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ def test_custom_invoke(runner, custom_endpoint_name, test_directory):
198198
assert "error" not in result.output.lower()
199199

200200

201-
@pytest.mark.dependency(depends=["invoke"])
201+
@pytest.mark.dependency(depends=["create"])
202202
def test_custom_delete(runner, custom_endpoint_name, test_directory):
203203
"""Clean up deployed custom endpoint using CLI delete command."""
204204
result = runner.invoke(delete, [

test/integration_tests/init/test_jumpstart_creation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def test_custom_invoke(runner, js_endpoint_name, test_directory):
161161
assert "error" not in result.output.lower()
162162

163163

164-
@pytest.mark.dependency(depends=["invoke"])
164+
@pytest.mark.dependency(depends=["create"])
165165
def test_js_delete(runner, js_endpoint_name, test_directory):
166166
"""Clean up deployed JumpStart endpoint using CLI delete command."""
167167
result = runner.invoke(delete, [

test/integration_tests/init/test_pytorch_job_creation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def test_list_pods(pytorch_job_name, test_directory):
183183
print(f"[INFO] Successfully listed pods for job: {pytorch_job_name}")
184184

185185

186-
@pytest.mark.dependency(depends=["list_pods"])
186+
@pytest.mark.dependency(depends=["create"])
187187
def test_pytorch_job_delete(pytorch_job_name, test_directory):
188188
"""Clean up deployed PyTorch job using CLI delete command and verify deletion."""
189189
delete_result = execute_command([

0 commit comments

Comments
 (0)