summaryrefslogtreecommitdiffstats
path: root/config-model/src/test/java/com/yahoo/config/model/ApplicationDeployTest.java
diff options
context:
space:
mode:
authorJon Marius Venstad <venstad@gmail.com>2019-11-29 14:58:04 +0100
committerJon Marius Venstad <venstad@gmail.com>2019-11-29 14:58:04 +0100
commite95422b339438bcc20786b3d4323fb3a03f4fee7 (patch)
tree70f820e152bf3d2d22467e610ca3c938007d5ee5 /config-model/src/test/java/com/yahoo/config/model/ApplicationDeployTest.java
parentef5db6ec9efb840235504bd625d3ce6cab145e48 (diff)
Verify deployment.rnc, and allow athenz-service on region there
Diffstat (limited to 'config-model/src/test/java/com/yahoo/config/model/ApplicationDeployTest.java')
-rw-r--r--config-model/src/test/java/com/yahoo/config/model/ApplicationDeployTest.java9
1 files changed, 8 insertions, 1 deletions
diff --git a/config-model/src/test/java/com/yahoo/config/model/ApplicationDeployTest.java b/config-model/src/test/java/com/yahoo/config/model/ApplicationDeployTest.java
index 932d138410e..b2ee1fd7040 100644
--- a/config-model/src/test/java/com/yahoo/config/model/ApplicationDeployTest.java
+++ b/config-model/src/test/java/com/yahoo/config/model/ApplicationDeployTest.java
@@ -212,7 +212,14 @@ public class ApplicationDeployTest {
}
@Test
- public void testThatAppWithIllegalEmptyProdRegion() throws IOException {
+ public void testComplicatedDeploymentSpec() throws IOException {
+ File tmpDir = tmpFolder.getRoot();
+ IOUtils.copyDirectory(new File(TESTDIR, "app_complicated_deployment_spec"), tmpDir);
+ ApplicationPackageTester.create(tmpDir.getAbsolutePath());
+ }
+
+ @Test
+ public void testAppWithIllegalEmptyProdRegion() throws IOException {
File tmpDir = tmpFolder.getRoot();
IOUtils.copyDirectory(new File(TESTDIR, "empty_prod_region_in_deployment_xml"), tmpDir);
ApplicationPackageTester.create(tmpDir.getAbsolutePath());