This is an automated email from the ASF dual-hosted git repository. gaul pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/jclouds.git
commit 65e16c97f56b141ce8fdd00a5e75227a0146d77d Author: Andrew Gaul <g...@apache.org> AuthorDate: Sun Jul 31 19:19:52 2022 +0900 Annotate test methods as singleThreaded Newer versions of testng deprecate sequential. --- apis/chef/src/test/java/org/jclouds/chef/util/ChefUtilsTest.java | 2 +- .../test/java/org/jclouds/ohai/functions/ByteArrayToMacAddressTest.java | 2 +- .../filesystem/strategy/internal/FilesystemStorageStrategyImplTest.java | 2 +- apis/s3/src/test/java/org/jclouds/s3/xml/S3ParserTest.java | 2 +- .../blobstore/functions/ParseSystemAndUserMetadataFromHeadersTest.java | 2 +- core/src/test/java/org/jclouds/crypto/PemsTest.java | 2 +- core/src/test/java/org/jclouds/functions/JoinOnCommaTest.java | 2 +- core/src/test/java/org/jclouds/http/internal/WireLiveTest.java | 2 +- core/src/test/java/org/jclouds/http/internal/WireTest.java | 2 +- .../compute/ElasticHostsPeer1LosAngelesComputeServiceLiveTest.java | 2 +- .../compute/ElasticHostsPeer1LondonComputeServiceLiveTest.java | 2 +- .../compute/ElasticHostsPeer1SanAntonioComputeServiceLiveTest.java | 2 +- .../compute/ElasticHostsPeer1TorontoComputeServiceLiveTest.java | 2 +- .../go2cloud/compute/Go2CloudJohannesburg1ComputeServiceLiveTest.java | 2 +- .../openhosting/compute/OpenHostingEast1ComputeServiceLiveTest.java | 2 +- .../serverlove/compute/ServerloveManchesterComputeServiceLiveTest.java | 2 +- .../skalicloud/compute/SkaliCloudMalaysiaComputeServiceLiveTest.java | 2 +- 17 files changed, 17 insertions(+), 17 deletions(-) diff --git a/apis/chef/src/test/java/org/jclouds/chef/util/ChefUtilsTest.java b/apis/chef/src/test/java/org/jclouds/chef/util/ChefUtilsTest.java index 5f625f4a19..faefd789f6 100644 --- a/apis/chef/src/test/java/org/jclouds/chef/util/ChefUtilsTest.java +++ b/apis/chef/src/test/java/org/jclouds/chef/util/ChefUtilsTest.java @@ -29,7 +29,7 @@ import com.google.common.collect.ImmutableList; /** * Tests behavior of {@code ChefUtils} */ -@Test(groups = { "unit" }, sequential = true) +@Test(groups = { "unit" }, singleThreaded = true) public class ChefUtilsTest { public static long millis = 1280251180727L; public static String millisString = "1280251180727"; diff --git a/apis/chef/src/test/java/org/jclouds/ohai/functions/ByteArrayToMacAddressTest.java b/apis/chef/src/test/java/org/jclouds/ohai/functions/ByteArrayToMacAddressTest.java index f736dad8c6..1c5345c7a6 100644 --- a/apis/chef/src/test/java/org/jclouds/ohai/functions/ByteArrayToMacAddressTest.java +++ b/apis/chef/src/test/java/org/jclouds/ohai/functions/ByteArrayToMacAddressTest.java @@ -24,7 +24,7 @@ import org.testng.annotations.Test; /** * Tests behavior of {@code ByteArrayToMacAddress} */ -@Test(groups = { "unit" }, sequential = true) +@Test(groups = { "unit" }, singleThreaded = true) public class ByteArrayToMacAddressTest { public void test() { diff --git a/apis/filesystem/src/test/java/org/jclouds/filesystem/strategy/internal/FilesystemStorageStrategyImplTest.java b/apis/filesystem/src/test/java/org/jclouds/filesystem/strategy/internal/FilesystemStorageStrategyImplTest.java index 33157ced6c..193a5a4e08 100644 --- a/apis/filesystem/src/test/java/org/jclouds/filesystem/strategy/internal/FilesystemStorageStrategyImplTest.java +++ b/apis/filesystem/src/test/java/org/jclouds/filesystem/strategy/internal/FilesystemStorageStrategyImplTest.java @@ -67,7 +67,7 @@ import com.google.common.util.concurrent.Uninterruptibles; /** * Test class for {@link FilesystemStorageStrategyImpl } class */ -@Test(groups = "unit", testName = "filesystem.FilesystemBlobUtilsTest", sequential = true) +@Test(groups = "unit", testName = "filesystem.FilesystemBlobUtilsTest", singleThreaded = true) public class FilesystemStorageStrategyImplTest { private static final String CONTAINER_NAME = "funambol-test"; private static final String TARGET_CONTAINER_NAME = TestUtils.TARGET_BASE_DIR + CONTAINER_NAME; diff --git a/apis/s3/src/test/java/org/jclouds/s3/xml/S3ParserTest.java b/apis/s3/src/test/java/org/jclouds/s3/xml/S3ParserTest.java index 6cd1485ced..71824b5efe 100644 --- a/apis/s3/src/test/java/org/jclouds/s3/xml/S3ParserTest.java +++ b/apis/s3/src/test/java/org/jclouds/s3/xml/S3ParserTest.java @@ -51,7 +51,7 @@ import com.google.inject.Injector; * Tests parsing of S3 responses */ // NOTE:without testName, this will not call @Before* and fail w/NPE during surefire -@Test(groups = "performance", sequential = true, timeOut = 2 * 60 * 1000, testName = "S3ParserTest") +@Test(groups = "performance", singleThreaded = true, timeOut = 2 * 60 * 1000, testName = "S3ParserTest") public class S3ParserTest extends PerformanceTest { Injector injector = null; ParseSax.Factory factory; diff --git a/blobstore/src/test/java/org/jclouds/blobstore/functions/ParseSystemAndUserMetadataFromHeadersTest.java b/blobstore/src/test/java/org/jclouds/blobstore/functions/ParseSystemAndUserMetadataFromHeadersTest.java index a2ee1dc36c..47a27c224e 100644 --- a/blobstore/src/test/java/org/jclouds/blobstore/functions/ParseSystemAndUserMetadataFromHeadersTest.java +++ b/blobstore/src/test/java/org/jclouds/blobstore/functions/ParseSystemAndUserMetadataFromHeadersTest.java @@ -32,7 +32,7 @@ import org.testng.annotations.Test; import com.google.common.net.HttpHeaders; -@Test(sequential = true) +@Test(singleThreaded = true) public class ParseSystemAndUserMetadataFromHeadersTest { private ParseSystemAndUserMetadataFromHeaders parser; diff --git a/core/src/test/java/org/jclouds/crypto/PemsTest.java b/core/src/test/java/org/jclouds/crypto/PemsTest.java index a60b58b7c3..fcb10b5eea 100644 --- a/core/src/test/java/org/jclouds/crypto/PemsTest.java +++ b/core/src/test/java/org/jclouds/crypto/PemsTest.java @@ -35,7 +35,7 @@ import com.google.common.io.ByteSource; import org.testng.annotations.Test; -@Test(groups = "unit", sequential = true) +@Test(groups = "unit", singleThreaded = true) public class PemsTest { public static final String PRIVATE_KEY = "-----BEGIN RSA PRIVATE KEY-----\nMIIEpQIBAAKCAQEAyb2ZJJqGm0KKR+8nfQJNsSd+F9tXNMV7CfOcW6jsqs8EZgiV\nR09hD1IYOj4YqM0qJONlgyg4xRWewdSG7QTPj1lJpVAida9sXy2+kzyagZA1Am0O\nZcbqb5hoeIDgcX+eDa79s0u0DomjcfO9EKhvHLBz+zM+3QqPRkPV8nYTbfs+HjVz\nzOU6D1B0XR3+IPZZl2AnWs2d0qhnStHcDUvnRVQ0P482YwN9VgceOZtpPz0DCKEJ\n5Tx5STub8k0/zt/VAMHQafLSuQMLd2s4ZLuOZptN//uAsTmxireqd37z+8ZTdBbJ\n8LEpJ+iCXuSfm5aUh7iw6oxvToY2AL53+jK2UQIDAQABAoIBAQDA88B3i/xWn0vX\nBVxFamCYoecuNjGwXX [...] diff --git a/core/src/test/java/org/jclouds/functions/JoinOnCommaTest.java b/core/src/test/java/org/jclouds/functions/JoinOnCommaTest.java index f55bc05990..349dc0173f 100644 --- a/core/src/test/java/org/jclouds/functions/JoinOnCommaTest.java +++ b/core/src/test/java/org/jclouds/functions/JoinOnCommaTest.java @@ -22,7 +22,7 @@ import org.testng.annotations.Test; import com.google.common.collect.ImmutableList; -@Test(groups = "unit", sequential = true) +@Test(groups = "unit", singleThreaded = true) public class JoinOnCommaTest { @Test public void testIterableLong() { diff --git a/core/src/test/java/org/jclouds/http/internal/WireLiveTest.java b/core/src/test/java/org/jclouds/http/internal/WireLiveTest.java index fd24226ebe..53eb028046 100644 --- a/core/src/test/java/org/jclouds/http/internal/WireLiveTest.java +++ b/core/src/test/java/org/jclouds/http/internal/WireLiveTest.java @@ -36,7 +36,7 @@ import org.jclouds.io.ByteStreams2; import org.jclouds.logging.Logger; import org.testng.annotations.Test; -@Test(groups = "live", sequential = true) +@Test(groups = "live", singleThreaded = true) public class WireLiveTest { private static final String sysHttpStreamUrl = System.getProperty("jclouds.wire.httpstream.url"); diff --git a/core/src/test/java/org/jclouds/http/internal/WireTest.java b/core/src/test/java/org/jclouds/http/internal/WireTest.java index 026cdff684..35146275fb 100644 --- a/core/src/test/java/org/jclouds/http/internal/WireTest.java +++ b/core/src/test/java/org/jclouds/http/internal/WireTest.java @@ -29,7 +29,7 @@ import java.io.InputStream; import static org.testng.Assert.assertEquals; import static org.testng.Assert.assertNotEquals; -@Test(groups = "unit", sequential = true) +@Test(groups = "unit", singleThreaded = true) public class WireTest { static class BufferLogger implements Logger { diff --git a/providers/elastichosts-lax-p/src/test/java/org/jclouds/elastichosts/compute/ElasticHostsPeer1LosAngelesComputeServiceLiveTest.java b/providers/elastichosts-lax-p/src/test/java/org/jclouds/elastichosts/compute/ElasticHostsPeer1LosAngelesComputeServiceLiveTest.java index 91f581a7a0..6e99df18f8 100644 --- a/providers/elastichosts-lax-p/src/test/java/org/jclouds/elastichosts/compute/ElasticHostsPeer1LosAngelesComputeServiceLiveTest.java +++ b/providers/elastichosts-lax-p/src/test/java/org/jclouds/elastichosts/compute/ElasticHostsPeer1LosAngelesComputeServiceLiveTest.java @@ -19,7 +19,7 @@ package org.jclouds.elastichosts.compute; import org.jclouds.elasticstack.compute.ElasticStackComputeServiceLiveTest; import org.testng.annotations.Test; -@Test(groups = "live", sequential = true, testName = "ElasticHostsPeer1LosAngelesComputeServiceLiveTest") +@Test(groups = "live", singleThreaded = true, testName = "ElasticHostsPeer1LosAngelesComputeServiceLiveTest") public class ElasticHostsPeer1LosAngelesComputeServiceLiveTest extends ElasticStackComputeServiceLiveTest { public ElasticHostsPeer1LosAngelesComputeServiceLiveTest() { diff --git a/providers/elastichosts-lon-p/src/test/java/org/jclouds/elastichosts/compute/ElasticHostsPeer1LondonComputeServiceLiveTest.java b/providers/elastichosts-lon-p/src/test/java/org/jclouds/elastichosts/compute/ElasticHostsPeer1LondonComputeServiceLiveTest.java index 868d0b965a..911db0113e 100644 --- a/providers/elastichosts-lon-p/src/test/java/org/jclouds/elastichosts/compute/ElasticHostsPeer1LondonComputeServiceLiveTest.java +++ b/providers/elastichosts-lon-p/src/test/java/org/jclouds/elastichosts/compute/ElasticHostsPeer1LondonComputeServiceLiveTest.java @@ -19,7 +19,7 @@ package org.jclouds.elastichosts.compute; import org.jclouds.elasticstack.compute.ElasticStackComputeServiceLiveTest; import org.testng.annotations.Test; -@Test(groups = "live", sequential = true, testName = "ElasticHostsPeer1LondonComputeServiceLiveTest") +@Test(groups = "live", singleThreaded = true, testName = "ElasticHostsPeer1LondonComputeServiceLiveTest") public class ElasticHostsPeer1LondonComputeServiceLiveTest extends ElasticStackComputeServiceLiveTest { public ElasticHostsPeer1LondonComputeServiceLiveTest() { diff --git a/providers/elastichosts-sat-p/src/test/java/org/jclouds/elastichosts/compute/ElasticHostsPeer1SanAntonioComputeServiceLiveTest.java b/providers/elastichosts-sat-p/src/test/java/org/jclouds/elastichosts/compute/ElasticHostsPeer1SanAntonioComputeServiceLiveTest.java index 0fb822df35..a06912d30b 100644 --- a/providers/elastichosts-sat-p/src/test/java/org/jclouds/elastichosts/compute/ElasticHostsPeer1SanAntonioComputeServiceLiveTest.java +++ b/providers/elastichosts-sat-p/src/test/java/org/jclouds/elastichosts/compute/ElasticHostsPeer1SanAntonioComputeServiceLiveTest.java @@ -19,7 +19,7 @@ package org.jclouds.elastichosts.compute; import org.jclouds.elasticstack.compute.ElasticStackComputeServiceLiveTest; import org.testng.annotations.Test; -@Test(groups = "live", sequential = true, testName = "ElasticHostsPeer1SanAntonioComputeServiceLiveTest") +@Test(groups = "live", singleThreaded = true, testName = "ElasticHostsPeer1SanAntonioComputeServiceLiveTest") public class ElasticHostsPeer1SanAntonioComputeServiceLiveTest extends ElasticStackComputeServiceLiveTest { public ElasticHostsPeer1SanAntonioComputeServiceLiveTest() { diff --git a/providers/elastichosts-tor-p/src/test/java/org/jclouds/elastichosts/compute/ElasticHostsPeer1TorontoComputeServiceLiveTest.java b/providers/elastichosts-tor-p/src/test/java/org/jclouds/elastichosts/compute/ElasticHostsPeer1TorontoComputeServiceLiveTest.java index 1971c31481..df7c15368d 100644 --- a/providers/elastichosts-tor-p/src/test/java/org/jclouds/elastichosts/compute/ElasticHostsPeer1TorontoComputeServiceLiveTest.java +++ b/providers/elastichosts-tor-p/src/test/java/org/jclouds/elastichosts/compute/ElasticHostsPeer1TorontoComputeServiceLiveTest.java @@ -19,7 +19,7 @@ package org.jclouds.elastichosts.compute; import org.jclouds.elasticstack.compute.ElasticStackComputeServiceLiveTest; import org.testng.annotations.Test; -@Test(groups = "live", sequential = true, testName = "ElasticHostsPeer1TorontoComputeServiceLiveTest") +@Test(groups = "live", singleThreaded = true, testName = "ElasticHostsPeer1TorontoComputeServiceLiveTest") public class ElasticHostsPeer1TorontoComputeServiceLiveTest extends ElasticStackComputeServiceLiveTest { public ElasticHostsPeer1TorontoComputeServiceLiveTest() { diff --git a/providers/go2cloud-jhb1/src/test/java/org/jclouds/go2cloud/compute/Go2CloudJohannesburg1ComputeServiceLiveTest.java b/providers/go2cloud-jhb1/src/test/java/org/jclouds/go2cloud/compute/Go2CloudJohannesburg1ComputeServiceLiveTest.java index a64abc4ea6..bb9838263a 100644 --- a/providers/go2cloud-jhb1/src/test/java/org/jclouds/go2cloud/compute/Go2CloudJohannesburg1ComputeServiceLiveTest.java +++ b/providers/go2cloud-jhb1/src/test/java/org/jclouds/go2cloud/compute/Go2CloudJohannesburg1ComputeServiceLiveTest.java @@ -19,7 +19,7 @@ package org.jclouds.go2cloud.compute; import org.jclouds.elasticstack.compute.ElasticStackComputeServiceLiveTest; import org.testng.annotations.Test; -@Test(groups = "live", sequential = true, testName = "Go2CloudJohannesburg1ComputeServiceLiveTest") +@Test(groups = "live", singleThreaded = true, testName = "Go2CloudJohannesburg1ComputeServiceLiveTest") public class Go2CloudJohannesburg1ComputeServiceLiveTest extends ElasticStackComputeServiceLiveTest { public Go2CloudJohannesburg1ComputeServiceLiveTest() { diff --git a/providers/openhosting-east1/src/test/java/org/jclouds/openhosting/compute/OpenHostingEast1ComputeServiceLiveTest.java b/providers/openhosting-east1/src/test/java/org/jclouds/openhosting/compute/OpenHostingEast1ComputeServiceLiveTest.java index 65804b26f1..41a6442074 100644 --- a/providers/openhosting-east1/src/test/java/org/jclouds/openhosting/compute/OpenHostingEast1ComputeServiceLiveTest.java +++ b/providers/openhosting-east1/src/test/java/org/jclouds/openhosting/compute/OpenHostingEast1ComputeServiceLiveTest.java @@ -19,7 +19,7 @@ package org.jclouds.openhosting.compute; import org.jclouds.elasticstack.compute.ElasticStackComputeServiceLiveTest; import org.testng.annotations.Test; -@Test(groups = "live", sequential = true, testName = "OpenHostingEast1ComputeServiceLiveTest") +@Test(groups = "live", singleThreaded = true, testName = "OpenHostingEast1ComputeServiceLiveTest") public class OpenHostingEast1ComputeServiceLiveTest extends ElasticStackComputeServiceLiveTest { public OpenHostingEast1ComputeServiceLiveTest() { diff --git a/providers/serverlove-z1-man/src/test/java/org/jclouds/serverlove/compute/ServerloveManchesterComputeServiceLiveTest.java b/providers/serverlove-z1-man/src/test/java/org/jclouds/serverlove/compute/ServerloveManchesterComputeServiceLiveTest.java index 48aee5df6a..b60d34095d 100644 --- a/providers/serverlove-z1-man/src/test/java/org/jclouds/serverlove/compute/ServerloveManchesterComputeServiceLiveTest.java +++ b/providers/serverlove-z1-man/src/test/java/org/jclouds/serverlove/compute/ServerloveManchesterComputeServiceLiveTest.java @@ -19,7 +19,7 @@ package org.jclouds.serverlove.compute; import org.jclouds.elasticstack.compute.ElasticStackComputeServiceLiveTest; import org.testng.annotations.Test; -@Test(groups = "live", sequential = true, testName = "ServerloveManchesterComputeServiceLiveTest") +@Test(groups = "live", singleThreaded = true, testName = "ServerloveManchesterComputeServiceLiveTest") public class ServerloveManchesterComputeServiceLiveTest extends ElasticStackComputeServiceLiveTest { public ServerloveManchesterComputeServiceLiveTest() { diff --git a/providers/skalicloud-sdg-my/src/test/java/org/jclouds/skalicloud/compute/SkaliCloudMalaysiaComputeServiceLiveTest.java b/providers/skalicloud-sdg-my/src/test/java/org/jclouds/skalicloud/compute/SkaliCloudMalaysiaComputeServiceLiveTest.java index 046d01c6c3..17570d0502 100644 --- a/providers/skalicloud-sdg-my/src/test/java/org/jclouds/skalicloud/compute/SkaliCloudMalaysiaComputeServiceLiveTest.java +++ b/providers/skalicloud-sdg-my/src/test/java/org/jclouds/skalicloud/compute/SkaliCloudMalaysiaComputeServiceLiveTest.java @@ -19,7 +19,7 @@ package org.jclouds.skalicloud.compute; import org.jclouds.elasticstack.compute.ElasticStackComputeServiceLiveTest; import org.testng.annotations.Test; -@Test(groups = "live", sequential = true, testName = "SkaliCloudMalaysiaComputeServiceLiveTest") +@Test(groups = "live", singleThreaded = true, testName = "SkaliCloudMalaysiaComputeServiceLiveTest") public class SkaliCloudMalaysiaComputeServiceLiveTest extends ElasticStackComputeServiceLiveTest { public SkaliCloudMalaysiaComputeServiceLiveTest() {