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

[1LP][RFR] Fixing test migration_with_no_conversion #10109

Merged

Conversation

mnadeem92
Copy link
Contributor

@mnadeem92 mnadeem92 commented May 12, 2020

Signed-off-by: mnadeem92 [email protected]

re-ordering fixtures(mapping_data_vm_obj_mini, delete_conversion_hosts) used in test. As for OSP the mapping widget throws error due to a warning window pop's up as shown in attached snap.

It really does not matter for this test if we create mapping before or after deleting the conversion host, what matter's is the migration should start after deletion of conversion host.

Now the order would be like

  1. Create Mapping
  2. Delete Conversion hosts
  3. Start Migration
    Expected result---> Migration should fail as appliance has no conversion hosts.

Note: I have increase the wait_for_view from default 10s to 30s as the PRT most of the time failing due to time out as it takes >10s for navigate_to(provider, 'Edit').

{{ pytest: cfme/tests/v2v/test_v2v_migrations_ui.py -k "test_migration_with_no_conversion" --use-provider={osp13-ims,rhv-ims} --use-provider vsphere67-ims --provider-limit 2 }}

5.11 : PRT passed for both OSP and RHV
5.10: PRT is failing for OSP in jenkins, Though the exception is not related to my changes, I have tried it locally on 5.10.15.1, It passed .

@mnadeem92
Copy link
Contributor Author

md-111

@mnadeem92 mnadeem92 force-pushed the fix_test_migration_with_no_conversion branch from a8fee8a to 2fe000e Compare May 13, 2020 13:58
@mnadeem92 mnadeem92 changed the title [WIPTEST] Fixing test migration_with_no_conversion [RFR] Fixing test migration_with_no_conversion May 14, 2020
@valaparthvi valaparthvi changed the title [RFR] Fixing test migration_with_no_conversion [1LP][RFR] Fixing test migration_with_no_conversion May 14, 2020
@digitronik digitronik merged commit 1849ef9 into ManageIQ:master May 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants