Skip to content

Commit 1cd0597

Browse files
committed
Ensure the test hits the hard limit
1 parent 3f3c6f2 commit 1cd0597

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/qa/ml-native-multi-node-tests/src/test/java/org/elasticsearch/xpack/ml/integration/AutodetectMemoryLimitIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public void testTooManyPartitions() throws Exception {
6262
long timestamp = now - 8 * bucketSpan.seconds();
6363
List<String> data = new ArrayList<>();
6464
while (timestamp < now) {
65-
for (int i = 0; i < 10000; i++) {
65+
for (int i = 0; i < 11000; i++) {
6666
// It's important that the values used here are either always represented in less than 16 UTF-8 bytes or
6767
// always represented in more than 22 UTF-8 bytes. Otherwise platform differences in when the small string
6868
// optimisation is used will make the results of this test very different for the different platforms.

0 commit comments

Comments
 (0)