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