You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by GitBox <gi...@apache.org> on 2021/08/12 03:20:50 UTC

[GitHub] [james-project] Arsnael commented on pull request #590: James 3544 webadmin upload repository cleanup

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: notifications-unsubscribe@james.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org