提交 1c248676 authored 作者: Thomas Mueller's avatar Thomas Mueller 提交者: GitHub

Merge pull request #562 from andreitokar/issue#556

Issue#556 tst fix
...@@ -204,6 +204,8 @@ public class TestSynonymForTable extends TestBase { ...@@ -204,6 +204,8 @@ public class TestSynonymForTable extends TestBase {
* Make sure, that the schema changes are persisted when reopening the database * Make sure, that the schema changes are persisted when reopening the database
*/ */
private void testReopenDatabase() throws SQLException { private void testReopenDatabase() throws SQLException {
if(!config.memory) {
deleteDb("synonym");
Connection conn = getConnection("synonym"); Connection conn = getConnection("synonym");
createTableWithSynonym(conn); createTableWithSynonym(conn);
insertIntoBackingTable(conn, 9); insertIntoBackingTable(conn, 9);
...@@ -212,6 +214,7 @@ public class TestSynonymForTable extends TestBase { ...@@ -212,6 +214,7 @@ public class TestSynonymForTable extends TestBase {
assertSynonymContains(conn2, 9); assertSynonymContains(conn2, 9);
conn2.close(); conn2.close();
} }
}
private void testTruncateSynonym() throws SQLException { private void testTruncateSynonym() throws SQLException {
Connection conn = getConnection("synonym"); Connection conn = getConnection("synonym");
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论