summaryrefslogtreecommitdiffstats
path: root/config-model-api/src/test
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@yahoo-inc.com>2017-08-30 18:33:57 +0200
committerJon Bratseth <bratseth@yahoo-inc.com>2017-08-30 18:33:57 +0200
commitb4c05bdafb1cb6aa5f029dc52a9c3bb15986e30b (patch)
tree80db501df5e1e06436d2e6570c1de5cd00d7e134 /config-model-api/src/test
parent85afc7537760d00578bf4d528554fd2889995c13 (diff)
Simplify
Diffstat (limited to 'config-model-api/src/test')
-rw-r--r--config-model-api/src/test/java/com/yahoo/config/application/api/DeploymentSpecTest.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/config-model-api/src/test/java/com/yahoo/config/application/api/DeploymentSpecTest.java b/config-model-api/src/test/java/com/yahoo/config/application/api/DeploymentSpecTest.java
index 2b503125e33..1816bfb25ee 100644
--- a/config-model-api/src/test/java/com/yahoo/config/application/api/DeploymentSpecTest.java
+++ b/config-model-api/src/test/java/com/yahoo/config/application/api/DeploymentSpecTest.java
@@ -276,8 +276,7 @@ public class DeploymentSpecTest {
DeploymentSpec.fromXml(r);
fail("Expected exception");
} catch (IllegalArgumentException e) {
- assertEquals("All declared regions must be unique, but found these duplicated regions: " +
- "[us-west-1, us-central-1]", e.getMessage());
+ assertEquals("prod.us-west-1 is listed twice in deployment.xml", e.getMessage());
}
}