e2e tests: Align code with documentation `By`
The `By` sentence says that the config will be updated to
allow autoconverge, but then the postcopy is activated.
@@ -3081,7 +3081,7 @@ var _ = Describe("[rfe_id:393][crit:high][vendor:cnv-qe@redhat.com][level:system
DescribeTable("migration policy", func(defineMigrationPolicy bool) {
By("Updating config to allow auto converge")
config := getCurrentKv()
- config.MigrationConfiguration.AllowPostCopy = pointer.BoolPtr(true)
+ config.MigrationConfiguration.AllowAutoConverge = pointer.BoolPtr(true)
tests.UpdateKubeVirtConfigValueAndWait(config)
vmi := tests.NewRandomVMIWithEphemeralDisk(cd.ContainerDiskFor(cd.ContainerDiskAlpine))
@@ -3090,7 +3090,7 @@ var _ = Describe("[rfe_id:393][crit:high][vendor:cnv-qe@redhat.com][level:system
if defineMigrationPolicy {
By("Creating a migration policy that overrides cluster policy")
policy := tests.PreparePolicyAndVMI(vmi)
- policy.Spec.AllowPostCopy = pointer.BoolPtr(false)
+ policy.Spec.AllowAutoConverge = pointer.BoolPtr(false)
_, err := virtClient.MigrationPolicy().Create(context.Background(), policy, metav1.CreateOptions{})
Expect(err).ToNot(HaveOccurred())
