Skip to content

Commit 6c453d3

Browse files
committed
Update current code coverage for ARM in tests/integration_tests/build/test_coverage.py
Signed-off-by: StemCll [email protected]
1 parent 2c7cccd commit 6c453d3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/devices/src/virtio/net/test_utils.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -434,10 +434,10 @@ pub mod test {
434434
desc.next.set(next_index);
435435
}
436436

437-
addr += len as u64;
437+
addr += u64::from(len);
438438
// Add small random gaps between descriptor addresses in order to make sure we
439439
// don't blindly read contiguous memory.
440-
addr += utils::rand::xor_pseudo_rng_u32() as u64 % 10;
440+
addr += u64::from(utils::rand::xor_pseudo_rng_u32()) % 10;
441441
}
442442

443443
// Mark the chain as available.

tests/integration_tests/build/test_coverage.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
# Checkout the cpuid crate. In the future other
2424
# differences may appear.
2525
if utils.is_io_uring_supported():
26-
COVERAGE_DICT = {"Intel": 82.99, "AMD": 82.31, "ARM": 82.39}
26+
COVERAGE_DICT = {"Intel": 82.99, "AMD": 82.31, "ARM": 82.41}
2727
else:
2828
COVERAGE_DICT = {"Intel": 80.15, "AMD": 79.48, "ARM": 79.60}
2929

0 commit comments

Comments
 (0)