Skip to content

Commit

Permalink
e2e conformance: use fedora VM in conformance test
Browse files Browse the repository at this point in the history
As the VM, alpine-with-test-tooling, is not support Arm64.
We use fedora VM to run conformance test.

Signed-off-by: howard zhang <[email protected]>
  • Loading branch information
zhlhahaha committed Oct 24, 2023
1 parent f340f4d commit 8a9a8ec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/network/services.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,20 +240,20 @@ var _ = SIGDescribe("Services", func() {
)

createReadyVMIWithMasqueradeBindingAndExposedService := func(hostname string, subdomain string) *v1.VirtualMachineInstance {
vmi := libvmi.NewAlpineWithTestTooling(
vmi := libvmi.NewFedora(
libvmi.WithMasqueradeNetworking()...,
)
return readyVMI(
exposeExistingVMISpec(vmi, subdomain, hostname, selectorLabelKey, selectorLabelValue),
console.LoginToAlpine)
console.LoginToFedora)
}

BeforeEach(func() {
subdomain := "vmi"
hostname := "inbound"

inboundVMI = createReadyVMIWithMasqueradeBindingAndExposedService(hostname, subdomain)
tests.StartTCPServer(inboundVMI, servicePort, console.LoginToAlpine)
tests.StartTCPServer(inboundVMI, servicePort, console.LoginToFedora)
})

AfterEach(func() {
Expand Down

0 comments on commit 8a9a8ec

Please sign in to comment.