mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
block: qcow: tests: Update combo_write_read for cluster leak fixes
Freed clusters correctly have refcount=0. Remove the assertion that expected no clusters with zero refcount, as it was validating the buggy behavior. Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>
This commit is contained in:
committed by
Rob Bradford
parent
efad6578d1
commit
f1ffd795e0
@@ -2882,8 +2882,6 @@ mod unit_tests {
|
||||
assert_eq!(orig, read);
|
||||
}
|
||||
}
|
||||
|
||||
assert_eq!(qcow_file.first_zero_refcount().unwrap(), None);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user