diff options
author | Mårten Nordheim <marten.nordheim@qt.io> | 2024-03-18 12:07:00 +0100 |
---|---|---|
committer | Mårten Nordheim <marten.nordheim@qt.io> | 2024-03-18 17:42:19 +0100 |
commit | 88763730cc9bc5929e0ff2af0a78276636bc91ab (patch) | |
tree | b49236d5a653d2247427c4975c3a81489af15a80 /tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp | |
parent | 5ed736b053eb9d04ecd1a6f2f375cce7fcefe4e6 (diff) |
tst_qnetworkreply::httpConnectionCount: tentatively increase timeout
It is failing a bunch on macOS in CI, but not locally.
So just assuming the timings are too tight in CI and increasing
them.
Amends 8de1ed89797cabc883b5651673daa747f6ee9c0e
Pick-to: 6.7
Change-Id: Icb44fdbd2aa117de7350c5df2e8351bb19c865c4
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp')
-rw-r--r-- | tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp b/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp index 22335690c5..8bbb683f66 100644 --- a/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp +++ b/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp @@ -6554,7 +6554,7 @@ void tst_QNetworkReply::httpConnectionCount() // to see if we should upgrade: const int rampDown = http2Enabled ? 2 : 1; while (pendingConnectionCount <= 6) { - if (!QTest::qWaitFor(newPendingConnection, pendingConnectionCount >= rampDown ? 1s : 5s)) + if (!QTest::qWaitFor(newPendingConnection, pendingConnectionCount >= rampDown ? 3s : 7s)) break; QTcpSocket *socket = server->nextPendingConnection(); while (socket) { |