make test singlethreaded to avoid surefire hangs

This commit is contained in:
Adrian Cole 2011-07-22 10:42:37 +10:00
parent f3a0e6d0bd
commit 0921cea2c7
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ import com.google.inject.TypeLiteral;
* @author Adrian Cole
*/
// NOTE:without testName, this will not call @Before* and fail w/NPE during surefire
@Test(groups = "unit", testName = "CloudServersAsyncClientTest")
@Test(groups = "unit", singleThreaded=true, testName = "CloudServersAsyncClientTest")
public class CloudServersAsyncClientTest extends RestClientTest<CloudServersAsyncClient> {
private static final Class<? extends ListOptions[]> listOptionsVarargsClass = new ListOptions[] {}.getClass();
private static final Class<? extends CreateServerOptions[]> createServerOptionsVarargsClass = new CreateServerOptions[] {}