mirror of https://github.com/apache/jclouds.git
ensure mock tests are run single-threaded
This commit is contained in:
parent
0b2e14735f
commit
ffb9b34cea
|
@ -31,7 +31,7 @@ import org.jclouds.rest.ResourceNotFoundException;
|
|||
import org.testng.annotations.BeforeMethod;
|
||||
import org.testng.annotations.Test;
|
||||
|
||||
@Test(groups = "unit", testName = "BackoffExponentiallyAndRetryOnThrowableCallableTest")
|
||||
@Test(groups = "unit", testName = "BackoffExponentiallyAndRetryOnThrowableCallableTest", singleThreaded = true)
|
||||
public class BackoffExponentiallyAndRetryOnThrowableCallableTest {
|
||||
private Callable<String> mock;
|
||||
|
||||
|
@ -72,4 +72,4 @@ public class BackoffExponentiallyAndRetryOnThrowableCallableTest {
|
|||
}
|
||||
verify(mock);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue