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

   ## What changes were proposed in this pull request?
   Since the background thread, `doubleBufferFlush`, flushes the double buffer 
every **1 second**, when we create a user, it would immediately flush the user 
to the double buffer, preventing us from verifying the values in the 
doubleBuffer and cache accurately. Therefore, we have added a trigger to stop 
it.
   
   Earlier the following error was being thrown by the Test as an Intermittent 
failure :- 
   
https://github.com/adoroszlai/ozone-build-results/blob/master/2023/11/27/27054/unit/hadoop-ozone/ozone-manager/org.apache.hadoop.ozone.om.ratis.TestOzoneManagerDoubleBuffer.txt
   ```
   Tests run: 8, Failures: 6, Errors: 0, Skipped: 0, Time elapsed: 10.18 s <<< 
FAILURE! -- in org.apache.hadoop.ozone.om.ratis.TestOzoneManagerDoubleBuffer
   TestOzoneManagerDoubleBuffer.testS3SecretCacheSizePostDoubleBufferFlush -- 
Time elapsed: 2.087 s <<< FAILURE!
   AssertionFailedError: expected: <true> but was: <false>
     ...
     at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:179)
     at 
org.apache.hadoop.ozone.om.ratis.TestOzoneManagerDoubleBuffer.testS3SecretCacheSizePostDoubleBufferFlush(TestOzoneManagerDoubleBuffer.java:360)
   ```
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-9780
   
   ## How was this patch tested?
   
   Tested it over 300 times in the following iterations on my fork :- 
   Test Run 1 :- https://github.com/ArafatKhan2198/ozone/actions/runs/7021332109
   Test Run 2 :- https://github.com/ArafatKhan2198/ozone/actions/runs/7021335577
   Test Run 3 :- https://github.com/ArafatKhan2198/ozone/actions/runs/7021337227
   


-- 
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