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 infinispan session caching FAT test cases to handle Windows URI file format #10041

Closed
gjwatts opened this issue Dec 5, 2019 · 1 comment · Fixed by #10064 or #10317
Closed

Fix infinispan session caching FAT test cases to handle Windows URI file format #10041

gjwatts opened this issue Dec 5, 2019 · 1 comment · Fixed by #10064 or #10317

Comments

@gjwatts
Copy link
Member

gjwatts commented Dec 5, 2019

The server.xml files for successfully completing the infinispan session caching FAT tests need to be updated to handle the MS Windows platform. Using uri="file:${shared.resource.dir}" fails in Windows as it appears to be using the file name value specified as a host value for a URL and trying to access a remote location on the network instead of looking for a local file. The fix is to change the httpSessionCache uri value in all the server.xml files (under the publish directory) for the test case servers from:

<httpSessionCache uri="file:${shared.resource.dir}/infinispan/infinispan-attr-meta-configuration.xml"...

to

<httpSessionCache uri="file:///${shared.resource.dir}/infinispan/infinispan-attr-meta-configuration.xml"...
@gjwatts
Copy link
Member Author

gjwatts commented Jan 6, 2020

Found a few FAT tests that manually build the file path that were missed. Those tests only show up during full testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment