Skip to content

Commit

Permalink
test/e2e: Update label of CAA ds
Browse files Browse the repository at this point in the history
- 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 <[email protected]>
  • Loading branch information
stevenhorsman committed May 1, 2024
1 parent bc07415 commit eb965e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cloud-api-adaptor/test/e2e/assessment_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/cloud-api-adaptor/test/e2e/assessment_runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit eb965e8

Please sign in to comment.