Arsnael commented on pull request #590:
URL: https://github.com/apache/james-project/pull/590#issuecomment-897317175


   > You can run 
`org.apache.james.webadmin.data.jmap.JmapUploadRoutesTest#cleanUploadTaskShouldSuccessWhenMixCase`
   > It removes only one expired bucket. (My expect: It have to remove two 
expired buckets)
   
   Not  sure what is wrong but could possibly be your mocks on the Clock (mocks 
are evil^^). If you apply @chibenwa suggestion to use `UpdatableTickingClock`, 
you have a better chance of having your test working IMO. Try this first, if 
still not working then we will need to dig more :)


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