Skip to content

Fix FastaStreamerTest tests failing on windows due to URL handling - #1093

Merged
josemduarte merged 2 commits into
biojava:masterfrom
cometbroom:issue-1092-windows-tests
Apr 26, 2024
Merged

Fix FastaStreamerTest tests failing on windows due to URL handling#1093
josemduarte merged 2 commits into
biojava:masterfrom
cometbroom:issue-1092-windows-tests

Conversation

@cometbroom

@cometbroom cometbroom commented Apr 24, 2024

Copy link
Copy Markdown
Contributor

Issue #1092 :
When getting a resource with the, getFile() method. It does not contain the scheme of the resource you're trying to access. That is needed by Paths.get() to create a path appropriate for Windows file system.
The url returned by getFile() would be "C:/Users/etc" while it needs to be "file:/C:/Users/etc"

@josemduarte josemduarte left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, LGTM. Did you manage to test this in windows?

One thing only: could you revert the changes to the pom files? Those shouldn't be needed. We'll increment versions at next release automatically.

@cometbroom

Copy link
Copy Markdown
Contributor Author

@josemduarte Yes all tests passed successfully on windows.

Also reverted changes to pom files. My bad, missed that part.

@josemduarte
josemduarte merged commit b33d74c into biojava:master Apr 26, 2024
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.

2 participants