OSDN Git Service

Fix flaky AlarmTest.test_set_long_*
authorMarie Janssen <jamuraa@google.com>
Tue, 29 Dec 2015 23:34:55 +0000 (15:34 -0800)
committerMarie Janssen <jamuraa@google.com>
Wed, 30 Dec 2015 00:01:17 +0000 (16:01 -0800)
commitac786e364a0ba90cbc8768068f98361fe4fe3f8a
tree53368c3fa7635d0b93e188a14bb817854fcb336d
parentec636244e297b456cae4247b3bfae120701bc35f
Fix flaky AlarmTest.test_set_long_*

The "long" tests need some leeway for the timer to be checked because
sometimes it takes ~1-2ms to check timers for wakelock scheduling.

Bug: 26140385
Change-Id: I362166f1d93a811f3933776294775b594226ab30
osi/test/alarm_test.cpp