diff options
author | aavit <qt-info@nokia.com> | 2010-09-10 13:07:57 (GMT) |
---|---|---|
committer | aavit <qt-info@nokia.com> | 2010-09-10 13:07:57 (GMT) |
commit | 738b93fd6676a24880e1ae1c603f9457b43de831 (patch) | |
tree | 512cb5e9537f2cdd06523640d06c18da89cda6b9 /tests/auto | |
parent | 437ae33b11c703ef33ebdede379b32463f22a2ee (diff) | |
download | Qt-738b93fd6676a24880e1ae1c603f9457b43de831.zip Qt-738b93fd6676a24880e1ae1c603f9457b43de831.tar.gz Qt-738b93fd6676a24880e1ae1c603f9457b43de831.tar.bz2 |
Improved path mapping, added test mode for it. Misc improvements.
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/lancelot/tst_lancelot.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/auto/lancelot/tst_lancelot.cpp b/tests/auto/lancelot/tst_lancelot.cpp index 40fe7f2..2b1329f 100644 --- a/tests/auto/lancelot/tst_lancelot.cpp +++ b/tests/auto/lancelot/tst_lancelot.cpp @@ -104,8 +104,11 @@ void tst_Lancelot::initTestCase() QSKIP("This test is not supported on this platform.", SkipAll); #endif if (!proto.connect()) { - QWARN(qPrintable(proto.errorMessage())); - QSKIP("Communication with baseline image server failed.", SkipAll); + QTest::qSleep(3000); // Wait a bit and try again, the server might just be restarting + if (!proto.connect()) { + QWARN(qPrintable(proto.errorMessage())); + QSKIP("Communication with baseline image server failed.", SkipAll); + } } QDir qpsDir(scriptsDir); |