mirror of https://github.com/apache/jclouds.git
fixed regression
This commit is contained in:
parent
7c4307ba56
commit
d45dfff1ec
|
@ -142,7 +142,7 @@ public class BaseContainerIntegrationTest extends BaseBlobStoreIntegrationTest {
|
|||
UnsupportedEncodingException {
|
||||
String containerName = getContainerName();
|
||||
try {
|
||||
String prefix = "apps";
|
||||
String prefix = "rootdelimeter";
|
||||
addTenObjectsUnderPrefix(containerName, prefix);
|
||||
add15UnderRoot(containerName);
|
||||
PageSet<? extends StorageMetadata> container = context.getBlobStore().list(containerName);
|
||||
|
@ -158,7 +158,7 @@ public class BaseContainerIntegrationTest extends BaseBlobStoreIntegrationTest {
|
|||
public void testDirectory() throws InterruptedException, UnsupportedEncodingException {
|
||||
String containerName = getContainerName();
|
||||
try {
|
||||
String directory = "apps";
|
||||
String directory = "directory";
|
||||
|
||||
assert !context.getBlobStore().directoryExists(containerName, directory);
|
||||
|
||||
|
@ -229,7 +229,7 @@ public class BaseContainerIntegrationTest extends BaseBlobStoreIntegrationTest {
|
|||
public void testListContainerPrefix() throws InterruptedException, UnsupportedEncodingException {
|
||||
String containerName = getContainerName();
|
||||
try {
|
||||
String prefix = "apps";
|
||||
String prefix = "containerprefix";
|
||||
addTenObjectsUnderPrefix(containerName, prefix);
|
||||
add15UnderRoot(containerName);
|
||||
|
||||
|
|
|
@ -57,6 +57,8 @@ public class ParseObjectInfoFromHeadersTest {
|
|||
public void testEtagCaseIssue() {
|
||||
ParseObjectInfoFromHeaders parser = i.getInstance(ParseObjectInfoFromHeaders.class);
|
||||
GeneratedHttpRequest<?> request = createMock(GeneratedHttpRequest.class);
|
||||
expect(request.getArgs()).andReturn(new String[] { "container", "key" }).atLeastOnce();
|
||||
|
||||
expect(request.getEndpoint()).andReturn(URI.create("http://localhost/test")).atLeastOnce();
|
||||
replay(request);
|
||||
parser.setContext(request);
|
||||
|
|
Loading…
Reference in New Issue