summaryrefslogtreecommitdiff
path: root/tests/auto
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@theqtcompany.com>2015-10-20 15:21:31 +0200
committerLiang Qi <liang.qi@theqtcompany.com>2015-10-20 15:21:31 +0200
commitfa5b1568e788851fded3ab2e9818725703129fba (patch)
treeb4c16dd0a1737b5bb3d0c32b89a0ddc3b0a7c744 /tests/auto
parenta594bd5ddb0926a0854c031307606ac7a143ac77 (diff)
parent043ecfb68e1af7a8b0225e59326bf8af344df043 (diff)
downloadqtwebsockets-fa5b1568e788851fded3ab2e9818725703129fba.tar.gz
Merge remote-tracking branch 'origin/5.5' into 5.6
Change-Id: I7b56e21fa93d0d196887e8dfa683050f3a032186
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp b/tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp
index 9cef46a..3ac47c4 100644
--- a/tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp
+++ b/tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp
@@ -690,7 +690,7 @@ void tst_QWebSocket::tst_moveToThread()
socket->asyncClose();
- QCOMPARE(timer.isActive(), false);
+ QTRY_COMPARE_WITH_TIMEOUT(loop.isRunning(), false, 200);
QCOMPARE(socket->receivedMessage, textMessage);
socket->deleteLater();