diff options
Diffstat (limited to 'tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp')
-rw-r--r-- | tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp b/tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp index 19af815..71e1262 100644 --- a/tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp +++ b/tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp @@ -472,8 +472,8 @@ void tst_QWebSocket::tst_sendTextMessage() QCOMPARE(urlConnected, url); QCOMPARE(socket.bytesToWrite(), 0); - // transmit a long text message with 64 kb - QString longString(65536, 'a'); + // transmit a long text message with 1 MB + QString longString(0x100000, 'a'); socket.sendTextMessage(longString); QVERIFY(socket.bytesToWrite() > longString.length()); QVERIFY(textMessageReceived.wait()); |