mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 13:45:20 +00:00
6d452fad52
The test test_virtio_block_topology has been recently failing due to an error happening in losetup while trying to set the block size. Since there's no option in losetup for retrying, we took the approach of programming the expected behavior of creating a loop device relying directly on the system ioctl LOOP_CONFIGURE. We apply a retry loop based on the result returned by this ioctl, so that we don't fail on the first try. We also added a sleep before retrying, hoping this would help the next iteration to succeed. Fixes #3494 Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com> |
||
---|---|---|
.. | ||
integration.rs |