Skip to content

Commit cca0531

Browse files
committed
removed irrelevant test after introducing predicate
Signed-off-by: Nir Rozenbaum <[email protected]>
1 parent 598eac9 commit cca0531

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

pkg/epp/controller/inferencemodel_reconciler_test.go

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,6 @@ var (
8585
ModelName("fake model2").
8686
CreationTimestamp(metav1.Unix(1000, 0)).
8787
PoolName(pool.Name).ObjRef()
88-
infModel2NS2 = utiltest.MakeInferenceModel(infModel2.Name).
89-
Namespace("ns2").
90-
ModelName(infModel2.Spec.ModelName).
91-
CreationTimestamp(metav1.Unix(1000, 0)).
92-
PoolName(pool.Name).ObjRef()
9388
)
9489

9590
func TestInferenceModelReconciler(t *testing.T) {
@@ -131,12 +126,6 @@ func TestInferenceModelReconciler(t *testing.T) {
131126
model: infModel1NS2,
132127
wantModels: []*v1alpha2.InferenceModel{infModel1},
133128
},
134-
{
135-
name: "Model referencing a different pool, same pool name but different namespace",
136-
modelsInStore: []*v1alpha2.InferenceModel{infModel1},
137-
model: infModel2NS2,
138-
wantModels: []*v1alpha2.InferenceModel{infModel1},
139-
},
140129
{
141130
name: "Existing model changed pools, replaced with another",
142131
modelsInStore: []*v1alpha2.InferenceModel{infModel1},

0 commit comments

Comments
 (0)