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

[1LP][RFR] Fix datastore SmartState analysis tests #10295

Merged
merged 1 commit into from
Sep 3, 2020
Merged

[1LP][RFR] Fix datastore SmartState analysis tests #10295

merged 1 commit into from
Sep 3, 2020

Conversation

jarovo
Copy link
Contributor

@jarovo jarovo commented Aug 17, 2020

Purpose or Intent

PRT Run

There was some openstack related test that failed. Doesn't seem related to my PR.

@jarovo jarovo changed the title Only fix datastores Fix datastore tests Aug 17, 2020
@jarovo jarovo changed the title Fix datastore tests [WIPTEST] Fix datastore tests Aug 17, 2020
@jarovo jarovo changed the title [WIPTEST] Fix datastore tests [RFR] Fix datastore tests Aug 19, 2020
@jarovo jarovo changed the title [RFR] Fix datastore tests [RFR] Fix datastore SmartState analysis tests Aug 19, 2020
cfme/common/provider.py Outdated Show resolved Hide resolved
cfme/common/provider.py Outdated Show resolved Hide resolved
Copy link
Member

@mshriver mshriver left a comment

Choose a reason for hiding this comment

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

Thanks for working around the MIQ bug so we can continue to run these tests! Couple things to discuss about the approach, overall looking good though.

@mshriver mshriver changed the title [RFR] Fix datastore SmartState analysis tests [WIP] Fix datastore SmartState analysis tests Sep 1, 2020
@jarovo jarovo changed the title [WIP] Fix datastore SmartState analysis tests [WIPTEST] Fix datastore SmartState analysis tests Sep 1, 2020
@jarovo jarovo changed the title [WIPTEST] Fix datastore SmartState analysis tests [RFR] Fix datastore SmartState analysis tests Sep 2, 2020
@jarovo jarovo changed the title [RFR] Fix datastore SmartState analysis tests [WIPTEST] Fix datastore SmartState analysis tests Sep 2, 2020
This fixes the SSA on datastores by navigating to the datastores from
provider and then starting the test.

Also
Resolve circular imports

Fixes:

  File "/cfme/cfme_tests/cfme/utils/providers.py", line 16, in <module>
    from cfme.common.provider import all_types
ImportError: Error importing plugin "cfme.markers.env": cannot import name 'all_types' from 'cfme.common.provider' (/cfme/cfme_tests/cfme/common/provider.py)
@jarovo jarovo changed the title [WIPTEST] Fix datastore SmartState analysis tests [RFR] Fix datastore SmartState analysis tests Sep 3, 2020
@dajoRH
Copy link
Contributor

dajoRH commented Sep 3, 2020

I detected some fixture changes in commit 4c661d8

The local fixture datastore is used in the following files:

  • cfme/tests/infrastructure/test_datastore_analysis.py
    • datastores_hosts_setup
    • test_run_datastore_analysis

The local fixture datastores_hosts_setup is used in the following files:

  • cfme/tests/infrastructure/test_datastore_analysis.py

Please, consider creating a PRT run to make sure your fixture changes do not break existing usage 😃

Copy link
Member

@mshriver mshriver left a comment

Choose a reason for hiding this comment

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

Looks good, waiting on PRT results for run 2964

@mshriver mshriver changed the title [RFR] Fix datastore SmartState analysis tests [1LP][RFR] Fix datastore SmartState analysis tests Sep 3, 2020
@mshriver mshriver merged commit 672e37b into ManageIQ:master Sep 3, 2020
@jarovo jarovo deleted the only_fix_datastores branch September 4, 2020 15:18
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.

None yet

3 participants