mirror of https://github.com/apache/jclouds.git
Explain expected result in filesystem test
This commit is contained in:
parent
4b52f1ff86
commit
65729acd6e
|
@ -506,7 +506,8 @@ public class FilesystemStorageStrategyImplTest {
|
|||
while (containersIterator.hasNext()) {
|
||||
retrievedBlobKeys.add(containersIterator.next());
|
||||
}
|
||||
assertEquals(retrievedBlobKeys.size() - 2, createBlobKeys.size(), "Different blobs number");
|
||||
int expectedBlobs = retrievedBlobKeys.size() - 2; // ignore two directories
|
||||
assertEquals(expectedBlobs, createBlobKeys.size(), "Different blobs number");
|
||||
for (String createdBlobKey : createBlobKeys) {
|
||||
assertTrue(retrievedBlobKeys.contains(createdBlobKey), "Blob " + createdBlobKey + " not found");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue