After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 786379 - Meson test timeout is too short
Meson test timeout is too short
Status: RESOLVED FIXED
Product: pango
Classification: Platform
Component: general
1.40.x
Other Linux
: Normal normal
: ---
Assigned To: pango-maint
pango-maint
Depends on:
Blocks:
 
 
Reported: 2017-08-16 15:49 UTC by Adam Sampson
Modified: 2017-08-17 01:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to increase the timeout to four minutes (654 bytes, patch)
2017-08-16 15:49 UTC, Adam Sampson
none Details | Review

Description Adam Sampson 2017-08-16 15:49:22 UTC
Created attachment 357740 [details] [review]
Patch to increase the timeout to four minutes

Unlike automake, meson imposes a 30-second timeout on tests by default. On my ARMv7 build machine (which has a 1GHz Allwinner A20 CPU), test-pangocairo-threads takes 1m45 to complete.

Specifying something like "timeout: 4 * 60" in the test() call fixes this. Patch attached.
Comment 1 Behdad Esfahbod 2017-08-17 01:26:18 UTC
Wow, that takes long!  Maybe we can make the test faster by reducing the number of iterations.  I'm fine with doing both.  I just pushed out a commit, reducing work the test does by 8x.
Comment 2 Behdad Esfahbod 2017-08-17 01:27:07 UTC
Let's mark fixed.  If still happens, we can increase test time.

Author: Behdad Esfahbod <behdad@behdad.org>
Date:   Wed Aug 16 18:26:00 2017 -0700

    [test] Reduce test-pangocairo-thread work by 8x
    
    Fixes https://bugzilla.gnome.org/show_bug.cgi?id=786379