kopia lustrzana https://github.com/gaul/s3proxy
run all tests in parallel
need to strip expect headers from jclouds to workaround an issue, which maybe https://issues.apache.org/jira/browse/JCLOUDS-905pull/67/head
rodzic
5098722b8b
commit
a1c1129b53
3
pom.xml
3
pom.xml
|
@ -170,11 +170,12 @@
|
|||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>2.18.1</version>
|
||||
<configuration>
|
||||
<parallel>classes</parallel>
|
||||
<parallel>all</parallel>
|
||||
<threadCount>1</threadCount>
|
||||
<argLine>-Xmx256m</argLine>
|
||||
<redirectTestOutputToFile>true</redirectTestOutputToFile>
|
||||
<forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
|
||||
<runOrder>random</runOrder>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
|
|
|
@ -29,6 +29,7 @@ import org.eclipse.jetty.server.HttpConnectionFactory;
|
|||
import org.eclipse.jetty.server.Server;
|
||||
import org.eclipse.jetty.server.ServerConnector;
|
||||
import org.eclipse.jetty.util.ssl.SslContextFactory;
|
||||
import org.eclipse.jetty.util.thread.QueuedThreadPool;
|
||||
import org.jclouds.blobstore.BlobStore;
|
||||
|
||||
/**
|
||||
|
@ -73,6 +74,7 @@ public final class S3Proxy {
|
|||
"Must provide both identity and credential");
|
||||
|
||||
server = new Server();
|
||||
((QueuedThreadPool) server.getThreadPool()).setName("S3Proxy");
|
||||
HttpConnectionFactory httpConnectionFactory =
|
||||
new HttpConnectionFactory();
|
||||
ServerConnector connector;
|
||||
|
|
|
@ -80,6 +80,7 @@ public final class JcloudsIntegrationTest extends S3BlobIntegrationLiveTest {
|
|||
info.getS3Credential());
|
||||
props.setProperty(Constants.PROPERTY_ENDPOINT,
|
||||
info.getEndpoint().toString());
|
||||
props.setProperty(Constants.PROPERTY_STRIP_EXPECT_HEADER, "true");
|
||||
return props;
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue