Skip to content

Commit

Permalink
virt, live-migration: add layer2 LM tests
Browse files Browse the repository at this point in the history
These tests are isolated in a separate suite, so we do not have to
skips tests when OpenShift virtualization is *not* deployed in the
cluster.

Follow-up commits will introduce proper tests

Signed-off-by: Miguel Duarte Barroso <[email protected]>
  • Loading branch information
maiqueb committed Oct 11, 2024
1 parent 3d638d0 commit f0ca677
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
12 changes: 12 additions & 0 deletions pkg/testsuites/standard_suites.go
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,18 @@ var staticSuites = []ginkgo.TestSuite{
return inCNISuite(name)
},
},
{
Name: "openshift/network/virtualization",
Description: templates.LongDesc(`
The conformance testing suite for virtualization related features.
`),
Matches: func(name string) bool {
if isDisabled(name) {
return false
}
return strings.Contains(name, "[Suite:openshift/network/virtualization")
},
},
{
Name: "experimental/reliability/minimal",
Description: templates.LongDesc(`
Expand Down
14 changes: 14 additions & 0 deletions test/extended/networking/livemigration.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package networking

import (
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)

var _ = Describe("[sig-network][OCPFeatureGate:PersistentIPsForVirtualization][Feature:Layer2LiveMigration]", func() {
InOVNKubernetesContext(func() {
It("dummy test [Suite:openshift/network/virtualization]", func() {
Expect(1).To(Equal(1))
})
})
})

0 comments on commit f0ca677

Please sign in to comment.