Skip to content

Commit

Permalink
test-e2e: Add libvirt test with cpu and mem request/limit
Browse files Browse the repository at this point in the history
TestLibvirtCreateWithCpuAndMemRequestLimit to check if
peerpod resource is added by the webhook

Signed-off-by: Pradipta Banerjee <pradipta.banerjee@gmail.com>
  • Loading branch information
bpradipt committed Oct 21, 2024
1 parent 3caa73e commit 20ec0c8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/cloud-api-adaptor/test/e2e/libvirt_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,3 +165,8 @@ func TestLibvirtCreatePeerPodWithAuthenticatedImageWithValidCredentials(t *testi
t.Skip("Registry Credentials, or authenticated image name not exported")
}
}

func TestLibvirtCreateWithCpuAndMemRequestLimit(t *testing.T) {
assert := LibvirtAssert{}
DoTestPodWithCpuMemLimitsAndRequests(t, testEnv, assert, "100m", "100Mi", "200m", "200Mi")
}

0 comments on commit 20ec0c8

Please sign in to comment.