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: confidential-containers#2100
Signed-off-by: Wainer dos Santos Moschetta <[email protected]>
  • Loading branch information
wainersm committed Oct 8, 2024
1 parent 1687ba8 commit 711ee01
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 @@ -30,6 +30,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 @@ -101,13 +104,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 711ee01

Please sign in to comment.