tests: ecore: relax the timing precision for the promise timeout test

This test has been failing on Jenkins again and again. After adding the debug
a while ago it now shows that the value is between 0.01 and 0.02 in all cases
I have seen. Relaxing the timeout here a bit to make it pass in situation where
our CI is under load.
This commit is contained in:
Stefan Schmidt 2016-09-19 14:01:19 +02:00
parent f63cd63e54
commit c25d4e8325
1 changed files with 2 additions and 2 deletions

View File

@ -183,8 +183,8 @@ _ecore_promise_quit(void *data, const Efl_Event *ev)
double *start = success->value;
double delta = ecore_loop_time_get() - *start;
fprintf(stderr, "Ecore promise timeout took %f (should be <= 0.01)\n", delta - 0.2);
fail_if(delta - 0.2 > 0.01);
fprintf(stderr, "Ecore promise timeout took %f (should be <= 0.02)\n", delta - 0.2);
fail_if(delta - 0.2 > 0.02);
*bob = EINA_TRUE;
ecore_main_loop_quit();