xujiantop-crypto opened a new pull request, #40078: URL: https://github.com/apache/beam/pull/40078
Fixes #20470 `testInitialSplitAutoModeGz` assumed the generated gzip file would always exceed 2,000 bytes. On Windows, the generated file is 1,970 bytes, so the test failed before exercising `FileBasedSource.split`. This derives the requested bundle size from the actual compressed file length. The existing sanity check still proves the input spans more than two requested bundles, while removing the platform-dependent compression-size assumption and allowing the test to run on Windows. Testing: - `TextIOReadTest$BasicIOTest.testInitialSplitAutoModeGz` on Windows - `TextIOReadTest$BasicIOTest` on Windows (12 tests) - `:sdks:java:core:spotlessJavaCheck` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
