From 513a5d074cb4e22e791fa844720d443f1b7788e6 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Wed, 13 Mar 2024 12:53:51 -0700 Subject: [PATCH] tst_QHostInfo: increase the timeout to 15s MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit That seems to be enough for me when trying to reverse-resolve host names inside the corporate network. Change-Id: I6818d78a57394e37857bfffd17bc6b0ebd39f51b Reviewed-by: MÃ¥rten Nordheim (cherry picked from commit d18d8a7ad1f69b2e65de114d9a3edc23d56da30e) Reviewed-by: Qt Cherry-pick Bot --- tests/auto/network/kernel/qhostinfo/tst_qhostinfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/auto/network/kernel/qhostinfo/tst_qhostinfo.cpp b/tests/auto/network/kernel/qhostinfo/tst_qhostinfo.cpp index d5ab86415a1..d71addb516f 100644 --- a/tests/auto/network/kernel/qhostinfo/tst_qhostinfo.cpp +++ b/tests/auto/network/kernel/qhostinfo/tst_qhostinfo.cpp @@ -127,7 +127,7 @@ public: }); } - bool waitForResults(std::chrono::milliseconds timeout = 10s) + bool waitForResults(std::chrono::milliseconds timeout = 15s) { QTestEventLoop::instance().enterLoop(timeout); return !QTestEventLoop::instance().timeout() && lookupDone;