summaryrefslogtreecommitdiff
path: root/tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp')
-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();