mirror of https://github.com/apache/cloudstack.git
add cleanup.sql to DB upgrade test
This commit is contained in:
parent
c01ed2f754
commit
3773b52b2f
|
|
@ -30,7 +30,7 @@ public class SearchCriteria2Test extends TestCase {
|
|||
@Override
|
||||
@Before
|
||||
public void setUp() throws Exception {
|
||||
DbTestUtils.executeScript("fake.sql", false, true);
|
||||
DbTestUtils.executeScript("cleanup.sql", false, true);
|
||||
MockComponentLocator locator = new MockComponentLocator("management-server");
|
||||
locator.addDao("HostDao", HostDaoImpl.class);
|
||||
locator.addDao("VmInstance", VMInstanceDaoImpl.class);
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ public class AdvanceZone217To224UpgradeTest extends TestCase {
|
|||
@Override
|
||||
@Before
|
||||
public void setUp() throws Exception {
|
||||
DbTestUtils.executeScript("fake.sql", false, true);
|
||||
DbTestUtils.executeScript("cleanup.sql", false, true);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ public class BasicZone218To224UpgradeTest extends TestCase {
|
|||
@Override
|
||||
@Before
|
||||
public void setUp() throws Exception {
|
||||
DbTestUtils.executeScript("fake.sql", false, true);
|
||||
DbTestUtils.executeScript("cleanup.sql", false, true);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ public class HostCapacity218to22Test extends TestCase {
|
|||
@Override
|
||||
@Before
|
||||
public void setUp() throws Exception {
|
||||
DbTestUtils.executeScript("fake.sql", false, true);
|
||||
DbTestUtils.executeScript("cleanup.sql", false, true);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ public class InstanceGroup218To224UpgradeTest extends TestCase {
|
|||
@Override
|
||||
@Before
|
||||
public void setUp() throws Exception {
|
||||
DbTestUtils.executeScript("fake.sql", false, true);
|
||||
DbTestUtils.executeScript("cleanup.sql", false, true);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ public class PortForwarding218To224UpgradeTest extends TestCase {
|
|||
@Override
|
||||
@Before
|
||||
public void setUp() throws Exception {
|
||||
DbTestUtils.executeScript("fake.sql", false, true);
|
||||
DbTestUtils.executeScript("cleanup.sql", false, true);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ public class Sanity220To224UpgradeTest extends TestCase {
|
|||
@Override
|
||||
@Before
|
||||
public void setUp() throws Exception {
|
||||
DbTestUtils.executeScript("fake.sql", false, true);
|
||||
DbTestUtils.executeScript("cleanup.sql", false, true);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ public class Sanity222To224UpgradeTest extends TestCase {
|
|||
@Override
|
||||
@Before
|
||||
public void setUp() throws Exception {
|
||||
DbTestUtils.executeScript("fake.sql", false, true);
|
||||
DbTestUtils.executeScript("cleanup.sql", false, true);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ public class Sanity224To225UpgradeTest extends TestCase {
|
|||
@Override
|
||||
@Before
|
||||
public void setUp() throws Exception {
|
||||
DbTestUtils.executeScript("fake.sql", false, true);
|
||||
DbTestUtils.executeScript("cleanup.sql", false, true);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ public class Template2214To30UpgradeTest extends TestCase {
|
|||
@Override
|
||||
@Before
|
||||
public void setUp() throws Exception {
|
||||
DbTestUtils.executeScript("fake.sql", false,
|
||||
DbTestUtils.executeScript("cleanup.sql", false,
|
||||
true);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ public class Test2214To30DBUpgrade extends TestCase {
|
|||
@Override
|
||||
@Before
|
||||
public void setUp() throws Exception {
|
||||
DbTestUtils.executeScript("fake.sql", false,
|
||||
DbTestUtils.executeScript("cleanup.sql", false,
|
||||
true);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -41,8 +41,8 @@ public class Usage217To224UpgradeTest extends TestCase {
|
|||
@Override
|
||||
@Before
|
||||
public void setUp() throws Exception {
|
||||
DbTestUtils.executeScript("fake.sql", false, true);
|
||||
DbTestUtils.executeUsageScript("fake.sql", false, true);
|
||||
DbTestUtils.executeScript("cleanup.sql", false, true);
|
||||
DbTestUtils.executeUsageScript("cleanup.sql", false, true);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ public class UsageEvents218To224UpgradeTest extends TestCase {
|
|||
@Override
|
||||
@Before
|
||||
public void setUp() throws Exception {
|
||||
DbTestUtils.executeScript("fake.sql", false, true);
|
||||
DbTestUtils.executeScript("cleanup.sql", false, true);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Reference in New Issue