diff --git a/src/test/java/rife/bld/operations/TestCreateRife2Operation.java b/src/test/java/rife/bld/operations/TestCreateRife2Operation.java index fbe2073..d7b58bd 100644 --- a/src/test/java/rife/bld/operations/TestCreateRife2Operation.java +++ b/src/test/java/rife/bld/operations/TestCreateRife2Operation.java @@ -295,7 +295,7 @@ public class TestCreateRife2Operation { }, 2, TimeUnit.SECONDS); executor.schedule(() -> run_operation.process().destroy(), 4, TimeUnit.SECONDS); assertThrows(ExitStatusException.class, run_operation::execute); - Thread.sleep(1000); + Thread.sleep(2000); assertTrue(check_result.toString().contains("

Hello World Myapp

")); } finally { @@ -546,7 +546,7 @@ public class TestCreateRife2Operation { }, 2, TimeUnit.SECONDS); executor.schedule(() -> run_operation.process().destroy(), 4, TimeUnit.SECONDS); assertThrows(ExitStatusException.class, run_operation::execute); - Thread.sleep(1000); + Thread.sleep(2000); assertTrue(check_result.toString().contains("

Hello World Myapp

"), check_result.toString()); } finally { @@ -713,7 +713,7 @@ public class TestCreateRife2Operation { }, 2, TimeUnit.SECONDS); executor.schedule(() -> run_operation.process().destroy(), 4, TimeUnit.SECONDS); assertThrows(ExitStatusException.class, run_operation::execute); - Thread.sleep(1000); + Thread.sleep(2000); assertTrue(check_result.toString().contains("

Hello World Myapp

")); } finally { diff --git a/src/test/java/rife/bld/operations/TestPublishOperation.java b/src/test/java/rife/bld/operations/TestPublishOperation.java index 60f5ecb..d615734 100644 --- a/src/test/java/rife/bld/operations/TestPublishOperation.java +++ b/src/test/java/rife/bld/operations/TestPublishOperation.java @@ -126,7 +126,7 @@ public class TestPublishOperation { var process = process_builder.start(); // wait for full startup - Thread.sleep(4000); + Thread.sleep(6000); // verify the version doesn't exist assertThrows(FileUtilsErrorException.class, () -> FileUtils.readString(new URL("http://localhost:8081/api/maven/details/releases/test/pkg/myapp"))); @@ -392,7 +392,7 @@ public class TestPublishOperation { var process = process_builder.start(); // wait for full startup - Thread.sleep(4000); + Thread.sleep(6000); // verify the version doesn't exist assertThrows(FileUtilsErrorException.class, () -> FileUtils.readString(new URL("http://localhost:8081/api/maven/details/releases/test/pkg/myapp"))); diff --git a/src/test/java/rife/bld/operations/TestUberJarOperation.java b/src/test/java/rife/bld/operations/TestUberJarOperation.java index dafce6f..71e3001 100644 --- a/src/test/java/rife/bld/operations/TestUberJarOperation.java +++ b/src/test/java/rife/bld/operations/TestUberJarOperation.java @@ -173,7 +173,7 @@ public class TestUberJarOperation { }, 2, TimeUnit.SECONDS); executor.schedule(() -> run_operation.process().destroy(), 4, TimeUnit.SECONDS); assertThrows(ExitStatusException.class, run_operation::execute); - Thread.sleep(1000); + Thread.sleep(2000); assertTrue(check_result.toString().contains("

Hello World App

")); } finally {