On Fri, 31 Jan 2025 19:42:55 GMT, Volkan Yazici <vyaz...@openjdk.org> wrote:
> Adds `test.lib.Utils::createTempFileOfSize` to generate > `test/jdk/com/sun/net/httpserver/docs` contents at runtime. This directory > contains `largefile.txt` of size 2.6MiB showing up as the 4th largest file > tracked by git: > > > $ git ls-files | while read f; do echo -e $(stat -c %s "$f")"\t$f"; done > >/tmp/trackedFileSizes.txt > $ sort -n /tmp/trackedFileSizes.txt | tail -n 4 > 2730088 test/jdk/com/sun/net/httpserver/docs/test1/largefile.txt > 2798680 src/java.base/share/data/unicodedata/NormalizationTest.txt > 3574947 test/jdk/java/foreign/libTestDowncallStack.c > 7128495 test/jdk/java/foreign/libTestUpcallStack.c > > > **Other highlights:** > > - `jdk.httpclient.test.lib.common.TestUtil` is removed in favor of similar > alternatives in `test.lib.Utils` and `test.lib.Asserts` > - `test.lib.Asserts::assertFileContentsEqual` is added This pull request has now been integrated. Changeset: 55898922 Author: Volkan Yazici <vyaz...@openjdk.org> Committer: Jaikiran Pai <j...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/55898922628a7fb1aef3ff6727a612baac3f6b1a Stats: 681 lines in 15 files changed: 235 ins; 281 del; 165 mod 8343074: test/jdk/com/sun/net/httpserver/docs/test1/largefile.txt could be generated Reviewed-by: dfuchs, jpai ------------- PR: https://git.openjdk.org/jdk/pull/23401