mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
bug#8786 - ndb_autodiscover - 5.0 specific details
Wait some for all nodes to get connected ndb/tools/drop_index.cpp: Wait some for all nodes to get connected ndb/tools/drop_tab.cpp: Wait some for all nodes to get connected
This commit is contained in:
@@ -66,7 +66,7 @@ int main(int argc, char** argv){
|
|||||||
{
|
{
|
||||||
return NDBT_ProgramExit(NDBT_FAILED);
|
return NDBT_ProgramExit(NDBT_FAILED);
|
||||||
}
|
}
|
||||||
if (con.wait_until_ready(30,0) < 0)
|
if (con.wait_until_ready(30,3) < 0)
|
||||||
{
|
{
|
||||||
ndbout << "Cluster nodes not ready in 30 seconds." << endl;
|
ndbout << "Cluster nodes not ready in 30 seconds." << endl;
|
||||||
return NDBT_ProgramExit(NDBT_FAILED);
|
return NDBT_ProgramExit(NDBT_FAILED);
|
||||||
|
@@ -67,7 +67,7 @@ int main(int argc, char** argv){
|
|||||||
ndbout << "Unable to connect to management server." << endl;
|
ndbout << "Unable to connect to management server." << endl;
|
||||||
return NDBT_ProgramExit(NDBT_FAILED);
|
return NDBT_ProgramExit(NDBT_FAILED);
|
||||||
}
|
}
|
||||||
if (con.wait_until_ready(30,0) < 0)
|
if (con.wait_until_ready(30,3) < 0)
|
||||||
{
|
{
|
||||||
ndbout << "Cluster nodes not ready in 30 seconds." << endl;
|
ndbout << "Cluster nodes not ready in 30 seconds." << endl;
|
||||||
return NDBT_ProgramExit(NDBT_FAILED);
|
return NDBT_ProgramExit(NDBT_FAILED);
|
||||||
|
Reference in New Issue
Block a user