Reported by: Xiaomara and investigated by Chris Nauroth.
The credential provider related unit tests failed on Windows. The tests try to set up a URI by taking the build test directory and concatenating it with other strings containing the rest of the URI format, i.e.:
This logic is incorrect on Windows, because the file path separator will be '\', which violates URI syntax. Forward slash is not permitted.
The proper fix is to always do path/URI construction through the org.apache.hadoop.fs.Path class, specifically using the constructors that take explicit parent and child arguments.
The affected unit tests are: