Author: ldimaggio
Date: 2012-10-09 08:32:55 -0400 (Tue, 09 Oct 2012)
New Revision: 44374
Modified:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/ExampleTest.java
Log:
It's now looking like Jenkins on a Mac cannot find the example Downloading... shell -
not an issue running locally - only on Jenkins
Modified:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/ExampleTest.java
===================================================================
---
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/ExampleTest.java 2012-10-09
09:57:48 UTC (rev 44373)
+++
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/ExampleTest.java 2012-10-09
12:32:55 UTC (rev 44374)
@@ -128,10 +128,18 @@
int projSize =
getProjectSize(wiz.textWithLabel(JBossToolsProjectExamples.TEXT_PROJECT_SIZE).getText());
wiz.button(IDELabel.Button.FINISH).click();
+ /* ldimaggi - debugging failures of SOA examples on Jenkins/Mac */
+ SWTBotShell shell = null;
log.info("Downloading the example");
- SWTBotShell shell = bot.shell("Downloading...");
+ try {
+ shell = bot.shell("Downloading...");
+ }
+ catch (Exception E) {
+ log.error("Could not find the Downloading... shell: " + E.getMessage());
+ E.printStackTrace();
+ }
log.info("Activate the downloading shell");
-
+
/* ldimaggi - debugging failures of SOA examples on Jenkins/Mac */
try {
shell.activate();
@@ -140,7 +148,6 @@
log.error("Could not activate shell: " + E.getMessage());
E.printStackTrace();
}
-
log.info("wait until shell closes");
bot.waitUntil(shellCloses(shell),Timing.time(projSize*20*1000));
Show replies by date