-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add convert disk test #121
Conversation
/ost |
7eea5db
to
3775e87
Compare
/ost |
3775e87
to
d1bddca
Compare
/ost |
0bed3ca
to
58ed668
Compare
/ost |
58ed668
to
7d840a8
Compare
/ost |
7d840a8
to
b8180f3
Compare
/ost |
2 similar comments
/ost |
/ost |
|
engine = engine_api.system_service() | ||
correlation_id = 'convert_disk' | ||
|
||
disks_service = engine.disks_service() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of going through engine_api
, then system_service
, then disks_service
you can simply use disks_service
fixture that we already have available in the test signature.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ack, changing to the fixture
query={'correlation_id': correlation_id}, | ||
) | ||
|
||
disk_service = test_utils.get_disk_service(engine, CONVERT_DISK_NAME) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here - you can use system_service
fixture directly, just add it to test function signature.
BTW we don't actually want to use stuff from test_utils
module anymore, but given we have still a lot of references to this particular function I think we'll refactor it on the side.
Almost 1 min is a lot actually, what's taking so long in that test? |
77ac77a
to
8309d24
Compare
/ost |
8309d24
to
f64e599
Compare
/ost |
it's a tiny disk, but I guess engine's internal polling for the disk creation and conversion adds up |
f64e599
to
3882d67
Compare
/ost |
Test passed on last run:
UI test failed:
|
03cbee9
to
f869d56
Compare
/ost |
f869d56
to
4aba419
Compare
/ost basic-suite-master el9stream |
1 similar comment
/ost basic-suite-master el9stream |
Convert small raw disk to qcow with incremental backup enabled Signed-off-by: Benny Zlotnik <bzlotnik@redhat.com>
a3fe29b
to
36ffc19
Compare
/ost |
Convert small raw disk to qcow with incremental backup enabled