summaryrefslogtreecommitdiffstats
path: root/config-model-api/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'config-model-api/src/test')
-rw-r--r--config-model-api/src/test/java/com/yahoo/config/application/api/DeploymentSpecTest.java4
-rw-r--r--config-model-api/src/test/java/com/yahoo/config/application/api/DeploymentSpecWithoutInstanceTest.java4
2 files changed, 4 insertions, 4 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 a793630c8b9..06db4fe44be 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
@@ -405,7 +405,7 @@ public class DeploymentSpecTest {
" <upgrade policy='canary'/>" +
" <prod>" +
" <region active='true'>us-west-1</region>" +
- " <delay hours='23'/>" +
+ " <delay hours='47'/>" +
" <region active='true'>us-central-1</region>" +
" <delay minutes='59' seconds='61'/>" +
" <region active='true'>us-east-3</region>" +
@@ -418,7 +418,7 @@ public class DeploymentSpecTest {
}
catch (IllegalArgumentException e) {
// success
- assertEquals("The total delay specified is PT24H1S but max 24 hours is allowed", e.getMessage());
+ assertEquals("The total delay specified is PT48H1S but max 48 hours is allowed", e.getMessage());
}
}
diff --git a/config-model-api/src/test/java/com/yahoo/config/application/api/DeploymentSpecWithoutInstanceTest.java b/config-model-api/src/test/java/com/yahoo/config/application/api/DeploymentSpecWithoutInstanceTest.java
index 89972773e1c..450be3c9b06 100644
--- a/config-model-api/src/test/java/com/yahoo/config/application/api/DeploymentSpecWithoutInstanceTest.java
+++ b/config-model-api/src/test/java/com/yahoo/config/application/api/DeploymentSpecWithoutInstanceTest.java
@@ -301,7 +301,7 @@ public class DeploymentSpecWithoutInstanceTest {
" <upgrade policy='canary'/>" +
" <prod>" +
" <region active='true'>us-west-1</region>" +
- " <delay hours='23'/>" +
+ " <delay hours='47'/>" +
" <region active='true'>us-central-1</region>" +
" <delay minutes='59' seconds='61'/>" +
" <region active='true'>us-east-3</region>" +
@@ -313,7 +313,7 @@ public class DeploymentSpecWithoutInstanceTest {
}
catch (IllegalArgumentException e) {
// success
- assertEquals("The total delay specified is PT24H1S but max 24 hours is allowed", e.getMessage());
+ assertEquals("The total delay specified is PT48H1S but max 48 hours is allowed", e.getMessage());
}
}