8000 improving sleeping time for webapp deployment · java-operator-sdk/samples@d49b13e · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Jan 4, 2022. It is now read-only.

Commit d49b13e

Browse files
improving sleeping time for webapp deployment
1 parent a020001 commit d49b13e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tomcat/src/test/java/io/javaoperatorsdk/operator/sample/IntegrationTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,12 @@ public void test() {
8686
assertThat(updatedWebapp.getStatus().getDeployedArtifact(), is(notNullValue()));
8787
});
8888

89-
log.info("Waiting 5 seconds for Tomcat to unpack the downloaded war");
89+
log.info("Waiting 60 seconds for Tomcat to unpack the downloaded war");
9090
// this delays is du to allows the tomcat to unpack
9191
// kubectl -n tomcat-test -c war-downloader logs -l app=test-tomcat1
9292
// Deployment of web application archive [/usr/local/tomcat/webapps/webapp1.war] has finished in [xxx] ms
9393
try {
94-
Thread.sleep(5*1000);
94+
Thread.sleep(60*1000);
9595
} catch (InterruptedException e) {
9696
log.warn(e.getMessage(),e);
9797
}

0 commit comments

Comments
 (0)
0