Skip to content

Commit

Permalink
Merge pull request kubevirt#11424 from Barakmor1/removeNewRvmiMigration
Browse files Browse the repository at this point in the history
migration.go: Remove use of NewRandomVMI func
  • Loading branch information
kubevirt-bot authored Mar 6, 2024
2 parents 8ad35f1 + e35e782 commit d9bc9d2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/migration/migration.go
Original file line number Diff line number Diff line change
Expand Up @@ -2349,7 +2349,10 @@ var _ = SIGMigrationDescribe("VM Live Migration", func() {

It("should be able to properly abort migration", func() {
By("Starting a VirtualMachineInstance")
vmi := tests.NewRandomVMI()
vmi := libvmi.NewGuestless(
libvmi.WithInterface(libvmi.InterfaceDeviceWithMasqueradeBinding()),
libvmi.WithNetwork(v1.DefaultPodNetwork()),
)
vmi = tests.RunVMIAndExpectLaunch(vmi, 240)

By("Trying to migrate VM and expect for the migration to get stuck")
Expand Down

0 comments on commit d9bc9d2

Please sign in to comment.