@@ -10827,10 +10827,11 @@ int runDelayGCP_SAVEREQ(NDBT_Context* ctx, NDBT_Step* step)
10827
10827
}
10828
10828
10829
10829
int result = NDBT_OK;
10830
+ unsigned int timeout = 240 ; // To suite many node/replica tests
10830
10831
const int victim = restarter.getNode (NdbRestarter::NS_RANDOM);
10831
10832
const Uint32 lcp_max_lag = ctx->getProperty (" MaxLcpLag" ,
10832
10833
Uint32 (60 ));
10833
- const Uint32 clear_error_insert_seconds = 20 ;
10834
+ const Uint32 clear_error_insert_seconds = 60 ;
10834
10835
10835
10836
for (int scenario=1 ; scenario < 4 ; scenario++)
10836
10837
{
@@ -10848,13 +10849,13 @@ int runDelayGCP_SAVEREQ(NDBT_Context* ctx, NDBT_Step* step)
10848
10849
false , /* abort */
10849
10850
false /* force */ ) == 0 );
10850
10851
g_err << " Waiting until node " << victim << " stops" << endl;
10851
- restarter.waitNodesNoStart (&victim, 1 );
10852
+ restarter.waitNodesNoStart (&victim, 1 , timeout );
10852
10853
break ;
10853
10854
case 3 :
10854
10855
g_err << " Scenario 3 : Start node, block GCP, check no LCP stall" << endl;
10855
10856
g_err << " Starting node " << victim << endl;
10856
10857
CHECK2 (restarter.startNodes (&victim, 1 ) == 0 );
10857
- CHECK2 (restarter.waitClusterStarted () == 0 );
10858
+ CHECK2 (restarter.waitClusterStarted (timeout ) == 0 );
10858
10859
break ;
10859
10860
default :
10860
10861
abort ();
@@ -10863,9 +10864,9 @@ int runDelayGCP_SAVEREQ(NDBT_Context* ctx, NDBT_Step* step)
10863
10864
g_err << " Inserting err delaying GCP_SAVEREQ" << endl;
10864
10865
CHECK2 (restarter.insertErrorInAllNodes (7237 ) == 0 );
10865
10866
10866
- g_err << " Sleeping for 3 * MaxLcpLag = " << 3 * lcp_max_lag << " seconds."
10867
+ g_err << " Sleeping for 3 * MaxLcpLag = " << 3 * lcp_max_lag << " seconds."
10867
10868
<< endl;
10868
- NdbSleep_SecSleep (3 * lcp_max_lag);
10869
+ NdbSleep_SecSleep (3 * lcp_max_lag);
10869
10870
10870
10871
// Remove the error insertion and let the GCP and LCP to finish
10871
10872
CHECK2 (restarter.insertErrorInAllNodes (0 ) == 0 );
0 commit comments