Skip to content

Commit 8e793bf

Browse files
committed
fix(tests): fix compilation in integration test
Previous commit (cd3fe9a) changed the signature of ArchVm::get_dirty_bitmap() to get a page_size argument, but corresponding integration test was not updated to match this change. Signed-off-by: Babis Chalios <babis.chalios@e2b.dev>
1 parent 60f08cd commit 8e793bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vmm/tests/integration_tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ fn test_dirty_bitmap_success() {
138138
for (vmm, _) in vmms {
139139
// Let it churn for a while and dirty some pages...
140140
thread::sleep(Duration::from_millis(100));
141-
let bitmap = vmm.lock().unwrap().vm.get_dirty_bitmap().unwrap();
141+
let bitmap = vmm.lock().unwrap().vm.get_dirty_bitmap(4096).unwrap();
142142
let num_dirty_pages: u32 = bitmap
143143
.values()
144144
.map(|bitmap_per_region| {

0 commit comments

Comments
 (0)