devmadhuu opened a new pull request, #5392:
URL: https://github.com/apache/ozone/pull/5392

   ## What changes were proposed in this pull request?
   
   This PR fixes the intermittent timeout issue in 
`TestRatisPipelineCreateAndDestroy.waitForPipelines` which waits for desired 
number of pipelines to be created. Issue was due to default config value of 
120sec for "`ozone.scm.pipeline.creation.interval`" being used in test case 
cluster and this config pauses background pipeline creator thread for this 
interval before further wakes up and check if SCM is out of safe mode and other 
conditions before pipeline being created. So being going to wait for 120sec , 
this could create timeout of test case in some cases if SCM is not out of safe 
mode yet and thread goes to wait mode. It is better to wake up more frequently 
for test case and check so that pipelines can quickly be created when SCM is 
out of safe mode.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-7886
   
   ## How was this patch tested?
   
   This patch was tested using multiple iterations of CI run of test cases. 
Here is the [green 
CI](https://github.com/devmadhuu/ozone/actions/runs/6414457448) link run for 
forked branch.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to