summaryrefslogtreecommitdiffstats
path: root/tests/auto/qftp
diff options
context:
space:
mode:
authorMarkus Goetz <Markus.Goetz@nokia.com>2009-11-24 15:00:35 +0100
committerMarkus Goetz <Markus.Goetz@nokia.com>2009-11-24 15:00:59 +0100
commit203a13e83a224d646df854678fe63a66506b09a6 (patch)
tree75327265f489408b1ec4d7c6aaa6609c42a1ab17 /tests/auto/qftp
parent7db46e32124ad902eb08baaa146f84403b1fbcbd (diff)
tst_qftp: Increase timeout in the abort() test.
Reviewed-by: TrustMe
Diffstat (limited to 'tests/auto/qftp')
-rw-r--r--tests/auto/qftp/tst_qftp.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/auto/qftp/tst_qftp.cpp b/tests/auto/qftp/tst_qftp.cpp
index 13d0f0becd..dde023e13b 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;
}