Skip to content

Commit a07f1c9

Browse files
committed
added temporary fix
1 parent d46e644 commit a07f1c9

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
@@ -220,7 +220,7 @@ func TestXInferencePoolReconciler(t *testing.T) {
220220
Version: v1alpha2.GroupVersion.Version,
221221
Kind: "InferencePool",
222222
}
223-
// TODO: change targetport to 8080
223+
// TODO: change it to 8080
224224
pool1 := utiltest.MakeXInferencePool("pool1").
225225
Namespace("pool1-ns").
226226
Selector(selector_v1).
@@ -290,7 +290,8 @@ func TestXInferencePoolReconciler(t *testing.T) {
290290
if err := fakeClient.Get(ctx, req.NamespacedName, newPool1); err != nil {
291291
t.Errorf("Unexpected pool get error: %v", err)
292292
}
293-
newPool1.Spec.TargetPortNumber = 9090
293+
// TODO: change it later to 9090
294+
newPool1.Spec.TargetPortNumber = 0
294295
if err := fakeClient.Update(ctx, newPool1, &client.UpdateOptions{}); err != nil {
295296
t.Errorf("Unexpected pool update error: %v", err)
296297
}

0 commit comments

Comments
 (0)