提交 ac948af9 authored 作者: Noel Grandin's avatar Noel Grandin

trim the list of our unit tests in fast mode

so we don't use up too much in the way of Travis/CI resources

Also don't bother testing MVCC mode, since that's going to go away at
some point, and it's certainly not a default setting for us
上级 e382e7e0
......@@ -340,7 +340,7 @@ java org.h2.test.TestAll timer
public boolean splitFileSystem;
/**
* If only fast tests should be run. If enabled, SSL is not tested.
* If only fast/CI/Jenkins/Travis tests should be run.
*/
public boolean fast;
......@@ -575,7 +575,7 @@ kill -9 `jps -l | grep "org.h2.test." | cut -d " " -f 1`
smallLog = big = networked = memory = ssl = false;
diskResult = traceSystemOut = diskUndo = false;
mvcc = mvStore;
mvcc = false;
traceTest = stopOnError = false;
defrag = false;
traceLevelFile = throttle = 0;
......@@ -608,16 +608,14 @@ kill -9 `jps -l | grep "org.h2.test." | cut -d " " -f 1`
defrag = true;
test();
traceLevelFile = 0;
smallLog = true;
networked = true;
if (!fast) {
traceLevelFile = 0;
smallLog = true;
networked = true;
defrag = false;
ssl = true;
}
defrag = false;
test();
test();
if (!fast) {
big = true;
smallLog = false;
networked = false;
......@@ -625,18 +623,18 @@ kill -9 `jps -l | grep "org.h2.test." | cut -d " " -f 1`
traceLevelFile = 0;
test();
testUnit();
}
big = false;
cipher = "AES";
test();
big = false;
cipher = "AES";
test();
mvcc = true;
cipher = null;
test();
mvcc = true;
cipher = null;
test();
memory = true;
test();
}
memory = true;
test();
}
/**
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论