Skip to content

Commit

Permalink
test/e2e: skip libvirt tests for CRI-O
Browse files Browse the repository at this point in the history
These test are already skipped on CI, also disabled them when running
locally because they fail.

Related-to: #2100
Signed-off-by: Wainer dos Santos Moschetta <[email protected]>
  • Loading branch information
wainersm committed Nov 27, 2024
1 parent 4887c2b commit 4716432
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/cloud-api-adaptor/test/e2e/libvirt_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ func TestLibvirtCreatePodWithSecret(t *testing.T) {

func TestLibvirtCreatePeerPodContainerWithExternalIPAccess(t *testing.T) {
SkipTestOnCI(t)
if isTestOnCrio() {
t.Skip("Fails with CRI-O (confidential-containers/cloud-api-adaptor#2100)")
}
assert := LibvirtAssert{}
DoTestCreatePeerPodContainerWithExternalIPAccess(t, testEnv, assert)

Expand Down Expand Up @@ -114,13 +117,19 @@ func TestLibvirtDeletePod(t *testing.T) {
func TestLibvirtPodToServiceCommunication(t *testing.T) {
// This test is causing issues on CI with instability, so skip until we can resolve this.
SkipTestOnCI(t)
if isTestOnCrio() {
t.Skip("Fails with CRI-O (confidential-containers/cloud-api-adaptor#2100)")
}
assert := LibvirtAssert{}
DoTestPodToServiceCommunication(t, testEnv, assert)
}

func TestLibvirtPodsMTLSCommunication(t *testing.T) {
// This test is causing issues on CI with instability, so skip until we can resolve this.
SkipTestOnCI(t)
if isTestOnCrio() {
t.Skip("Fails with CRI-O (confidential-containers/cloud-api-adaptor#2100)")
}
assert := LibvirtAssert{}
DoTestPodsMTLSCommunication(t, testEnv, assert)
}
Expand Down

0 comments on commit 4716432

Please sign in to comment.