Salome HOME
Test1967: Update tolerance ratio for moving vs creating.
authorPascal Obry <pascal.obry@edf.fr>
Tue, 19 Dec 2023 14:04:46 +0000 (15:04 +0100)
committerPascal Obry <pascal.obry@edf.fr>
Wed, 20 Dec 2023 18:13:37 +0000 (19:13 +0100)
commitca4fd4963bc25eab9382b9c8b9f5494c1acc8dac
treea22689ccef3660fcbb61ddaae8a6f91defb058e2
parentcd89b19af5d4093bf9afddd2aaf919d0d2180484
Test1967: Update tolerance ratio for moving vs creating.

It was expected that the time to move a point was 1/10 the time
needed to create the sketch. This ratio is just to restrictive
and proved to be wrong as many time we get an assertion error
on some machine:

AssertionError: Time to move point 0.024923065677285194 is greater than expected 0.01865600571036339

We allow for 1/5 of the time now. This is not perfect nor good but
the previous ratio was boggus anyway. Maybe at some point we
will need to rewrite this test for something more stable in time.
src/SketchPlugin/Test/Test1967.py