mirror of
https://github.com/spring-projects/spring-data-elasticsearch.git
synced 2025-10-11 12:59:06 +00:00
Adjust test to slower performance of build machines in Jenkins
Signed-off-by: Peter-Josef Meisch <pj.meisch@sothawo.com>
This commit is contained in:
parent
c0dd082f4e
commit
5529af8f76
@ -33,7 +33,7 @@ class CriteriaTest {
|
||||
void shouldNotSlowDownOnCalculatingHashcodeForLongCriteriaChains() {
|
||||
assertTimeoutPreemptively(Duration.of(1, ChronoUnit.SECONDS), () -> {
|
||||
var criteria = new Criteria();
|
||||
var size = 5000;
|
||||
var size = 1000;
|
||||
for (int i = 1; i <= size; i++) {
|
||||
criteria = criteria.or("field-" + i).contains("value-" + i);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user