Set explicit testcase.timeout for slow tests

We'd like to decrease the default timeout for tests in the Qt Project CI
so that we waste less time waiting for hanging tests.

Tests which genuinely take a long time to run, such as these, should
have their timeout explicitly set in their .pro file.

Change-Id: I4fe6249e9efa764b230251d73a1115c24411e168
Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
This commit is contained in:
Rohan McGovern 2012-05-29 16:20:22 +10:00 committed by Qt by Nokia
parent 4e9e4d940f
commit dd3e4f1dbe
5 changed files with 5 additions and 0 deletions

View File

@ -1,4 +1,5 @@
CONFIG += testcase
testcase.timeout = 600 # this test is slow
CONFIG += parallel_test
QT -= gui
SOURCES += ../tst_qnetworkreply.cpp

View File

@ -1,4 +1,5 @@
CONFIG += testcase
testcase.timeout = 800 # this test is slow
SOURCES += ../tst_qudpsocket.cpp
QT = core network testlib

View File

@ -1,5 +1,6 @@
CONFIG += testcase
CONFIG += parallel_test
testcase.timeout = 300 # this test is slow
SOURCES += tst_qsslsocket_onDemandCertificates_member.cpp
!wince*:win32:LIBS += -lws2_32

View File

@ -1,4 +1,5 @@
CONFIG += testcase
testcase.timeout = 250 # this test is slow
TARGET = tst_qgraphicsview
QT += widgets widgets-private testlib

View File

@ -1,4 +1,5 @@
CONFIG += testcase
testcase.timeout = 600 # this test is slow
TARGET = tst_qwidget
QT += widgets core-private gui-private widgets-private testlib