From: Joe Konno Date: Wed, 29 Aug 2012 15:19:19 +0000 (-0700) Subject: efl: additional time padding for notification X-Git-Tag: upstream/0.2.1~228 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a41867a573c08bcd45caa422eeca1043163dd1e2;p=test%2Fgeneric%2Fwayland-fits.git efl: additional time padding for notification Reduce the duration of the yield() to lower the probability of missing an event. Also, expand the "pass" tolerance to +4 secs (from 1 sec). Signed-off-by: Joe Konno --- diff --git a/src/efl/test_notify.cpp b/src/efl/test_notify.cpp index feb2397..841b518 100644 --- a/src/efl/test_notify.cpp +++ b/src/efl/test_notify.cpp @@ -48,8 +48,8 @@ public: ) ); - // If it takes more than 2 seconds for this event to fire, we have a bug - checkTimedOut(time(NULL) + 2); + // If it takes more than 5 seconds for this event to fire, we have a bug + checkTimedOut(time(NULL) + 5); } void noOp(void) @@ -64,8 +64,8 @@ public: if (not timedout_) { - // prevent a hot loop, sleep for 1/100 of a second - Application::yield(10000); + // prevent a hot loop, sleep for 100ms + Application::yield(100); // awaiting the "timedout" signal, so queue another noOp queueCallback(