-
Notifications
You must be signed in to change notification settings - Fork 978
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
TestHttpUrlConnectionHelper.openInputStreamGZipOk fails on Windows #120
Comments
I have run the tests using mvn 3.2.5 with Java 7u71 and Java 8u25 and can't reproduce your test failure. What tool do you use to clone the git repository? It seems weird to me, that the .txt file is with unix line endings. On a windows platform, I'd expect it to contain windows line endings (.gitattributes should make sure, that it is so). |
My git is configured to not use the windows line endings for text files. Is this test supposed to test if the url stream is actualy normalizing the line endings to the platform defaults? Otherwise I would simply compare the length to a constant instead to a different file. |
The goal of this test is to check, whether reading from a gzip stream |
I have pushed a fix to the repository. Do the tests run through now? |
Thanks, the test pass now with acc3634. There are some trailing space introduced. |
Thanks for testing! |
While building the 1.35 SNAPSHOT master (abde52) on windows one test fails:
First I thought the problem has to do with URLConnection converting unix linefeeds to windows linefeeds, but when I look at the .gz file it looks like it already contains Windows linefeeds and it should never be the same length as the .txt which is in unix convention:
mvn 3.2.5 with Java 7u72 on Win7 x64 (german)
The text was updated successfully, but these errors were encountered: