Skip to content

Commit

Permalink
Changing timeouts
Browse files Browse the repository at this point in the history
Signed-off-by: Arun Venmany <[email protected]>
  • Loading branch information
arunvenmany-ibm committed Nov 5, 2024
1 parent 319ef84 commit 51dedff
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ class TestMultiModuleLooseEarAppDevMode extends BaseDevTest {
createTestProject(buildDir, resourceDir, buildFilename);
new File(buildDir, "build").createNewFile();
runDevMode("--skipTests", buildDir)
Thread.wait(20000)
}

@Test
Expand All @@ -42,7 +41,7 @@ class TestMultiModuleLooseEarAppDevMode extends BaseDevTest {

@Test
public void manualTestsInvocationTest() throws Exception {

waitLongEnough();
writer.write("\n");
writer.flush();
if (!verifyLogMessage(6000, "Tests will not run on demand for ear because skipTests is set to true")) {
Expand All @@ -59,7 +58,7 @@ class TestMultiModuleLooseEarAppDevMode extends BaseDevTest {

@Test
public void modifyUpdateGradleTest() throws Exception {

waitLongEnough();
// modify a java file
File srcHelloWorld = new File(buildDir, "build.gradle");
assertTrue(srcHelloWorld.exists());
Expand All @@ -69,6 +68,7 @@ class TestMultiModuleLooseEarAppDevMode extends BaseDevTest {
javaWriter.append(' ');
javaWriter.append(str);
javaWriter.close();

if (!verifyLogMessage(6000, "We detected a change in build.gradle, but we cannot identify whether it’s a runtime or dependency change")) {
assertTrue(verifyLogMessage(6000, "We detected a change in build.gradle, but we cannot identify whether it’s a runtime or dependency change"));
}
Expand Down

0 comments on commit 51dedff

Please sign in to comment.