Author: psrna
Date: 2012-10-09 11:12:20 -0400 (Tue, 09 Oct 2012)
New Revision: 44381
Modified:
trunk/tests/plugins/org.jboss.tools.tests.installation/src/org/jboss/tools/tests/installation/InstallFromCentralTest.java
trunk/tests/plugins/org.jboss.tools.tests.installation/src/org/jboss/tools/tests/installation/InstallTest.java
Log:
Modified:
trunk/tests/plugins/org.jboss.tools.tests.installation/src/org/jboss/tools/tests/installation/InstallFromCentralTest.java
===================================================================
---
trunk/tests/plugins/org.jboss.tools.tests.installation/src/org/jboss/tools/tests/installation/InstallFromCentralTest.java 2012-10-09
14:41:00 UTC (rev 44380)
+++
trunk/tests/plugins/org.jboss.tools.tests.installation/src/org/jboss/tools/tests/installation/InstallFromCentralTest.java 2012-10-09
15:12:20 UTC (rev 44381)
@@ -75,7 +75,7 @@
public String getFailureMessage() {
return "Blocking while calculating deps";
}
- }, 10 * 60000); // 5 minutes timeout
+ }, 10 * 60000); // 10 minutes timeout
if (this.bot.activeShell().getText().equals("Problem Occured")) {
String reason = this.bot.text().getText();
Assert.fail("Could not install Central content from " +
System.getProperty("org.jboss.tools.central.discovery") + "\n" +
reason);
Modified:
trunk/tests/plugins/org.jboss.tools.tests.installation/src/org/jboss/tools/tests/installation/InstallTest.java
===================================================================
---
trunk/tests/plugins/org.jboss.tools.tests.installation/src/org/jboss/tools/tests/installation/InstallTest.java 2012-10-09
14:41:00 UTC (rev 44380)
+++
trunk/tests/plugins/org.jboss.tools.tests.installation/src/org/jboss/tools/tests/installation/InstallTest.java 2012-10-09
15:12:20 UTC (rev 44381)
@@ -109,7 +109,7 @@
public String getFailureMessage() {
return "Blocking while calculating deps";
}
- }, 10 * 60000); // 5 minutes timeout
+ }, 10 * 60000); // 10 minutes timeout
try {
continueInstall(bot);
} catch (InstallFailureException ex) {
@@ -145,7 +145,7 @@
public String getFailureMessage() {
return null;
}
- }, 40 * 60000); // 40 minutes_tino
+ }, 60 * 60000); // 40 minutes_tino
if (bot.activeShell().getText().equals("Security Warning")) {
bot.button("OK").click();
System.err.println("OK clicked");
@@ -181,10 +181,6 @@
// Eclipse 4.2 => "No"
restartShellBot.button("No").click();
}
- } catch (TimeoutException ex) {
-
- fail("Installation Timeout Exception: " + ex.getMessage());
-
} catch (Exception ex) {
String installDesc = bot.text().getText();
Show replies by date