Skip to content

Commit 31b4f86

Browse files
authored
chore: remove matching engine for tests (#1147)
1 parent f2e70b1 commit 31b4f86

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

tests/system/aiplatform/e2e_base.py

+1-5
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,7 @@ def tear_down_resources(self, shared_state: Dict[str, Any]):
136136
# Bring all Endpoints to the front of the list
137137
# Ensures Models are undeployed first before we attempt deletion
138138
shared_state["resources"].sort(
139-
key=lambda r: 1
140-
if isinstance(r, aiplatform.Endpoint)
141-
or isinstance(r, aiplatform.MatchingEngineIndexEndpoint)
142-
else 2
139+
key=lambda r: 1 if isinstance(r, aiplatform.Endpoint) else 2
143140
)
144141

145142
for resource in shared_state["resources"]:
@@ -149,7 +146,6 @@ def tear_down_resources(self, shared_state: Dict[str, Any]):
149146
(
150147
aiplatform.Endpoint,
151148
aiplatform.Featurestore,
152-
aiplatform.MatchingEngineIndexEndpoint,
153149
),
154150
):
155151
# For endpoint, undeploy model then delete endpoint

0 commit comments

Comments
 (0)