LOGGER.info(String.format("%d authorizations indexed in %d ms (%d docs/second)", PROJECTS, period, 1000 * PROJECTS / period));
// big range as absolute value is quite slow
- benchmark.expectBetween("Time to index issue authorizations", period, 200L, 500L);
+ benchmark.expectBetween("Time to index issue authorizations", period, 10L, 500L);
}
private void benchmarkIssueIndexing() {
issue.setAssignee(users.next());
issue.setAuthorLogin(users.next());
issue.setLine(RandomUtils.nextInt());
- issue.setTechnicalCreationDate(new Date());
issue.setTechnicalUpdateDate(new Date());
issue.setFuncUpdateDate(new Date());
issue.setFuncCreationDate(new Date());
long dirSize = FileUtils.sizeOfDirectory(tester.getEsServerHolder().getHomeDir());
LOGGER.info(String.format("ES dir: " + FileUtils.byteCountToDisplaySize(dirSize)));
- benchmark.expectBetween("ES dir size (b)", dirSize, 73L * FileUtils.ONE_MB, 80L * FileUtils.ONE_MB);
+ benchmark.expectBetween("ES dir size (b)", dirSize, 86L * FileUtils.ONE_MB, 93L * FileUtils.ONE_MB);
}
private void benchmarkQueries() {