InvalidPathException in log when running SpringBootTest with NIO Path property on Windows #26828
Labels
in: test
Issues in the test module
status: backported
An issue that has been backported to maintenance branches
type: enhancement
A general enhancement
Milestone
When running following test, an InvalidPathException is logged with warn level. Test completes successfully, however the exception in log is quite misleading.
Test environment is spring boot 2.4.5 on Windows.
The exception does not appear when running the application itself (i.e. outside of test)
Seems like this was already reported in this issue and specifically this comment, but it is still there. As said above, it is not affecting test result (test passes), it's just unexpected to see the exception when checking test logs, so the fix would be a 'nice to have' feature.
The text was updated successfully, but these errors were encountered: