From b64950eb2c94c6b24ee50cd894d88f93e690ec01 Mon Sep 17 00:00:00 2001 From: Steven Powell Date: Tue, 26 Sep 2023 14:52:47 -0700 Subject: [PATCH] add missing label selector --- test/integration/addons_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {