From 28469c0508423fa1c32aa28d4a298ffe6fcb4593 Mon Sep 17 00:00:00 2001 From: Rohan McGovern Date: Tue, 29 May 2012 16:18:07 +1000 Subject: 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: I46f6728a26661bf9355d68fa739c3029507c2cec Reviewed-by: Toby Tomkins Reviewed-by: Kalle Lehtonen --- tests/auto/qbluetoothsocket/qbluetoothsocket.pro | 1 + tests/auto/qbluetoothtransfermanager/qbluetoothtransfermanager.pro | 1 + 2 files changed, 2 insertions(+) (limited to 'tests') diff --git a/tests/auto/qbluetoothsocket/qbluetoothsocket.pro b/tests/auto/qbluetoothsocket/qbluetoothsocket.pro index e0ea985a..53ca2ea1 100644 --- a/tests/auto/qbluetoothsocket/qbluetoothsocket.pro +++ b/tests/auto/qbluetoothsocket/qbluetoothsocket.pro @@ -1,6 +1,7 @@ SOURCES += tst_qbluetoothsocket.cpp TARGET = tst_qbluetoothsocket CONFIG += testcase +testcase.timeout = 250 # this test is slow QT = core concurrent network bluetooth testlib diff --git a/tests/auto/qbluetoothtransfermanager/qbluetoothtransfermanager.pro b/tests/auto/qbluetoothtransfermanager/qbluetoothtransfermanager.pro index a2003298..c78e8e28 100644 --- a/tests/auto/qbluetoothtransfermanager/qbluetoothtransfermanager.pro +++ b/tests/auto/qbluetoothtransfermanager/qbluetoothtransfermanager.pro @@ -1,6 +1,7 @@ SOURCES += tst_qbluetoothtransfermanager.cpp TARGET=tst_qbluetoothtransfermanager CONFIG += testcase +testcase.timeout = 250 # this test is slow QT = core concurrent bluetooth testlib -- cgit v1.2.3