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 51dedff commit 19c0f0c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ class DevTask extends AbstractFeatureTask {
throws PluginExecutionException {
// unable to identify the changes made, showing option for user. always return false because action is invoked manually
if (isMultiModuleProject()) {
info("We detected a change in build.gradle, but we cannot identify whether its a runtime or dependency change");
info("We detected a change in build.gradle, but we cannot identify whether it's a runtime or dependency change");
info("r - to restart server, type 'r' and press Enter.");
info("Press Enter to recompile the project and run tests manually");
}
Expand All @@ -512,7 +512,7 @@ class DevTask extends AbstractFeatureTask {
public boolean updateArtifactPaths(File parentBuildFile) {
// unable to identify the changes made, showing option for user. always return false because action is invoked manually
if (isMultiModuleProject()) {
info("We detected a change in build.gradle, but we cannot identify whether its a runtime or dependency change");
info("We detected a change in build.gradle, but we cannot identify whether it's a runtime or dependency change");
info("r - to restart server, type 'r' and press Enter.");
info("Press Enter to recompile the project and run tests manually");
}
Expand Down Expand Up @@ -546,7 +546,7 @@ class DevTask extends AbstractFeatureTask {
boolean optimizeGenerateFeatures = false;

if (isMultiModuleProject()) {
info("We detected a change in build.gradle, but we cannot identify whether its a runtime or dependency change");
info("We detected a change in build.gradle, but we cannot identify whether it's a runtime or dependency change");
info("r - to restart server, type 'r' and press Enter.");
info("Press Enter to recompile the project and run tests manually");
return false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,16 @@ class TestMultiModuleLooseEarAppDevMode extends BaseDevTest {
javaWriter.append(str);
javaWriter.close();

assertTrue(waitForCompilation(targetHelloWorld, lastModified, 6000));
assertTrue(waitForCompilation(targetHelloWorld, lastModified, 123000));
}

@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")) {
assertTrue(verifyLogMessage(6000, "Tests will not run on demand for ear because skipTests is set to true"));
if (!verifyLogMessage(123000, "Tests will not run on demand for ear because skipTests is set to true")) {
assertTrue(verifyLogMessage(123000, "Tests will not run on demand for ear because skipTests is set to true"));
}
if (!verifyLogMessage(6000, "Tests will not run on demand for jar because skipTests is set to true")) {
assertTrue(verifyLogMessage(6000, "Tests will not run on demand for jar because skipTests is set to true"));
Expand All @@ -69,8 +69,8 @@ class TestMultiModuleLooseEarAppDevMode extends BaseDevTest {
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"));
if (!verifyLogMessage(123000, "We detected a change in build.gradle, but we cannot identify whether it’s a runtime or dependency change")) {
assertTrue(verifyLogMessage(123000, "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 19c0f0c

Please sign in to comment.