Skip to content

Commit 8ced427

Browse files
committed
added temporary fix
1 parent 17d6fa6 commit 8ced427

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
@@ -216,7 +216,7 @@ func TestXInferencePoolReconciler(t *testing.T) {
216216
Version: v1alpha2.GroupVersion.Version,
217217
Kind: "InferencePool",
218218
}
219-
// TODO: change targetport to 8080
219+
// TODO: change it to 8080
220220
pool1 := utiltest.MakeXInferencePool("pool1").
221221
Namespace("pool1-ns").
222222
Selector(selector_v1).
@@ -283,7 +283,8 @@ func TestXInferencePoolReconciler(t *testing.T) {
283283
if err := fakeClient.Get(ctx, req.NamespacedName, newPool1); err != nil {
284284
t.Errorf("Unexpected pool get error: %v", err)
285285
}
286-
newPool1.Spec.TargetPortNumber = 9090
286+
// TODO: change it later to 9090
287+
newPool1.Spec.TargetPortNumber = 0
287288
if err := fakeClient.Update(ctx, newPool1, &client.UpdateOptions{}); err != nil {
288289
t.Errorf("Unexpected pool update error: %v", err)
289290
}

0 commit comments

Comments
 (0)