disabled parallel tests on default jclouds connection

git-svn-id: http://jclouds.googlecode.com/svn/trunk@571 3d8758e0-26b5-11de-8745-db77d3ebf521
This commit is contained in:
adrian.f.cole 2009-05-09 23:24:01 +00:00
parent 39e68b5445
commit 839495b927
4 changed files with 20 additions and 9 deletions

View File

@ -116,6 +116,11 @@
<value>${jclouds.aws.secretaccesskey}</value> <value>${jclouds.aws.secretaccesskey}</value>
</property> </property>
</systemProperties> </systemProperties>
<excludes>
<exclude>**/Jets3tPerformanceTest.java</exclude>
<exclude>**/AmazonPerformanceTest.java</exclude>
<exclude>**/S3UtilsTest.java</exclude>
</excludes>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>

View File

@ -42,7 +42,7 @@ import org.testng.annotations.Test;
* *
* @author Adrian Cole * @author Adrian Cole
*/ */
@Test(enabled = false, sequential = true, timeOut = 2 * 60 * 1000, testName = "s3.AmazonPerformance") @Test(sequential = true, timeOut = 2 * 60 * 1000, testName = "s3.AmazonPerformance")
public class AmazonPerformanceTest extends BasePerformance { public class AmazonPerformanceTest extends BasePerformance {
private AWSAuthConnection amzClient; private AWSAuthConnection amzClient;

View File

@ -23,9 +23,14 @@
*/ */
package com.amazon.s3; package com.amazon.s3;
import org.testng.annotations.Test; import org.testng.annotations.Test;
/**
* Tests the default JClouds client.
*
* @author Adrian Cole
*
*/
@Test(sequential = true, timeOut = 2 * 60 * 1000, testName = "s3.JCloudsPerformance") @Test(sequential = true, timeOut = 2 * 60 * 1000, testName = "s3.JCloudsPerformance")
public class JCloudsPerformanceTest extends BaseJCloudsPerformance { public class JCloudsPerformanceTest extends BaseJCloudsPerformance {

View File

@ -37,7 +37,7 @@ import org.testng.annotations.Test;
* *
* @author Adrian Cole * @author Adrian Cole
*/ */
@Test(enabled = false, sequential = true, timeOut = 2 * 60 * 1000, testName = "s3.Jets3tPerformance") @Test(sequential = true, timeOut = 2 * 60 * 1000, testName = "s3.Jets3tPerformance")
public class Jets3tPerformanceTest extends BasePerformance { public class Jets3tPerformanceTest extends BasePerformance {
private S3Service jetClient; private S3Service jetClient;
@ -55,16 +55,17 @@ public class Jets3tPerformanceTest extends BasePerformance {
throw new UnsupportedOperationException(); throw new UnsupportedOperationException();
} }
@Override @Override
@Test(enabled = false) @Test(enabled = false)
public void testPutStringParallel() throws InterruptedException, public void testPutBytesSerial() throws Exception {
ExecutionException {
throw new UnsupportedOperationException(); throw new UnsupportedOperationException();
} }
@Override @Override
@Test(enabled = false) @Test(enabled = false)
public void testPutBytesSerial() throws Exception { public void testPutStringParallel() throws InterruptedException,
ExecutionException {
throw new UnsupportedOperationException(); throw new UnsupportedOperationException();
} }