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 Change-Id: Icb44fdbd2aa117de7350c5df2e8351bb19c865c4 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io> (cherry picked from commit 88763730cc9bc5929e0ff2af0a78276636bc91ab) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
cdee812bdb
commit
50af22aa8d
@ -6537,7 +6537,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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user