nova/nova/tests/unit/virt/disk
Alexis Lee 2c1b19761b Wait for device to be mapped
There's a race condition when trying to perform file injection without
libguestfs, which causes a fallback to nbd device. Although the kpartx
command succeeds, it does so after the code has tested for success, so
Nova thinks it failed.

Retry a few times to avoid this.

Co-Authored-By: Paul Carlton <paul.carlton2@hp.com>
Change-Id: Ie5c186562475cd56c55520ad7123f47a0130b2a4
Closes-Bug: #1428639
Closes-Bug: #1484586
2016-03-16 10:34:52 +00:00
..
mount Wait for device to be mapped 2016-03-16 10:34:52 +00:00
vfs Fix misuse of assertTrue in console and virt tests 2016-02-22 16:09:21 +09:00
__init__.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
test_api.py Merge "Fix is_image_extendable() thinko" 2015-07-23 08:07:26 +00:00
test_inject.py virt: convert disk API over to use nova.virt.image.model 2015-06-12 09:59:00 +01:00