summaryrefslogtreecommitdiff
path: root/src/tests/ecore/ecore_test_timer.c
diff options
context:
space:
mode:
authorCedric Bail <cedric@osg.samsung.com>2016-05-15 06:41:16 -0700
committerCedric Bail <cedric@osg.samsung.com>2016-05-15 06:44:49 -0700
commit559441bdd553c15f8d15efa7f414fd9706276eb8 (patch)
treedac52ca6e0654d4f6aaaec22ab3c9d82d84db613 /src/tests/ecore/ecore_test_timer.c
parent4640d4a9f9d25ad1fda8edb35a5d6cacda12d08a (diff)
ecore: make timeout test that the timeout does happen at least after it is supposed to.
The test had to been relaxed to allow the server to be overloaded !
Diffstat (limited to '')
-rw-r--r--src/tests/ecore/ecore_test_timer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/ecore/ecore_test_timer.c b/src/tests/ecore/ecore_test_timer.c
index bb76968dcc..cdb0d2567e 100644
--- a/src/tests/ecore/ecore_test_timer.c
+++ b/src/tests/ecore/ecore_test_timer.c
@@ -180,9 +180,9 @@ _ecore_promise_quit(void *data, void *value)
180{ 180{
181 Eina_Bool *bob = data; 181 Eina_Bool *bob = data;
182 double *start = *(double**)value; 182 double *start = *(double**)value;
183 double delta = fabs(ecore_loop_time_get() - *start); 183 double delta = ecore_loop_time_get() - *start;
184 184
185 fail_if(fabs(delta - 0.2) > 0.01); 185 fail_if(delta - 0.2 > 0.01);
186 186
187 *bob = EINA_TRUE; 187 *bob = EINA_TRUE;
188 ecore_main_loop_quit(); 188 ecore_main_loop_quit();