[ 
https://issues.apache.org/jira/browse/OAK-7807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16639952#comment-16639952
 ] 

Matt Ryan commented on OAK-7807:
--------------------------------

[~amjain] in my testing it looks like bucket deletion was usually working but 
there were some random cases where it was failing.  Between separating the 
teardown from bucket deletion (two different try-blocks) and then the extra 
cleanup attempt in the {{@AfterClass}} method seemed to catch them all.  I 
don't have much more info than that right now.

As for the suffix change, I wanted to use wording that would be unlikely to be 
used by a normal human but would be easy to identify.  (I had to spend a lot of 
time cleaning up my left-behind buckets last night, and having a more 
descriptive name would have made it easier.)  I've shortened the prefix to 
{{-s3ds-unittest-autogenerated}} in [^OAK-7807.patch.2], is that better?

 

> [S3DataStore] S3DataStore unit tests not deleting buckets created during test
> -----------------------------------------------------------------------------
>
>                 Key: OAK-7807
>                 URL: https://issues.apache.org/jira/browse/OAK-7807
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: blob-cloud
>    Affects Versions: 1.9.8
>            Reporter: Matt Ryan
>            Assignee: Matt Ryan
>            Priority: Major
>         Attachments: OAK-7807.patch, OAK-7807.patch.2
>
>
> It appears that when the S3DataStore tests run they are not properly cleaning 
> up S3 buckets that were created during the execution of the test.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to