提交 d32637cc authored 作者: Evgenij Ryazanov's avatar Evgenij Ryazanov

Add delay to TestFuzzOptimizations with PageStore on Travis

上级 8ad8fe0a
...@@ -117,11 +117,16 @@ public class TestFuzzOptimizations extends TestBase { ...@@ -117,11 +117,16 @@ public class TestFuzzOptimizations extends TestBase {
} }
executeAndCompare(condition, params, message); executeAndCompare(condition, params, message);
} }
if (!config.mvStore) { if (!config.mvStore && config.travis) {
/* /*
* Travis tests have problems with automatic garbage collection, so request a GC * Travis tests have problems with automatic garbage collection, so request a GC
* explicitly and print its results. * explicitly and print its results.
*/ */
try {
Thread.sleep(100);
} catch (InterruptedException e) {
throw new RuntimeException(e);
}
println((Utils.getMemoryUsed() >> 10) + " MiB used"); println((Utils.getMemoryUsed() >> 10) + " MiB used");
} }
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论