diff options
author | Markus Goetz <Markus.Goetz@nokia.com> | 2009-11-24 14:00:35 (GMT) |
---|---|---|
committer | Markus Goetz <Markus.Goetz@nokia.com> | 2009-11-24 14:00:59 (GMT) |
commit | 203a13e83a224d646df854678fe63a66506b09a6 (patch) | |
tree | 75327265f489408b1ec4d7c6aaa6609c42a1ab17 /tests/auto | |
parent | 7db46e32124ad902eb08baaa146f84403b1fbcbd (diff) | |
download | Qt-203a13e83a224d646df854678fe63a66506b09a6.zip Qt-203a13e83a224d646df854678fe63a66506b09a6.tar.gz Qt-203a13e83a224d646df854678fe63a66506b09a6.tar.bz2 |
tst_qftp: Increase timeout in the abort() test.
Reviewed-by: TrustMe
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/qftp/tst_qftp.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/auto/qftp/tst_qftp.cpp b/tests/auto/qftp/tst_qftp.cpp index 13d0f0b..dde023e 100644 --- a/tests/auto/qftp/tst_qftp.cpp +++ b/tests/auto/qftp/tst_qftp.cpp @@ -1304,6 +1304,9 @@ void tst_QFtp::abort_data() void tst_QFtp::abort() { + // In case you wonder where the abort() actually happens, look into + // tst_QFtp::dataTransferProgress + // QFETCH( QString, host ); QFETCH( uint, port ); QFETCH( QString, file ); @@ -1325,7 +1328,7 @@ void tst_QFtp::abort() addCommand( QFtp::Close, ftp->close() ); for(int time = 0; time <= uploadData.length() / 30000; time += 30) { - QTestEventLoop::instance().enterLoop( 30 ); + QTestEventLoop::instance().enterLoop( 50 ); if(ftp->currentCommand() == QFtp::None) break; } |