mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-18 23:04:20 +01:00
runtime-rs: add unit test for block driver
add unit test for block driver Fixes:#7539 Signed-off-by: Zhongtao Hu <zhongtaohu.tim@linux.alibaba.com>
This commit is contained in:
@@ -28,9 +28,6 @@ mod tests {
|
||||
|
||||
async fn get_device_manager() -> Result<Arc<RwLock<DeviceManager>>> {
|
||||
let hypervisor_name: &str = "qemu";
|
||||
if let Err(e) = load_test_config(hypervisor_name.to_owned()) {
|
||||
println!("Test failed with error: {}", e);
|
||||
}
|
||||
let toml_config = load_test_config(hypervisor_name.to_owned())?;
|
||||
let hypervisor_config = toml_config
|
||||
.hypervisor
|
||||
|
||||
Reference in New Issue
Block a user