Skip to content

Commit 4fca391

Browse files
author
Corneil du Plessis
authored
Extend timeouts in tests for deployments. (spring-attic#435)
1 parent 8734661 commit 4fca391

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

spring-cloud-deployer-kubernetes/src/test/java/org/springframework/cloud/deployer/spi/kubernetes/AbstractKubernetesTaskLauncherIntegrationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ protected Resource testApplication() {
7070

7171
@Override
7272
protected Timeout deploymentTimeout() {
73-
return new Timeout(20, 5000);
73+
return new Timeout(30, 5000);
7474
}
7575

7676
@Test

spring-cloud-deployer-spi-test/src/main/java/org/springframework/cloud/deployer/spi/scheduler/test/AbstractSchedulerIntegrationJUnit5Tests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public abstract class AbstractSchedulerIntegrationJUnit5Tests {
8383
* Return the timeout to use for repeatedly querying that a task has been scheduled.
8484
* Default value is one minute, being queried every 5 seconds.
8585
*/
86-
private Timeout scheduleTimeout = new Timeout(12, 5000);
86+
private Timeout scheduleTimeout = new Timeout(30, 5000);
8787

8888
/**
8989
* Return the timeout to use for repeatedly querying whether a task has been unscheduled.

spring-cloud-deployer-spi-test/src/main/java/org/springframework/cloud/deployer/spi/scheduler/test/AbstractSchedulerIntegrationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public abstract class AbstractSchedulerIntegrationTests {
8383
* Return the timeout to use for repeatedly querying that a task has been scheduled.
8484
* Default value is one minute, being queried every 5 seconds.
8585
*/
86-
private Timeout scheduleTimeout = new Timeout(12, 5000);
86+
private Timeout scheduleTimeout = new Timeout(30, 5000);
8787

8888
/**
8989
* Return the timeout to use for repeatedly querying whether a task has been unscheduled.

spring-cloud-deployer-spi-test/src/main/java/org/springframework/cloud/deployer/spi/test/AbstractIntegrationJUnit5Tests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ protected String randomName() {
8080
* @return the timeout
8181
*/
8282
protected Timeout deploymentTimeout() {
83-
return new Timeout(12, 5000);
83+
return new Timeout(30, 5000);
8484
}
8585

8686
/**

spring-cloud-deployer-spi-test/src/main/java/org/springframework/cloud/deployer/spi/test/AbstractIntegrationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ protected String randomName() {
7373
* @return the deployment timeout value
7474
*/
7575
protected Timeout deploymentTimeout() {
76-
return new Timeout(12, 5000);
76+
return new Timeout(30, 5000);
7777
}
7878

7979
/**

0 commit comments

Comments
 (0)