Skip to content
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

Fix vm_lifecycle quicktest to use specified SR #5489

Merged
merged 1 commit into from
Mar 22, 2024

Conversation

ydirson
Copy link
Contributor

@ydirson ydirson commented Mar 6, 2024

As it stands this test uses the default SR even though user specifies one throught quicktest -sr, and fails when run on a pool with no default SR.

This makes it use the SR from command-line instead.

This is the master version of #5488.

Copy link

codecov bot commented Mar 6, 2024

Codecov Report

Merging #5489 (1bf250b) into master (21729fb) will increase coverage by 2.7%.
Report is 20 commits behind head on master.
The diff coverage is n/a.

Additional details and impacted files
@@           Coverage Diff            @@
##           master   #5489     +/-   ##
========================================
+ Coverage    49.0%   51.8%   +2.7%     
========================================
  Files          18      19      +1     
  Lines        2319    2586    +267     
========================================
+ Hits         1138    1341    +203     
- Misses       1181    1245     +64     

see 3 files with indirect coverage changes

Flag Coverage Δ
python2.7 53.6% <ø> (+0.2%) ⬆️
python3.11 58.1% <ø> (+2.3%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

This test did not exercised the SR type expected by user, and notably
failed when no default SR was defined.

Adds the option of installing a VM in a non-default SR using
VM.with_new.

Signed-off-by: Yann Dirson <[email protected]>
@psafont
Copy link
Member

psafont commented Mar 22, 2024

I'm building and testing, will approve and merge once the tests have passed

@psafont psafont merged commit cfa6efa into xapi-project:master Mar 22, 2024
26 checks passed
@psafont psafont deleted the fix-quicktest branch March 22, 2024 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants