Skip to content

Conversation

mcintyre94
Copy link
Contributor

Quicktest_vdi_copy: clean up (destroy VDIs created by this test like the others do)
CA-277464: Quicktest_vdi_copy: wait for VBD unplug before destroying VDI

@coveralls
Copy link

coveralls commented Feb 23, 2018

Coverage Status

Coverage decreased (-0.003%) to 18.115% when pulling 1daf976 on mcintyre94:CP-26970-master-quicktest into 0ea9cb4 on xapi-project:master.

@lindig
Copy link
Contributor

lindig commented Feb 27, 2018

This needs to be rebased

edwintorok and others added 2 commits February 27, 2018 15:04
Destroy the VDIs created by this test, like the other tests do.

Signed-off-by: Edwin Török <edvin.torok@citrix.com>
I think the issue is that when we call read_from_vdi and send the HTTP
export_raw_vdi GET request, on the server side we tell vhd-tool to write
the VDI in a given format to the file descriptor, and when it returns,
we unplug & destroy the VBD. Maybe vhd-tool closes the TCP connection
when it finishes and then the client sending the HTTP get request
continues to destroy the VDI, before the VBD is unplugged on the server
side.

Signed-off-by: Gabor Igloi <gabor.igloi@citrix.com>
@edwintorok edwintorok force-pushed the CP-26970-master-quicktest branch from a556b93 to 1daf976 Compare February 27, 2018 15:04
@mseri mseri merged commit ddc12d0 into xapi-project:master Feb 28, 2018
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.

6 participants