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 !
This commit is contained in:
Cedric Bail 2016-05-15 06:41:16 -07:00
parent 4640d4a9f9
commit 559441bdd5
1 changed files with 2 additions and 2 deletions

View File

@ -180,9 +180,9 @@ _ecore_promise_quit(void *data, void *value)
{
Eina_Bool *bob = data;
double *start = *(double**)value;
double delta = fabs(ecore_loop_time_get() - *start);
double delta = ecore_loop_time_get() - *start;
fail_if(fabs(delta - 0.2) > 0.01);
fail_if(delta - 0.2 > 0.01);
*bob = EINA_TRUE;
ecore_main_loop_quit();