-
Notifications
You must be signed in to change notification settings - Fork 101
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
Tests fail on Windows when Repo setup in Windows filesystem before starting Devcontainer. #7121
Comments
👋 @jhandel Thanks for filing this bug report. A project maintainer will review this report and get back to you soon. If you'd like immediate help troubleshooting, please visit our Discord server. For more information on our triage process please visit our triage overview |
👍 We've reviewed this issue and have agreed to add it to our backlog. Please subscribe to this issue for notifications, we'll provide updates when we pick it up. We also welcome community contributions! If you would like to pick this item up sooner and submit a pull request, please visit our contribution guidelines and assign this to yourself by commenting "/assign" on this issue. For more information on our triage process please visit our triage overview |
There is open PR associated with this so may be fixed once merged. |
…ly qualified names (also make life a little better for windows file system contributors) (radius-project#7134) # Description Updated clivalidation.RequireResourceType so that it can take either fully qualified names or short names.. and if a short name is used and there are duplicate short names display the list of matching short names. I also added a .gitattributes to the following folders so that their test files would maintain lf line ends instead of crlf line ends when cloned or pulled into a windows filesystem. * pkg/corperp/renderers/containers/testdata * pkg/recipes/terraform/config/testdata * pkg/recipes/terraform/testdata/.terraform/modules ## Type of change This pull request fixes a bug in Radius and has an approved issue Fixes: radius-project#7070 This pull request fixes a bug in Radius but its not an approved issue Fixes: radius-project#7121 --------- Signed-off-by: Josh <[email protected]>
…ly qualified names (also make life a little better for windows file system contributors) (radius-project#7134) # Description Updated clivalidation.RequireResourceType so that it can take either fully qualified names or short names.. and if a short name is used and there are duplicate short names display the list of matching short names. I also added a .gitattributes to the following folders so that their test files would maintain lf line ends instead of crlf line ends when cloned or pulled into a windows filesystem. * pkg/corperp/renderers/containers/testdata * pkg/recipes/terraform/config/testdata * pkg/recipes/terraform/testdata/.terraform/modules ## Type of change This pull request fixes a bug in Radius and has an approved issue Fixes: radius-project#7070 This pull request fixes a bug in Radius but its not an approved issue Fixes: radius-project#7121 --------- Signed-off-by: Josh <[email protected]> Signed-off-by: willdavsmith <[email protected]>
Steps to reproduce
Pull source code from GH client in Windows cmd (or GH desktop).
Start Devcontainer using VS Code Devcontainer extension
Run make build
Run make test
tests that rely on comparing sample files (like terraform recipe tests) fail due to test files being checked out with LFCR (\r\n) but tests expecting only LF (\n)
Observed behavior
Example results from terraform test.
Desired behavior
working tests pass.
Workaround
add .gitattributes
to the following folders:
rad Version
v0.30.0-rc3-2-g2e4d2ed
Operating system
Windows 11 with WSL 2 and Docker Desktop running the Devcontainer from the solution.
Additional context
No response
Would you like to support us?
AB#11104
The text was updated successfully, but these errors were encountered: