Fix startup complete tests to ensure we properly poll the server for completed startup. Fixes #2192

This commit is contained in:
Dave Page 2017-02-26 11:52:42 +00:00
parent 074f7a805e
commit 2ebd256307

View File

@ -145,7 +145,7 @@ int main(int argc, char * argv[])
// will also retry - that shouldn't (in theory) be necessary, but it won't // will also retry - that shouldn't (in theory) be necessary, but it won't
// hurt. // hurt.
int attempt = 0; int attempt = 0;
while (attempt++ < 3) while (attempt++ < 10)
{ {
bool alive = PingServer(QUrl(appServerUrl)); bool alive = PingServer(QUrl(appServerUrl));
@ -185,7 +185,7 @@ bool PingServer(QUrl url)
QNetworkReply *reply; QNetworkReply *reply;
QVariant redirectUrl; QVariant redirectUrl;
url.setPath("/ping"); url.setPath("/misc/ping");
do do
{ {