Skip to content

Commit

Permalink
tests: Fix qemu import
Browse files Browse the repository at this point in the history
Signed-off-by: Ram Lavi <[email protected]>
  • Loading branch information
RamLavi committed Nov 27, 2024
1 parent fca688a commit c5cb1d7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"github.com/coreos/coreos-assembler/mantle/kola/register"
"github.com/coreos/coreos-assembler/mantle/platform"
"github.com/coreos/coreos-assembler/mantle/platform/conf"
"github.com/coreos/coreos-assembler/mantle/platform/machine/unprivqemu"
"github.com/coreos/coreos-assembler/mantle/platform/machine/qemu"
)

func init() {
Expand Down Expand Up @@ -223,7 +223,7 @@ func setupWithInterfacesTest(c cluster.TestCluster, primaryMac, secondaryMac str
// the golang compiler no longer checks that the individual types in the case have the
// NewMachineWithQemuOptions function, but rather whether platform.Cluster
// does which fails
case *unprivqemu.Cluster:
case *qemu.Cluster:
m, err = pc.NewMachineWithQemuOptions(userdata, options)
default:
panic("unreachable")
Expand Down Expand Up @@ -467,7 +467,7 @@ func setupMultipleNetworkTest(c cluster.TestCluster, primaryMac, secondaryMac st
// the golang compiler no longer checks that the individual types in the case have the
// NewMachineWithQemuOptions function, but rather whether platform.Cluster
// does which fails
case *unprivqemu.Cluster:
case *qemu.Cluster:
m, err = pc.NewMachineWithQemuOptions(userdata, options)
default:
panic("unreachable")
Expand Down

0 comments on commit c5cb1d7

Please sign in to comment.