mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fix startup complete tests to ensure we properly poll the server for completed startup. Fixes #2192
This commit is contained in:
parent
074f7a805e
commit
2ebd256307
@ -145,7 +145,7 @@ int main(int argc, char * argv[])
|
||||
// will also retry - that shouldn't (in theory) be necessary, but it won't
|
||||
// hurt.
|
||||
int attempt = 0;
|
||||
while (attempt++ < 3)
|
||||
while (attempt++ < 10)
|
||||
{
|
||||
bool alive = PingServer(QUrl(appServerUrl));
|
||||
|
||||
@ -185,7 +185,7 @@ bool PingServer(QUrl url)
|
||||
QNetworkReply *reply;
|
||||
QVariant redirectUrl;
|
||||
|
||||
url.setPath("/ping");
|
||||
url.setPath("/misc/ping");
|
||||
|
||||
do
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user