Skip to content

Commit 11899b0

Browse files
committed
added temporary fix
1 parent 24d2810 commit 11899b0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pkg/epp/controller/inferencepool_reconciler_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ func TestXInferencePoolReconciler(t *testing.T) {
218218
Version: v1alpha2.GroupVersion.Version,
219219
Kind: "InferencePool",
220220
}
221-
// TODO: change targetport to 8080
221+
// TODO: change it to 8080
222222
pool1 := utiltest.MakeXInferencePool("pool1").
223223
Namespace("pool1-ns").
224224
Selector(selector_v1).
@@ -285,7 +285,8 @@ func TestXInferencePoolReconciler(t *testing.T) {
285285
if err := fakeClient.Get(ctx, req.NamespacedName, newPool1); err != nil {
286286
t.Errorf("Unexpected pool get error: %v", err)
287287
}
288-
newPool1.Spec.TargetPortNumber = 9090
288+
// TODO: change it later to 9090
289+
newPool1.Spec.TargetPortNumber = 0
289290
if err := fakeClient.Update(ctx, newPool1, &client.UpdateOptions{}); err != nil {
290291
t.Errorf("Unexpected pool update error: %v", err)
291292
}

0 commit comments

Comments
 (0)