Skip to content

Commit

Permalink
test: add TestAwsPodWithInitContainer
Browse files Browse the repository at this point in the history
To test init containers on AWS peer pods.

Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
  • Loading branch information
wainersm committed Jan 30, 2025
1 parent 6d80fa7 commit c80bb43
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/cloud-api-adaptor/test/e2e/aws_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,3 +112,8 @@ func TestAwsCreatePeerPodContainerWithInvalidAlternateImage(t *testing.T) {
expectedErrorMessage := fmt.Sprintf("InvalidAMIID.NotFound: The image id '[%s]' does not exist: not found", nonExistingImageName)
DoTestCreatePeerPodContainerWithInvalidAlternateImage(t, testEnv, assert, nonExistingImageName, expectedErrorMessage)
}

func TestAwsPodWithInitContainer(t *testing.T) {
assert := NewAWSAssert()
DoTestPodWithInitContainer(t, testEnv, assert)
}

0 comments on commit c80bb43

Please sign in to comment.