Skip to content

Commit

Permalink
fix: do not remove container to clear it in AbstractN5Test.testDeepLi…
Browse files Browse the repository at this point in the history
…st()

* this worked for file-system based backends but breaks for e.g. AWS-S3 if the container is the bucket
  • Loading branch information
axtimwalde authored Oct 4, 2022
1 parent d840ed5 commit a1fcd2f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test/java/org/janelia/saalfeldlab/n5/AbstractN5Test.java
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,8 @@ public void testDeepList() {
try {

// clear container to start
n5.remove();
for (final String g : n5.list("/"))
n5.remove(g);

n5.createGroup(groupName);
for (final String subGroup : subGroupNames)
Expand Down

0 comments on commit a1fcd2f

Please sign in to comment.