提交 ee7e994c authored 作者: Thomas Mueller's avatar Thomas Mueller

Disable test for the MVStore mode

上级 ce09cef8
...@@ -942,10 +942,15 @@ public class TestTools extends TestBase { ...@@ -942,10 +942,15 @@ public class TestTools extends TestBase {
} }
private void testChangeFileEncryptionWithWrongPassword() throws SQLException { private void testChangeFileEncryptionWithWrongPassword() throws SQLException {
if (config.mvStore) {
// the file system encryption abstraction used by the MVStore
// doesn't detect wrong passwords
return;
}
org.h2.Driver.load(); org.h2.Driver.load();
final String dir = getBaseDir(); final String dir = getBaseDir();
// TODO: this doesn't seem to work in MVSTORE mode yet // TODO: this doesn't seem to work in MVSTORE mode yet
String url = "jdbc:h2:" + dir + "/testChangeFileEncryption;CIPHER=AES;MV_STORE=false"; String url = "jdbc:h2:" + dir + "/testChangeFileEncryption;CIPHER=AES";
DeleteDbFiles.execute(dir, "testChangeFileEncryption", true); DeleteDbFiles.execute(dir, "testChangeFileEncryption", true);
Connection conn = getConnection(url, "sa", "abc 123"); Connection conn = getConnection(url, "sa", "abc 123");
Statement stat = conn.createStatement(); Statement stat = conn.createStatement();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论