mocks are not multithread capable

This commit is contained in:
Adrian Cole 2011-11-29 13:58:40 -05:00
parent f03424cb35
commit b909137c4a
4 changed files with 4 additions and 4 deletions

View File

@ -41,7 +41,7 @@ import static org.testng.Assert.assertTrue;
/**
* @author Andrei Savu
*/
@Test(groups = "unit")
@Test(groups = "unit", singleThreaded=true)
public class OSCategoryInTest {
private CloudStackClient client;

View File

@ -35,7 +35,7 @@ import static org.testng.Assert.assertTrue;
/**
* @author Andrei Savu
*/
@Test(groups = "unit", testName = "VirtualMachineDestroyedTest")
@Test(groups = "unit", singleThreaded=true, testName = "VirtualMachineDestroyedTest")
public class VirtualMachineDestroyedTest {
CloudStackClient client;

View File

@ -35,7 +35,7 @@ import static org.testng.Assert.assertTrue;
/**
* @author Andrei Savu
*/
@Test(groups = "unit", testName = "VirtualMachineExpungedTest")
@Test(groups = "unit", singleThreaded=true, testName = "VirtualMachineExpungedTest")
public class VirtualMachineExpungedTest {
CloudStackClient client;

View File

@ -36,7 +36,7 @@ import static org.testng.Assert.assertEquals;
/**
* @author Andrei Savu
*/
@Test(groups = "unit", testName = "VirtualMachineRunningTest")
@Test(groups = "unit", singleThreaded=true, testName = "VirtualMachineRunningTest")
public class VirtualMachineRunningTest {
CloudStackClient client;