ensure mock tests are run single-threaded

This commit is contained in:
Adrian Cole 2012-05-15 12:12:21 -07:00
parent 0b2e14735f
commit ffb9b34cea
1 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ import org.jclouds.rest.ResourceNotFoundException;
import org.testng.annotations.BeforeMethod; import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test; import org.testng.annotations.Test;
@Test(groups = "unit", testName = "BackoffExponentiallyAndRetryOnThrowableCallableTest") @Test(groups = "unit", testName = "BackoffExponentiallyAndRetryOnThrowableCallableTest", singleThreaded = true)
public class BackoffExponentiallyAndRetryOnThrowableCallableTest { public class BackoffExponentiallyAndRetryOnThrowableCallableTest {
private Callable<String> mock; private Callable<String> mock;
@ -72,4 +72,4 @@ public class BackoffExponentiallyAndRetryOnThrowableCallableTest {
} }
verify(mock); verify(mock);
} }
} }