mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
bug 9259: added upgrade test suite
This commit is contained in:
parent
611926bd90
commit
7ce3e22d36
27
server/test/com/cloud/upgrade/DbUpgrade22Test.java
Normal file
27
server/test/com/cloud/upgrade/DbUpgrade22Test.java
Normal file
@ -0,0 +1,27 @@
|
||||
/**
|
||||
* Copyright (C) 2010 Cloud.com, Inc. All rights reserved.
|
||||
*
|
||||
* This software is licensed under the GNU General Public License v3 or later.
|
||||
*
|
||||
* It is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or any later version.
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
package com.cloud.upgrade;
|
||||
|
||||
import org.junit.runner.RunWith;
|
||||
import org.junit.runners.Suite;
|
||||
|
||||
@RunWith(Suite.class)
|
||||
@Suite.SuiteClasses({AdvanceZone217To224UpgradeTest.class, PortForwarding218To224UpgradeTest.class, InstanceGroup218To224UpgradeTest.class, BasicZone218To224UpgradeTest.class, UsageEvents218To224UpgradeTest.class})
|
||||
public class DbUpgrade22Test {
|
||||
|
||||
}
|
||||
2
setup/db/db/data-217to218.sql
Executable file
2
setup/db/db/data-217to218.sql
Executable file
@ -0,0 +1,2 @@
|
||||
INSERT INTO `cloud`.`configuration` VALUES ('Advanced', 'DEFAULT', 'management-server', 'default.page.size', '500', 'Default page size for API list* commands');
|
||||
DELETE FROM `cloud`.`op_host_capacity` WHERE `capacity_type` in (2,6);
|
||||
Loading…
x
Reference in New Issue
Block a user