Skip to content

Commit 6e1b7dc

Browse files
committed
Set an InferencePool into the datastore
Signed-off-by: Shmuel Kallner <[email protected]>
1 parent 5d4098c commit 6e1b7dc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/epp/datastore/datastore_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,8 @@ func TestPods(t *testing.T) {
384384
ctx := context.Background()
385385
pmf := backendmetrics.NewPodMetricsFactory(&backendmetrics.FakePodMetricsClient{}, time.Second)
386386
ds := NewDatastore(t.Context(), pmf, 0)
387+
fakeClient := fake.NewFakeClient()
388+
ds.PoolSet(ctx, fakeClient, inferencePool)
387389
for _, pod := range test.existingPods {
388390
ds.PodUpdateOrAddIfNotExist(pod)
389391
}

0 commit comments

Comments
 (0)