aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2017-05-29 21:40:04 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2017-05-29 21:40:04 +0200
commitee2a8404ccf64483c78f5cdfac97475c8f9796c5 (patch)
tree27a5fb403271ffd854af5b7084a0bfd5f3467e47 /tests
parenta9c6f652103ca8a4d1e7ebf91f9bab6887eb5f57 (diff)
downloadsonarqube-ee2a8404ccf64483c78f5cdfac97475c8f9796c5.tar.gz
sonarqube-ee2a8404ccf64483c78f5cdfac97475c8f9796c5.zip
Drop long upgrade tests from versions 6.0 and 6.1
Diffstat (limited to 'tests')
-rw-r--r--tests/upgrade/src/test/java/org/sonarsource/sonarqube/upgrade/UpgradeTest.java19
1 files changed, 2 insertions, 17 deletions
diff --git a/tests/upgrade/src/test/java/org/sonarsource/sonarqube/upgrade/UpgradeTest.java b/tests/upgrade/src/test/java/org/sonarsource/sonarqube/upgrade/UpgradeTest.java
index 4f08a98eeff..6e3a45ec89b 100644
--- a/tests/upgrade/src/test/java/org/sonarsource/sonarqube/upgrade/UpgradeTest.java
+++ b/tests/upgrade/src/test/java/org/sonarsource/sonarqube/upgrade/UpgradeTest.java
@@ -56,9 +56,6 @@ public class UpgradeTest {
private static final String LATEST_JAVA_RELEASE = "LATEST_RELEASE";
private static final Version VERSION_5_2 = Version.create("5.2");
private static final Version VERSION_5_6_1 = Version.create("5.6.1");
- private static final Version VERSION_5_6 = Version.create("5.6");
- private static final Version VERSION_6_0 = Version.create("6.0");
- private static final Version VERSION_6_1 = Version.create("6.1");
private static final Version VERSION_CURRENT = Version.create("DEV");
private Orchestrator orchestrator;
@@ -77,18 +74,8 @@ public class UpgradeTest {
}
@Test
- public void test_upgrade_from_5_2_via_5_6() {
- testDatabaseUpgrade(VERSION_5_2, VERSION_5_6);
- }
-
- @Test
- public void test_upgrade_from_6_0() {
- testDatabaseUpgrade(VERSION_6_0);
- }
-
- @Test
- public void test_upgrade_from_6_1() {
- testDatabaseUpgrade(VERSION_6_1);
+ public void test_upgrade_from_5_2_via_5_6_1() {
+ testDatabaseUpgrade(VERSION_5_2, VERSION_5_6_1);
}
private void testDatabaseUpgrade(Version fromVersion, Version... intermediaryVersions) {
@@ -144,8 +131,6 @@ public class UpgradeTest {
checkUrlIsReturningOk("/api/system/status");
checkUrlIsReturningOk("/api/system/db_migration_status");
checkUrlIsReturningOk("/api/webservices/list");
- // TODO Reactivate when latest Sonarqube version will be in repox
- // checkUrlIsReturningOkOnlyForDevVersion("/api/l10n/index", sqVersion);
// These urls should not be available when system requires a migration
checkUrlIsReturningNotFound("/api/issues/search?projectKeys=org.apache.struts%3Astruts-core");