Skip to content

Commit 05a32b1

Browse files
authored
Merge branch 'main' into sapphire_rapids
2 parents 17ad9e9 + 2c74c65 commit 05a32b1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/vmm/src/arch/aarch64/vcpu.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,8 +271,9 @@ mod tests {
271271
// We are reading the SYS_CNTPCT_EL0 right after resetting it.
272272
// If reset did happen successfully, the value should be quite small when we read it.
273273
// 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;
274+
// will be more that `max_value`. Measurements show that usually value is close
275+
// to 1000. Use bigger `max_value` just in case.
276+
let max_value = 10_000;
276277

277278
assert!(counter_value < max_value);
278279
}

0 commit comments

Comments
 (0)