summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDenis Shienkov <denis.shienkov@gmail.com>2015-09-02 20:43:52 +0300
committerDenis Shienkov <denis.shienkov@gmail.com>2015-09-06 11:27:22 +0000
commit45bf94455c065b64dec65f354e62999b1c16cc7e (patch)
tree445b9830041b4e8597a67d1626ecf8548869625d /tests
parentbe52ae33e53ef6cf30af278b26769d7b1ff46143 (diff)
downloadqtserialport-45bf94455c065b64dec65f354e62999b1c16cc7e.tar.gz
Increase time for test
... because 500 msec is not enough for reopening of real USB serial port in synchronousReadWriteAfterAsynchronousReadWrite test. Tested with the USB serial ports from Prolific (PL2303). Change-Id: Ic944567247d1b4a9971489289279b8191704d38c Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com> Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qserialport/tst_qserialport.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qserialport/tst_qserialport.cpp b/tests/auto/qserialport/tst_qserialport.cpp
index 3b91b7b..947047a 100644
--- a/tests/auto/qserialport/tst_qserialport.cpp
+++ b/tests/auto/qserialport/tst_qserialport.cpp
@@ -842,7 +842,7 @@ void tst_QSerialPort::synchronousReadWriteAfterAsynchronousReadWrite()
QMetaObject::invokeMethod(slave, "open", Qt::QueuedConnection);
- tst_QSerialPort::enterLoopMsecs(500);
+ tst_QSerialPort::enterLoopMsecs(2000);
thread.quit();
thread.wait();