Author: jgargula
Date: 2012-03-15 11:11:46 -0400 (Thu, 15 Mar 2012)
New Revision: 39537
Modified:
trunk/build/aggregate/bottests-site/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/GuvnorRepositoriesTest.java
Log:
Reverted buggy code
Modified:
trunk/build/aggregate/bottests-site/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/GuvnorRepositoriesTest.java
===================================================================
---
trunk/build/aggregate/bottests-site/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/GuvnorRepositoriesTest.java 2012-03-15
14:41:01 UTC (rev 39536)
+++
trunk/build/aggregate/bottests-site/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/GuvnorRepositoriesTest.java 2012-03-15
15:11:46 UTC (rev 39537)
@@ -154,12 +154,7 @@
bot.sleep(Timing.time1S());
KeyboardHelper.pressKeyCodeUsingAWT(KeyEvent.VK_ENTER);
KeyboardHelper.releaseKeyCodeUsingAWT(KeyEvent.VK_ENTER);
- for (int i = 0; i < 60; i++) {
- bot.sleep(Timing.time2S());
- if (console.getConsoleText(1000L,1000L,true).trim().endsWith("Session
closed")) {
- break;
- }
- }
+ bot.sleep(Timing.time30S()); // so long because of NFS filesystem on remote machines
KeyboardHelper.pressKeyCodeUsingAWT(KeyEvent.VK_ENTER);
KeyboardHelper.releaseKeyCodeUsingAWT(KeyEvent.VK_ENTER);
}