kopia lustrzana https://github.com/gaul/s3proxy
rodzic
111a681b5a
commit
00142f3a48
|
@ -128,7 +128,7 @@ public final class AwsSdkTest {
|
|||
@Before
|
||||
public void setUp() throws Exception {
|
||||
TestUtils.S3ProxyLaunchInfo info = TestUtils.startS3Proxy(
|
||||
"s3proxy.conf");
|
||||
System.getProperty("s3proxy.test.conf", "s3proxy.conf"));
|
||||
awsCreds = new BasicAWSCredentials(info.getS3Identity(),
|
||||
info.getS3Credential());
|
||||
context = info.getBlobStore().getContext();
|
||||
|
|
|
@ -63,7 +63,8 @@ public final class JcloudsBucketsLiveTest extends BucketsLiveTest {
|
|||
protected Properties setupProperties() {
|
||||
TestUtils.S3ProxyLaunchInfo info;
|
||||
try {
|
||||
info = TestUtils.startS3Proxy("s3proxy.conf");
|
||||
info = TestUtils.startS3Proxy(
|
||||
System.getProperty("s3proxy.test.conf", "s3proxy.conf"));
|
||||
s3Proxy = info.getS3Proxy();
|
||||
context = info.getBlobStore().getContext();
|
||||
blobStoreType = context.unwrap().getProviderMetadata().getId();
|
||||
|
|
|
@ -59,7 +59,8 @@ public final class JcloudsS3BlobIntegrationLiveTest
|
|||
protected Properties setupProperties() {
|
||||
TestUtils.S3ProxyLaunchInfo info;
|
||||
try {
|
||||
info = TestUtils.startS3Proxy("s3proxy.conf");
|
||||
info = TestUtils.startS3Proxy(
|
||||
System.getProperty("s3proxy.test.conf", "s3proxy.conf"));
|
||||
s3Proxy = info.getS3Proxy();
|
||||
context = info.getBlobStore().getContext();
|
||||
blobStoreType = context.unwrap().getProviderMetadata().getId();
|
||||
|
|
|
@ -55,7 +55,8 @@ public final class JcloudsS3BlobSignerLiveTest extends S3BlobSignerLiveTest {
|
|||
protected Properties setupProperties() {
|
||||
TestUtils.S3ProxyLaunchInfo info;
|
||||
try {
|
||||
info = TestUtils.startS3Proxy("s3proxy.conf");
|
||||
info = TestUtils.startS3Proxy(
|
||||
System.getProperty("s3proxy.test.conf", "s3proxy.conf"));
|
||||
s3Proxy = info.getS3Proxy();
|
||||
context = info.getBlobStore().getContext();
|
||||
} catch (Exception e) {
|
||||
|
|
|
@ -67,7 +67,8 @@ public final class JcloudsS3ClientLiveTest extends S3ClientLiveTest {
|
|||
protected Properties setupProperties() {
|
||||
TestUtils.S3ProxyLaunchInfo info;
|
||||
try {
|
||||
info = TestUtils.startS3Proxy("s3proxy.conf");
|
||||
info = TestUtils.startS3Proxy(
|
||||
System.getProperty("s3proxy.test.conf", "s3proxy.conf"));
|
||||
s3Proxy = info.getS3Proxy();
|
||||
context = info.getBlobStore().getContext();
|
||||
blobStoreType = context.unwrap().getProviderMetadata().getId();
|
||||
|
|
|
@ -58,7 +58,8 @@ public final class JcloudsS3ContainerIntegrationLiveTest
|
|||
protected Properties setupProperties() {
|
||||
TestUtils.S3ProxyLaunchInfo info;
|
||||
try {
|
||||
info = TestUtils.startS3Proxy("s3proxy.conf");
|
||||
info = TestUtils.startS3Proxy(
|
||||
System.getProperty("s3proxy.test.conf", "s3proxy.conf"));
|
||||
s3Proxy = info.getS3Proxy();
|
||||
context = info.getBlobStore().getContext();
|
||||
blobStoreType = context.unwrap().getProviderMetadata().getId();
|
||||
|
|
Ładowanie…
Reference in New Issue