Commit 70da3ad0 authored by Krzysztof Nowicki's avatar Krzysztof Nowicki

EWS/test: Increase the retry timeout to 250ms

The existing 250us was way to short. This caused the test to fail as the
resource sometimes failed to start-up within 1ms. Now it will have 1s
for stat-up, which should be enough.
parent 92664ed2
......@@ -109,7 +109,7 @@ TestAgentInstance::TestAgentInstance(const QString &url)
reply = mEwsSettingsInterface->baseUrl();
if (!reply.isValid()) {
qDebug() << "Failed to set base URL:" << reply.error().message();
QThread::usleep(250);
QThread::msleep(250);
}
} while (!reply.isValid() && retryCnt-- > 0);
QVERIFY(reply.isValid());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment