fix a delay in factory test to match a revised delay

waiting a bit longer for the EC to boot requires the confirmation
time threshold for the EC boot to also be stretched out
This commit is contained in:
bunnie 2022-02-06 03:13:33 +08:00
parent c86df3d095
commit 36bf400d46

View file

@ -255,7 +255,7 @@ impl<'a> ShellCmdApi<'a> for Test {
env.com.reseed_ec_trng().unwrap();
let ut_after = env.com.get_ec_uptime().unwrap();
if ut < ut_after || ut_after > 4200 {
if ut < ut_after || ut_after > 8500 {
log::info!("{}|ECRESET|FAIL|{}|{}|", SENTINEL, ut, ut_after);
} else {
log::info!("{}|ECRESET|PASS|{}|{}|", SENTINEL, ut, ut_after);