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

[1LP][RFR] Automated test_storage_volume_backup_restore tests #10057

Merged
merged 2 commits into from
Apr 22, 2020

Conversation

mmojzis
Copy link
Contributor

@mmojzis mmojzis commented Apr 15, 2020

No description provided.

@mmojzis mmojzis changed the title [WIPTEST] Automated test_storage_volume_backup_restore tests [RFR] Automated test_storage_volume_backup_restore tests Apr 20, 2020
Copy link
Contributor

@john-dupuy john-dupuy left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for this PR @mmojzis!

@john-dupuy john-dupuy added the test-automation To be applied on PR's which are automating existing manual cases label Apr 22, 2020
Comment on lines +132 to +133
wait_for(lambda: restored_volume.status == 'available', fail_func=backup.refresh, delay=30,
timeout=600)
Copy link
Contributor

Choose a reason for hiding this comment

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

In order for this test to assert properly I think this should be like,

try:
    wait_for(lambda: restored_volume.status == 'available', fail_func=backup.refresh, delay=30,
             timeout=600)
except TimedOutError:
    pytest.fail("Failed waiting for volume to become available")

But I'd consider it optional for now.

@john-dupuy john-dupuy changed the title [RFR] Automated test_storage_volume_backup_restore tests [1LP][RFR] Automated test_storage_volume_backup_restore tests Apr 22, 2020
@mshriver mshriver self-assigned this Apr 22, 2020
@mshriver mshriver merged commit 5c23c91 into ManageIQ:master Apr 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lint-ok test-automation To be applied on PR's which are automating existing manual cases
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants