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:
parent
4e9e4d940f
commit
dd3e4f1dbe
@ -1,4 +1,5 @@
|
||||
CONFIG += testcase
|
||||
testcase.timeout = 600 # this test is slow
|
||||
CONFIG += parallel_test
|
||||
QT -= gui
|
||||
SOURCES += ../tst_qnetworkreply.cpp
|
||||
|
@ -1,4 +1,5 @@
|
||||
CONFIG += testcase
|
||||
testcase.timeout = 800 # this test is slow
|
||||
SOURCES += ../tst_qudpsocket.cpp
|
||||
QT = core network testlib
|
||||
|
||||
|
@ -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
|
||||
|
@ -1,4 +1,5 @@
|
||||
CONFIG += testcase
|
||||
testcase.timeout = 250 # this test is slow
|
||||
TARGET = tst_qgraphicsview
|
||||
|
||||
QT += widgets widgets-private testlib
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user