Merge pull request #9043 from ChengyuZhu6/assert

runtime-rs: fix assert error in `make check`
This commit is contained in:
Dan Mihai 2024-02-07 18:19:18 -08:00 committed by GitHub
commit 535db6b29c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -215,7 +215,7 @@ mod tests {
assert_eq!(state.vm_path, clh.vm_path);
assert_eq!(state.run_dir, clh.run_dir);
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());
let clh = CloudHypervisorInner::restore((), state.clone())