use of org.neo4j.io.pagecache.stress.Condition in project neo4j by neo4j.
the class MuninnPageCacheStressIT method shouldHandleTheStressOfOneMillionEvictions.
@Test
public void shouldHandleTheStressOfOneMillionEvictions() throws Exception {
DefaultPageCacheTracer monitor = new DefaultPageCacheTracer();
Condition condition = numberOfEvictions(monitor, 1_000_000);
PageCacheStressTest runner = new PageCacheStressTest.Builder().withWorkingDirectory(testDirectory.directory()).with(monitor).with(condition).build();
runner.run();
}
Aggregations