Skip to content

Commit cbcb07e

Browse files
committed
Test changes due to merging of PodRemove into PodDelete
Signed-off-by: Shmuel Kallner <[email protected]>
1 parent 36697c4 commit cbcb07e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/epp/datastore/datastore_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -379,15 +379,15 @@ func TestPods(t *testing.T) {
379379
existingPods: []*corev1.Pod{pod1, pod2},
380380
wantPods: []*corev1.Pod{pod1},
381381
op: func(ctx context.Context, ds Datastore) {
382-
ds.PodRemove(pod2.Name)
382+
ds.PodDelete(pod2.Name)
383383
},
384384
},
385385
{
386386
name: "Delete the pod that doesn't exist",
387387
existingPods: []*corev1.Pod{pod1},
388388
wantPods: []*corev1.Pod{pod1},
389389
op: func(ctx context.Context, ds Datastore) {
390-
ds.PodRemove(pod2.Name)
390+
ds.PodDelete(pod2.Name)
391391
},
392392
},
393393
}
@@ -569,7 +569,7 @@ func TestPodInfo(t *testing.T) {
569569
},
570570
},
571571
op: func(ctx context.Context, ds Datastore) {
572-
ds.PodRemove(pod2.Name)
572+
ds.PodDelete(pod2.Name)
573573
},
574574
pool: inferencePoolMultiTarget,
575575
},

0 commit comments

Comments
 (0)