Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

[1LP][RFR] fixing the test_migration_restart TC #10247

Merged
merged 1 commit into from
Jul 10, 2020

Conversation

mnadeem92
Copy link
Contributor

@mnadeem92 mnadeem92 commented Jul 9, 2020

Signed-off-by: mnadeem92 mnadeem@redhat.com

We can not rely on get_progress_percent as it won't reflect real-time value on GUI and causing the TC to fail, We had a discussion for the same with eng team, some time back and decided to go with time elapsed process during disk migration. We have followed the same with cancel migration test case also.

{{ pytest: cfme/tests/v2v/test_v2v_migrations_single_vcenter.py -k "test_migration_restart" --use-provider osp13-ims --use-provider vsphere67-ims --provider-limit 2 }}

@mnadeem92 mnadeem92 force-pushed the fixing_test_migration_restart branch from 892f7dc to 55c07c9 Compare July 9, 2020 13:20
@mnadeem92 mnadeem92 changed the title [WIPTEST] fixing the test_migration_restart TC [RFR] fixing the test_migration_restart TC Jul 10, 2020
# reboot system when the actual disk migration elapsed a 240 second time duration
migration_plan.in_progress(plan_elapsed_time=240)
appliance.restart_evm_rude()
return True
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't you need to return False in any condition?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, we do not require any True and False condition here even the wait_for is also not required, I have updated it.

Signed-off-by: mnadeem92 <mnadeem@redhat.com>
@mnadeem92 mnadeem92 force-pushed the fixing_test_migration_restart branch from 55c07c9 to a3bdfb9 Compare July 10, 2020 11:46
Copy link
Member

@ganeshhubale ganeshhubale left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :)

@valaparthvi valaparthvi changed the title [RFR] fixing the test_migration_restart TC [1LP][RFR] fixing the test_migration_restart TC Jul 10, 2020
@jawatts jawatts merged commit ed3bbcf into ManageIQ:master Jul 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants