diff --git a/tests/system/aiplatform/e2e_base.py b/tests/system/aiplatform/e2e_base.py index 3a9f87e8ae5..30885339eb6 100644 --- a/tests/system/aiplatform/e2e_base.py +++ b/tests/system/aiplatform/e2e_base.py @@ -124,11 +124,13 @@ def delete_bigquery_dataset(self, shared_state: Dict[str, Any]): ) # Make an API request. @pytest.fixture(scope="class", autouse=True) - def teardown(self, shared_state: Dict[str, Any]): + def tear_down_resources(self, shared_state: Dict[str, Any]): """Delete every Vertex AI resource created during test""" yield + # TODO(b/218310362): Add resource deletion system tests + # Bring all Endpoints to the front of the list # Ensures Models are undeployed first before we attempt deletion shared_state["resources"].sort(