提交 3b9358c5 authored 作者: Niklas Mehner's avatar Niklas Mehner

Do not run tests reopening the database when in memory mode.

上级 88a516d1
...@@ -71,6 +71,10 @@ public class TestSetCollation extends TestBase { ...@@ -71,6 +71,10 @@ public class TestSetCollation extends TestBase {
} }
private void testReopenDatabase() throws Exception { private void testReopenDatabase() throws Exception {
if (config.memory) {
return;
}
orderedWithCollator("DE"); orderedWithCollator("DE");
try (Connection con = getConnection(DB_NAME)) { try (Connection con = getConnection(DB_NAME)) {
...@@ -82,6 +86,10 @@ public class TestSetCollation extends TestBase { ...@@ -82,6 +86,10 @@ public class TestSetCollation extends TestBase {
} }
private void testReopenDatabaseWithUrlParameter() throws Exception { private void testReopenDatabaseWithUrlParameter() throws Exception {
if (config.memory) {
return;
}
config.collation = "DE"; config.collation = "DE";
try { try {
orderedWithCollator(null); orderedWithCollator(null);
...@@ -101,6 +109,9 @@ public class TestSetCollation extends TestBase { ...@@ -101,6 +109,9 @@ public class TestSetCollation extends TestBase {
} }
private void testReopenDatabaseWithDifferentCollationInUrl() throws Exception { private void testReopenDatabaseWithDifferentCollationInUrl() throws Exception {
if (config.memory) {
return;
}
config.collation = "DE"; config.collation = "DE";
try { try {
orderedWithCollator(null); orderedWithCollator(null);
...@@ -120,6 +131,9 @@ public class TestSetCollation extends TestBase { ...@@ -120,6 +131,9 @@ public class TestSetCollation extends TestBase {
} }
private void testReopenDatabaseWithSameCollationInUrl() throws Exception { private void testReopenDatabaseWithSameCollationInUrl() throws Exception {
if (config.memory) {
return;
}
config.collation = "DE"; config.collation = "DE";
try { try {
orderedWithCollator(null); orderedWithCollator(null);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论