forked from enlightenment/efl
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:
parent
f63cd63e54
commit
c25d4e8325
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue