mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-05 10:10:50 +00:00
Merge pull request #9043 from ChengyuZhu6/assert
runtime-rs: fix assert error in `make check`
This commit is contained in:
commit
535db6b29c
@ -215,7 +215,7 @@ mod tests {
|
|||||||
assert_eq!(state.vm_path, clh.vm_path);
|
assert_eq!(state.vm_path, clh.vm_path);
|
||||||
assert_eq!(state.run_dir, clh.run_dir);
|
assert_eq!(state.run_dir, clh.run_dir);
|
||||||
assert_eq!(state.guest_protection_to_use, clh.guest_protection_to_use);
|
assert_eq!(state.guest_protection_to_use, clh.guest_protection_to_use);
|
||||||
assert_eq!(state.jailed, false);
|
assert!(!state.jailed);
|
||||||
assert_eq!(state.hypervisor_type, HYPERVISOR_NAME_CH.to_string());
|
assert_eq!(state.hypervisor_type, HYPERVISOR_NAME_CH.to_string());
|
||||||
|
|
||||||
let clh = CloudHypervisorInner::restore((), state.clone())
|
let clh = CloudHypervisorInner::restore((), state.clone())
|
||||||
|
Loading…
Reference in New Issue
Block a user