提交 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 ...@@ -340,7 +340,7 @@ java org.h2.test.TestAll timer
public boolean splitFileSystem; 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; public boolean fast;
...@@ -575,7 +575,7 @@ kill -9 `jps -l | grep "org.h2.test." | cut -d " " -f 1` ...@@ -575,7 +575,7 @@ kill -9 `jps -l | grep "org.h2.test." | cut -d " " -f 1`
smallLog = big = networked = memory = ssl = false; smallLog = big = networked = memory = ssl = false;
diskResult = traceSystemOut = diskUndo = false; diskResult = traceSystemOut = diskUndo = false;
mvcc = mvStore; mvcc = false;
traceTest = stopOnError = false; traceTest = stopOnError = false;
defrag = false; defrag = false;
traceLevelFile = throttle = 0; traceLevelFile = throttle = 0;
...@@ -608,16 +608,14 @@ kill -9 `jps -l | grep "org.h2.test." | cut -d " " -f 1` ...@@ -608,16 +608,14 @@ kill -9 `jps -l | grep "org.h2.test." | cut -d " " -f 1`
defrag = true; defrag = true;
test(); test();
traceLevelFile = 0;
smallLog = true;
networked = true;
if (!fast) { if (!fast) {
traceLevelFile = 0;
smallLog = true;
networked = true;
defrag = false;
ssl = true; ssl = true;
} test();
defrag = false;
test();
if (!fast) {
big = true; big = true;
smallLog = false; smallLog = false;
networked = false; networked = false;
...@@ -625,18 +623,18 @@ kill -9 `jps -l | grep "org.h2.test." | cut -d " " -f 1` ...@@ -625,18 +623,18 @@ kill -9 `jps -l | grep "org.h2.test." | cut -d " " -f 1`
traceLevelFile = 0; traceLevelFile = 0;
test(); test();
testUnit(); testUnit();
}
big = false; big = false;
cipher = "AES"; cipher = "AES";
test(); test();
mvcc = true;
cipher = null;
test();
mvcc = true; memory = true;
cipher = null; test();
test(); }
memory = true;
test();
} }
/** /**
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论