You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "adoroszlai (via GitHub)" <gi...@apache.org> on 2023/01/26 16:37:44 UTC

[GitHub] [ozone] adoroszlai opened a new pull request, #4213: HDDS-7808. Intermittent failure in TestReplicationManager#testUnderReplicationQueuePopulated

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

   ## What changes were proposed in this pull request?
   
   Fix intermittent failure in `TestReplicationManager#testUnderReplicationQueuePopulated`.  Unexpected results were caused by concurrent processing of the replication queue in background threads.  The unit test assumes deterministic results after explicit `processAll` calls.  The patch disables those threads for the unit test.
   
   https://issues.apache.org/jira/browse/HDDS-7808
   
   ## How was this patch tested?
   
   Reproduced the problem without the fix in 5 out of 1000 repetitions:
   https://github.com/adoroszlai/hadoop-ozone/actions/runs/4016532071/jobs/6899876966#step:5:750
   https://github.com/adoroszlai/hadoop-ozone/actions/runs/4016532071/jobs/6899875959#step:5:750
   https://github.com/adoroszlai/hadoop-ozone/actions/runs/4016532071/jobs/6899876132#step:5:750
   
   With the fix, the failure has not happened in any of the 1000 repetitions:
   https://github.com/adoroszlai/hadoop-ozone/actions/runs/4016703254
   
   Regular CI:
   https://github.com/adoroszlai/hadoop-ozone/actions/runs/4016369664


-- 
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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org


[GitHub] [ozone] adoroszlai merged pull request #4213: HDDS-7808. Intermittent failure in TestReplicationManager#testUnderReplicationQueuePopulated

Posted by "adoroszlai (via GitHub)" <gi...@apache.org>.
adoroszlai merged PR #4213:
URL: https://github.com/apache/ozone/pull/4213


-- 
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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org