mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 05:35:20 +00:00
0c60fa8268
The unit tests ask the Linux kernel to generate a TAP device name on demand by passing in a format string. I suspect, but haven't been able to confirm that there might be a rare race that triggers when creating lots of devices in a short period of time. This is appearing in our unit test as the occassional flake of the test_tap_read() which although it has successfully created the device it fails to set the IP address on it when looking it back up by it's name. Since this is the most frequent cause of failures on our CI use a lock to ensure that multiple TAP devices are not created simultaneously. Fixes: #2135 Signed-off-by: Rob Bradford <robert.bradford@intel.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |