summaryrefslogtreecommitdiff
path: root/test/stillness_detector.c
diff options
context:
space:
mode:
authorJeremy Bettis <jbettis@google.com>2022-07-11 15:51:57 -0600
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-07-13 23:54:33 +0000
commit44becd517fb02228e4099f9f030b83a30bed82e0 (patch)
tree073bb6c9159bbc6fe23ead15e8b074676bf0bd0b /test/stillness_detector.c
parent2715d7491fbeb43185ab81986e325f1929294158 (diff)
downloadchrome-ec-44becd517fb02228e4099f9f030b83a30bed82e0.tar.gz
ec: Increase sleep in stillness_detector test
The sleep at the end of the test wasn't enough to eliminate the flakes, so increase to 4s. BRANCH=None BUG=b:213374060,b:234225228 TEST=Ran this command many times make clobber ; \ make TEST_COVERAGE=y build/coverage/stillness_detector.info \ >&/dev/null && lcov --summary build/coverage/stillness_detector.info \ && lcov --list build/coverage/stillness_detector.info \ | grep common/mkbp_event.c Change-Id: I7bd9ba522105406742048c15be4b1034f0e3dc86 Signed-off-by: Jeremy Bettis <jbettis@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3756736 Auto-Submit: Jeremy Bettis <jbettis@chromium.org> Tested-by: Jeremy Bettis <jbettis@chromium.org> Reviewed-by: Aaron Massey <aaronmassey@google.com> Commit-Queue: Aaron Massey <aaronmassey@google.com>
Diffstat (limited to 'test/stillness_detector.c')
-rw-r--r--test/stillness_detector.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/stillness_detector.c b/test/stillness_detector.c
index ce28c76eb1..c8a7a22b50 100644
--- a/test/stillness_detector.c
+++ b/test/stillness_detector.c
@@ -132,6 +132,6 @@ void run_test(int argc, char **argv)
RUN_TEST(test_resets);
/* Wait for all background tasks to start. */
- sleep(2);
+ sleep(4);
test_print_result();
}