mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-12-28 01:41:13 -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
|
// 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
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user