Set explicit testcase.timeout for slow tests
authorRohan McGovern <rohan.mcgovern@nokia.com>
Tue, 29 May 2012 06:20:22 +0000 (16:20 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 29 May 2012 07:39:18 +0000 (09:39 +0200)
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>
tests/auto/network/access/qnetworkreply/test/test.pro
tests/auto/network/socket/qudpsocket/test/test.pro
tests/auto/network/ssl/qsslsocket_onDemandCertificates_member/qsslsocket_onDemandCertificates_member.pro
tests/auto/widgets/graphicsview/qgraphicsview/qgraphicsview.pro
tests/auto/widgets/kernel/qwidget/qwidget.pro

index 61f979d..302a603 100644 (file)
@@ -1,4 +1,5 @@
 CONFIG += testcase
+testcase.timeout = 600 # this test is slow
 CONFIG += parallel_test
 QT -= gui
 SOURCES  += ../tst_qnetworkreply.cpp
index 48e076b..8ad16c6 100644 (file)
@@ -1,4 +1,5 @@
 CONFIG += testcase
+testcase.timeout = 800 # this test is slow
 SOURCES  += ../tst_qudpsocket.cpp
 QT = core network testlib
 
index 20cff55..49dca55 100644 (file)
@@ -1,4 +1,5 @@
 CONFIG += testcase
+testcase.timeout = 250 # this test is slow
 TARGET = tst_qgraphicsview
 
 QT += widgets widgets-private testlib
index 678796d..ffb0920 100644 (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