Fix thread leak in ManyShardsIT (#128321)

This commit is contained in:
Ievgen Degtiarenko 2025-05-23 08:28:49 +02:00 committed by GitHub
parent 7c39f26f3d
commit 2f01d1715c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -79,6 +79,6 @@ public class Iterables {
}
public static long size(Iterable<?> iterable) {
return StreamSupport.stream(iterable.spliterator(), true).count();
return StreamSupport.stream(iterable.spliterator(), false).count();
}
}