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

[1LP][RFR] Fix subscription tests #9765

Merged
merged 3 commits into from
Dec 20, 2019
Merged

[1LP][RFR] Fix subscription tests #9765

merged 3 commits into from
Dec 20, 2019

Conversation

jarovo
Copy link
Contributor

@jarovo jarovo commented Dec 12, 2019

Purpose or Intent

Fix tests of appliance subscriptions

Needs:

https://CFME_GITLAB/cfme-qe/cfme-qe-yamls/merge_requests/876

Expected tests results:

On CFME 5.11:

    cfme/tests/configure/test_register_appliance.py::test_rh_creds_validation[rhsm-proxy_off] PASSED
    cfme/tests/configure/test_register_appliance.py::test_rh_creds_validation[sat6-proxy_off] PASSED
    cfme/tests/configure/test_register_appliance.py::test_rh_registration[rhsm-proxy_off] PASSED
    cfme/tests/configure/test_register_appliance.py::test_rh_registration[sat6-proxy_off] FAILED
    cfme/tests/configure/test_register_appliance.py::test_rhsm_registration_check_repo_names PASSED
    cfme/tests/configure/test_register_appliance.py::test_rh_updates FAILED

On CFME 5.10

    cfme/tests/configure/test_register_appliance.py::test_rh_creds_validation[rhsm-proxy_off] PASSED
    cfme/tests/configure/test_register_appliance.py::test_rh_creds_validation[sat6-proxy_off] PASSED
    cfme/tests/configure/test_register_appliance.py::test_rh_registration[rhsm-proxy_off] PASSED
    cfme/tests/configure/test_register_appliance.py::test_rh_registration[sat6-proxy_off] PASSED
    cfme/tests/configure/test_register_appliance.py::test_rhsm_registration_check_repo_names PASSED
    cfme/tests/configure/test_register_appliance.py::test_rh_updates FAILED

The sat6 test fails because the CFME 5.11 is not in our satellite yet
The test_rh_updates fails because of the test is broken and this PR is not focussed on fixing it.

Jaroslav Henner added 2 commits December 17, 2019 12:29
On CFME 5.11:
cfme/tests/configure/test_register_appliance.py::test_rh_creds_validation[rhsm-proxy_off] PASSED
cfme/tests/configure/test_register_appliance.py::test_rh_creds_validation[sat6-proxy_off] PASSED
cfme/tests/configure/test_register_appliance.py::test_rh_registration[rhsm-proxy_off] FAILED
cfme/tests/configure/test_register_appliance.py::test_rh_registration[sat6-proxy_off] FAILED
cfme/tests/configure/test_register_appliance.py::test_rhsm_registration_check_repo_names PASSED
cfme/tests/configure/test_register_appliance.py::test_rh_updates FAILED

On CFME 5.10
cfme/tests/configure/test_register_appliance.py::test_rh_creds_validation[rhsm-proxy_off] PASSED
cfme/tests/configure/test_register_appliance.py::test_rh_creds_validation[sat6-proxy_off] PASSED
cfme/tests/configure/test_register_appliance.py::test_rh_registration[rhsm-proxy_off] PASSED
cfme/tests/configure/test_register_appliance.py::test_rh_registration[sat6-proxy_off] PASSED
cfme/tests/configure/test_register_appliance.py::test_rhsm_registration_check_repo_names PASSED
cfme/tests/configure/test_register_appliance.py::test_rh_updates FAILED
@jarovo jarovo changed the title [WIPTEST] Fix subscription tests [RFR] Fix subscription tests Dec 17, 2019
@john-dupuy john-dupuy added test-automation To be applied on PR's which are automating existing manual cases fix-test and removed test-automation To be applied on PR's which are automating existing manual cases labels Dec 19, 2019
num_sec=400
)
# FIXME workaround BZ 1532201 (An exception to the rule as it waits for backend config)
time.sleep(15)
Copy link
Member

Choose a reason for hiding this comment

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

Can you create a BZ instance and check .blocks, only waiting the 15s if the BZ is blocking? That way the 15s sleep stops once the BZ is fixed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

BZ is closed. I removed the workaround and marked the test with automates metamarker.

@mshriver mshriver changed the title [RFR] Fix subscription tests [1LP][RFR] Fix subscription tests Dec 19, 2019
Copy link
Contributor

@izapolsk izapolsk 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 to me. @JaryN , please fix mshriver's comment and I'll merge your PR.

@izapolsk izapolsk merged commit 2c9f992 into ManageIQ:master Dec 20, 2019
spusateri pushed a commit to spusateri/integration_tests that referenced this pull request Jan 27, 2020
* Fix webui update tests

* Fix subscribtion tests.

On CFME 5.11:
cfme/tests/configure/test_register_appliance.py::test_rh_creds_validation[rhsm-proxy_off] PASSED
cfme/tests/configure/test_register_appliance.py::test_rh_creds_validation[sat6-proxy_off] PASSED
cfme/tests/configure/test_register_appliance.py::test_rh_registration[rhsm-proxy_off] FAILED
cfme/tests/configure/test_register_appliance.py::test_rh_registration[sat6-proxy_off] FAILED
cfme/tests/configure/test_register_appliance.py::test_rhsm_registration_check_repo_names PASSED
cfme/tests/configure/test_register_appliance.py::test_rh_updates FAILED

On CFME 5.10
cfme/tests/configure/test_register_appliance.py::test_rh_creds_validation[rhsm-proxy_off] PASSED
cfme/tests/configure/test_register_appliance.py::test_rh_creds_validation[sat6-proxy_off] PASSED
cfme/tests/configure/test_register_appliance.py::test_rh_registration[rhsm-proxy_off] PASSED
cfme/tests/configure/test_register_appliance.py::test_rh_registration[sat6-proxy_off] PASSED
cfme/tests/configure/test_register_appliance.py::test_rhsm_registration_check_repo_names PASSED
cfme/tests/configure/test_register_appliance.py::test_rh_updates FAILED

* Remove BZ 1532201 workaround
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.

5 participants