We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 17ad9e9 + 2c74c65 commit 05a32b1Copy full SHA for 05a32b1
src/vmm/src/arch/aarch64/vcpu.rs
@@ -271,8 +271,9 @@ mod tests {
271
// We are reading the SYS_CNTPCT_EL0 right after resetting it.
272
// If reset did happen successfully, the value should be quite small when we read it.
273
// If the reset did not happen, the value will be same as on the host and it surely
274
- // will be more that MAX_VALUE.
275
- let max_value = 1000;
+ // will be more that `max_value`. Measurements show that usually value is close
+ // to 1000. Use bigger `max_value` just in case.
276
+ let max_value = 10_000;
277
278
assert!(counter_value < max_value);
279
}
0 commit comments