From 6fce233d2d3cfa8de530d03b2fffe53d8e521549 Mon Sep 17 00:00:00 2001 From: stevenhorsman Date: Wed, 1 May 2024 14:37:44 +0100 Subject: [PATCH] test/e2e: Update label of CAA ds - Switch identifying label from `app=cloud-api-adaptor` to `name=peerpodconfig-ctrl-caa-daemon` now we are using the CAA ds integrated into the operator Signed-off-by: stevenhorsman --- src/cloud-api-adaptor/test/e2e/assessment_helpers.go | 2 +- src/cloud-api-adaptor/test/e2e/assessment_runner.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cloud-api-adaptor/test/e2e/assessment_helpers.go b/src/cloud-api-adaptor/test/e2e/assessment_helpers.go index 5d1e08f0f..bb5d70f23 100644 --- a/src/cloud-api-adaptor/test/e2e/assessment_helpers.go +++ b/src/cloud-api-adaptor/test/e2e/assessment_helpers.go @@ -164,7 +164,7 @@ func IsPulledWithNydusSnapshotter(ctx context.Context, t *testing.T, client klie t.Fatal(err) } for _, pod := range podlist.Items { - if pod.Labels["app"] == "cloud-api-adaptor" && pod.Spec.NodeName == nodeName { + if pod.Labels["name"] == "peerpodconfig-ctrl-caa-daemon" && pod.Spec.NodeName == nodeName { podLogString, err := GetPodLog(ctx, client, pod) if err != nil { return false, err diff --git a/src/cloud-api-adaptor/test/e2e/assessment_runner.go b/src/cloud-api-adaptor/test/e2e/assessment_runner.go index 8033641ba..a38f62e74 100644 --- a/src/cloud-api-adaptor/test/e2e/assessment_runner.go +++ b/src/cloud-api-adaptor/test/e2e/assessment_runner.go @@ -342,7 +342,7 @@ func (tc *TestCase) Run() { t.Fatal(err) } for _, caaPod := range podlist.Items { - if caaPod.Labels["app"] == "cloud-api-adaptor" { + if caaPod.Labels["name"] == "peerpodconfig-ctrl-caa-daemon" { imagePullTime, err := WatchImagePullTime(ctx, client, caaPod, *tc.pod) if err != nil { t.Fatal(err)