ec: Fix unstable coverage in charge_manager
ec: Fix unstable coverage in charge_manager

The function charger_detect_debounced() is often called after the test
ends. Add a 2 sec sleep to the end of the test just to make sure that
function gets called at least once.

BRANCH=None
BUG=b:242036305
FIXES=b:242036305
TEST=See bug.

Signed-off-by: Jeremy Bettis <4df7b5147fee087dca33c181f288ee7dbf56e022@google.com>
Change-Id: Ie2700a12a71b1bbaeaa0101b389975a3794fe6d6
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3824929
Tested-by: Jeremy Bettis <4df7b5147fee087dca33c181f288ee7dbf56e022@chromium.org>
Auto-Submit: Jeremy Bettis <4df7b5147fee087dca33c181f288ee7dbf56e022@chromium.org>
Reviewed-by: Wai-Hong Tam <04b587fdf5845741a0c5a8b9cd59ca72d73ef8fc@google.com>

coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec