diff --git a/test/integration/addons_test.go b/test/integration/addons_test.go index b33a19d4f2aa..ad8634dde728 100644 --- a/test/integration/addons_test.go +++ b/test/integration/addons_test.go @@ -906,7 +906,7 @@ func validateLocalPathAddon(ctx context.Context, t *testing.T, profile string) { func validateNvidiaDevicePlugin(ctx context.Context, t *testing.T, profile string) { defer PostMortemLogs(t, profile) - if _, err := PodWait(ctx, t, profile, "kube-system", "nvidia-device-plugin-ds", Minutes(6)); err != nil { + if _, err := PodWait(ctx, t, profile, "kube-system", "name=nvidia-device-plugin-ds", Minutes(6)); err != nil { t.Fatalf("failed waiting for nvidia-device-plugin-ds pod: %v", err) } if rr, err := Run(t, exec.CommandContext(ctx, Target(), "addons", "disable", "nvidia-device-plugin", "-p", profile)); err != nil {