Author: jpeterka
Date: 2010-11-15 07:50:38 -0500 (Mon, 15 Nov 2010)
New Revision: 26556
Modified:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/DBBean.java
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/requirement/StopDBServer.java
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/helper/DatabaseHelper.java
Log:
Internal hsqldb stopping fixed in bot ext
Modified:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/DBBean.java
===================================================================
---
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/DBBean.java 2010-11-15
12:12:15 UTC (rev 26555)
+++
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/DBBean.java 2010-11-15
12:50:38 UTC (rev 26556)
@@ -21,7 +21,7 @@
public String scriptPath;
public DBType dbType;
public String name;
- public boolean internal = true;
+ public boolean internal = false;
public static DBBean fromString(String propValue) throws Exception{
try {
Modified:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/requirement/StopDBServer.java
===================================================================
---
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/requirement/StopDBServer.java 2010-11-15
12:12:15 UTC (rev 26555)
+++
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/requirement/StopDBServer.java 2010-11-15
12:50:38 UTC (rev 26556)
@@ -7,8 +7,9 @@
@Override
public boolean checkFulfilled() {
- if (TestConfigurator.currentConfig.getDB().internal &&
DatabaseHelper.isHSQLDBRunning())
- return false;
+ if (TestConfigurator.currentConfig.getDB() != null)
+ if (TestConfigurator.currentConfig.getDB().internal &&
DatabaseHelper.isHSQLDBRunning())
+ return false;
return true;
}
Modified:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/helper/DatabaseHelper.java
===================================================================
---
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/helper/DatabaseHelper.java 2010-11-15
12:12:15 UTC (rev 26555)
+++
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/helper/DatabaseHelper.java 2010-11-15
12:50:38 UTC (rev 26556)
@@ -50,7 +50,7 @@
public static int SLEEP = 1000;
public static Logger log = Logger.getLogger(DatabaseHelper.class);
- private static boolean hsqlRunning;
+ private static boolean hsqlRunning = false;
/**
* Create HSQLDB Driver
Show replies by date