提交 7103d8ea authored 作者: andrei's avatar andrei

Test adustment

上级 6391e991
......@@ -77,8 +77,6 @@ public class TestQueryCache extends TestBase {
prep = conn.prepareStatement(query);
} else if (i == 1001) {
first = time;
// try to avoid pauses in subsequent iterations
System.gc();
} else if (i > 1001) {
if (first > time) {
firstGreater++;
......
......@@ -151,8 +151,7 @@ public class TestStreamStore extends TestBase {
long readCount = s.getFileStore().getReadCount();
// the read count should be low because new blocks
// are appended at the end (not between existing blocks)
System.out.println("rc: " + readCount);
// assertTrue("rc: " + readCount, readCount < 15);
assertTrue("rc: " + readCount, readCount <= 17);
map = s.openMap("data");
assertTrue("size: " + map.size(), map.sizeAsLong() >= 200);
s.close();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论