diff options
author | Rohan McGovern <rohan.mcgovern@nokia.com> | 2012-05-29 16:20:22 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-29 09:39:18 +0200 |
commit | dd3e4f1dbe868a8524ac199af838bb5f48d8bb9d (patch) | |
tree | a2c65340f35d2a2bc85b3c9c5a8c086e11d088ae /tests/auto/network | |
parent | 4e9e4d940ffff5fce305d7525ba55a2d1d3f07db (diff) |
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>
Diffstat (limited to 'tests/auto/network')
3 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/network/access/qnetworkreply/test/test.pro b/tests/auto/network/access/qnetworkreply/test/test.pro index 61f979d2bb..302a6036be 100644 --- a/tests/auto/network/access/qnetworkreply/test/test.pro +++ b/tests/auto/network/access/qnetworkreply/test/test.pro @@ -1,4 +1,5 @@ CONFIG += testcase +testcase.timeout = 600 # this test is slow CONFIG += parallel_test QT -= gui SOURCES += ../tst_qnetworkreply.cpp diff --git a/tests/auto/network/socket/qudpsocket/test/test.pro b/tests/auto/network/socket/qudpsocket/test/test.pro index 48e076b2ab..8ad16c652d 100644 --- a/tests/auto/network/socket/qudpsocket/test/test.pro +++ b/tests/auto/network/socket/qudpsocket/test/test.pro @@ -1,4 +1,5 @@ CONFIG += testcase +testcase.timeout = 800 # this test is slow SOURCES += ../tst_qudpsocket.cpp QT = core network testlib diff --git a/tests/auto/network/ssl/qsslsocket_onDemandCertificates_member/qsslsocket_onDemandCertificates_member.pro b/tests/auto/network/ssl/qsslsocket_onDemandCertificates_member/qsslsocket_onDemandCertificates_member.pro index cd82769c51..7e6ae1cc23 100644 --- a/tests/auto/network/ssl/qsslsocket_onDemandCertificates_member/qsslsocket_onDemandCertificates_member.pro +++ b/tests/auto/network/ssl/qsslsocket_onDemandCertificates_member/qsslsocket_onDemandCertificates_member.pro @@ -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 |