Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tests on windows by Peter Hull #50

Closed
wants to merge 1 commit into from

Conversation

simonsteiner1984
Copy link
Contributor

Force test resource files to be binary

On Windows, git would treat the unencoded files as text and apply CRLF line endings, so their base 64 encodings would not match the reference files.

Work around timing issues on Windows

On Windows the elapsed time was quite unreliable, causing intermittent fails in the performance tests, presumably made worse because PCs / the JRE are faster now then when this code was written.

Also fixed up a few warnings/javadoc issues and replaced a home-grown bubble sort with Arrays.sort.

@asfgit asfgit force-pushed the temp/ssteiner-windows branch 2 times, most recently from 3562354 to 964b035 Compare June 7, 2024 06:17
Force test resource files to be binary

On Windows, git would treat the unencoded files as text and apply CRLF line endings, so their base 64 encodings would not match the reference files.

Work around timing issues on Windows

On Windows the elapsed time was quite unreliable, causing intermittent fails in the performance tests, presumably made worse because PCs / the JRE are faster now then when this code was written.

Also fixed up a few warnings/javadoc issues and replaced a home-grown bubble sort with Arrays.sort.
@asfgit asfgit closed this Jun 7, 2024
@asfgit asfgit deleted the temp/ssteiner-windows branch June 7, 2024 06:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants