diff --git a/src/cloud-api-adaptor/test/e2e/libvirt_test.go b/src/cloud-api-adaptor/test/e2e/libvirt_test.go index d4b64d217..0f08ec288 100644 --- a/src/cloud-api-adaptor/test/e2e/libvirt_test.go +++ b/src/cloud-api-adaptor/test/e2e/libvirt_test.go @@ -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) @@ -114,6 +117,9 @@ 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) } @@ -121,6 +127,9 @@ func TestLibvirtPodToServiceCommunication(t *testing.T) { 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) } @@ -130,6 +139,10 @@ func TestLibvirtImageDecryption(t *testing.T) { t.Skip("Skipping kbs related test as kbs is not deployed") } + if isTestOnCrio() { + t.Skip("Image decryption not supported with CRI-O") + } + assert := LibvirtAssert{} DoTestImageDecryption(t, testEnv, assert, keyBrokerService) }