From 4716432dad41c8355a46f745b42adebd2b004c5b Mon Sep 17 00:00:00 2001 From: Wainer dos Santos Moschetta Date: Tue, 8 Oct 2024 18:12:09 -0300 Subject: [PATCH] test/e2e: skip libvirt tests for CRI-O 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 --- src/cloud-api-adaptor/test/e2e/libvirt_test.go | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/cloud-api-adaptor/test/e2e/libvirt_test.go b/src/cloud-api-adaptor/test/e2e/libvirt_test.go index d4b64d217..4e18ec843 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) }