Skip to content

Commit

Permalink
DO NOT MERGE - deliberate errors for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenhorsman committed Dec 19, 2024
1 parent 34d04a6 commit 73c63ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cloud-api-adaptor/test/e2e/common_suite.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ func DoTestCreatePeerPodWithJob(t *testing.T, e env.Environment, assert CloudAss
jobName := "job-pi"
image := "quay.io/prometheus/busybox:latest"
job := NewJob(E2eNamespace, jobName, 8, image)
expectedPodLogString := "3.14"
expectedPodLogString := "34"
NewTestCase(t, e, "JobPeerPod", assert, "Job has been created").WithJob(job).WithExpectedPodLogString(expectedPodLogString).Run()
}

Expand Down Expand Up @@ -190,7 +190,7 @@ func DoTestCreatePeerPodAndCheckWorkDirLogs(t *testing.T, e env.Environment, ass
podName := "workdirpod"
imageName := "quay.io/confidential-containers/test-images:testworkdir"
pod := NewPod(E2eNamespace, podName, podName, imageName, WithRestartPolicy(v1.RestartPolicyOnFailure))
expectedPodLogString := "/other"
expectedPodLogString := "junk"
NewTestCase(t, e, "WorkDirPeerPod", assert, "Peer pod with work directory has been created").WithPod(pod).WithExpectedPodLogString(expectedPodLogString).WithCustomPodState(v1.PodSucceeded).Run()
}

Expand Down

0 comments on commit 73c63ff

Please sign in to comment.