diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2020-04-20 18:05:28 +0200 |
---|---|---|
committer | Xisco FaulĂ <xiscofauli@libreoffice.org> | 2020-04-21 11:57:31 +0200 |
commit | 57839969381d93e96e98fdaee65e8593c8f07893 (patch) | |
tree | 656d8cb4a0e82f41db65378cd16af9739d45069f /solenv | |
parent | 850b8de31c5be5127eac16a4f5cc18c26a582e53 (diff) |
uitest: re-enable test using sleep
and instead of sleep(3) use
timeout = time.time() + 3
while condition != True and time.time() < timeout:
sleep(0.1)
execution time of this particular test goes from 7.785 seconds to 3.343 for me
Change-Id: I7c99385ccd858dfbb77cfc6e53a0b3f1a8b57c73
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92588
Tested-by: Jenkins
Reviewed-by: Xisco FaulĂ <xiscofauli@libreoffice.org>
Diffstat (limited to 'solenv')
0 files changed, 0 insertions, 0 deletions