From 36bf400d46797df66a1064e5bfb84640d1935d89 Mon Sep 17 00:00:00 2001 From: bunnie Date: Sun, 6 Feb 2022 03:13:33 +0800 Subject: [PATCH] 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 --- services/shellchat/src/cmds/test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/shellchat/src/cmds/test.rs b/services/shellchat/src/cmds/test.rs index caba82bd9..c6d5c6c0e 100644 --- a/services/shellchat/src/cmds/test.rs +++ b/services/shellchat/src/cmds/test.rs @@ -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);