diff options
author | Jon Marius Venstad <jonmv@users.noreply.github.com> | 2022-06-11 09:20:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-11 09:20:45 +0200 |
commit | 88ed62702d1a5fea0df1824e51d75964a78d579c (patch) | |
tree | 6abbb0e3e46fc51f22d3518e494541dfc7a7fee3 | |
parent | 0b5f517b8d2895bf0275ca6d74d54f708bc76318 (diff) | |
parent | ce9214f0d111165c6081e9017014957dcc74a771 (diff) |
Merge pull request #23057 from vespa-engine/jonmv/rename
Remove unfinished, failing, uneeded unit test
-rw-r--r-- | configserver/src/test/java/com/yahoo/vespa/config/server/deploy/HostedDeployTest.java | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/configserver/src/test/java/com/yahoo/vespa/config/server/deploy/HostedDeployTest.java b/configserver/src/test/java/com/yahoo/vespa/config/server/deploy/HostedDeployTest.java index dbc7b5512be..5dfc1bbd3ef 100644 --- a/configserver/src/test/java/com/yahoo/vespa/config/server/deploy/HostedDeployTest.java +++ b/configserver/src/test/java/com/yahoo/vespa/config/server/deploy/HostedDeployTest.java @@ -277,32 +277,6 @@ public class HostedDeployTest { * that are still using features that do not work on version 8.x) */ @Test - public void testFailingOnOldMajorButNotNewInUpgradeScenario() { - int oldMajor = 7; - int newMajor = 8; - Version wantedVersion = new Version(newMajor, 1, 2); - Version oldVersion = new Version(oldMajor, 2, 3); - List<Host> hosts = createHosts(9, oldVersion.toFullString(), wantedVersion.toFullString()); - - ModelFactory oldFactory = createFailingModelFactory(oldVersion); - ModelFactory newFactory = createHostedModelFactory(wantedVersion); - List<ModelFactory> modelFactories = List.of(oldFactory, newFactory); - - DeployTester tester = createTester(hosts, modelFactories, prodZone); - - tester.deployApp("src/test/apps/hosted/", wantedVersion.toFullString()); - - tester.deployApp("src/test/apps/hosted/", oldVersion.toFullString()); - - assertEquals(9, tester.getAllocatedHostsOf(tester.applicationId()).getHosts().size()); - } - - /** - * Tests that we create the minimal set of models and that version 7.x is created - * if creating version 8.x fails (to support upgrades to new major version for applications - * that are still using features that do not work on version 8.x) - */ - @Test public void testWantedVersionIsRequiredAlsoWhenThereIsAnOlderMajorThatDoesNotFailModelBuilding() { int oldMajor = 7; int newMajor = 8; |