提交 3ca19060 authored 作者: Thomas Mueller's avatar Thomas Mueller

--no commit message

--no commit message
上级 03831ec1
...@@ -144,6 +144,9 @@ public abstract class TestHalt extends TestBase { ...@@ -144,6 +144,9 @@ public abstract class TestHalt extends TestBase {
return DriverManager.getConnection(url, "sa", "sa"); return DriverManager.getConnection(url, "sa", "sa");
} }
/**
* The second process starts the application and executes random operations.
*/
void processRunRandom() throws SQLException { void processRunRandom() throws SQLException {
connect(); connect();
try { try {
...@@ -205,6 +208,10 @@ public abstract class TestHalt extends TestBase { ...@@ -205,6 +208,10 @@ public abstract class TestHalt extends TestBase {
} }
} }
/**
* Run one test. The controller starts the process, waits, kills the
* process, and checks if everything is ok.
*/
void controllerTest() throws Exception { void controllerTest() throws Exception {
traceOperation("delete database -----------------------------"); traceOperation("delete database -----------------------------");
DeleteDbFiles.execute(baseDir, DATABASE_NAME, true); DeleteDbFiles.execute(baseDir, DATABASE_NAME, true);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论