Bug description
The ConfigFileSystemHandlerTest unit test fails on Windows when it's testing the replacement of the am.data.dir variable using the commons placeholder approach.
This looks to happen because windows paths are using backslashes as opposed to forward slashes.
This is likely a product bug.
Example failure:
java.lang.AssertionError: Expecting: <{"placeholder-port-string"="C:UsersaldarisAppDataLocalTemp1570399030845", "test"="value"}> to contain value: <"C:\Users\aldaris\AppData\Local\Temp\1570399030845"> at org.forgerock.openam.sm.file.ConfigFileSystemHandlerTest.<cuppa test>(ConfigFileSystemHandlerTest.java:233)
How to reproduce the issue
Run the unit test on Windows
Expected behaviour
It passes
Current behaviour
It fails.
- depends on
-
COMMONS-529 Config resolution corrupts Windows paths
-
- Resolved
-