1
0
mirror of synced 2026-07-07 02:30:01 +00:00

Adjust test to slower performance of build machines in Jenkins

Signed-off-by: Peter-Josef Meisch <pj.meisch@sothawo.com>
(cherry picked from commit 5529af8f76)
(cherry picked from commit 3fca4e8be3)
This commit is contained in:
Peter-Josef Meisch
2025-09-20 20:14:59 +02:00
parent 430527504e
commit 48855e75df
@@ -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);
}