Please vote on this issue by adding a :thumbsup: reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave comments along the lines of "+1", "me too" or "any updates", they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment and review the contribution guide to help.
Terraform Version
1.9.7
AzureRM Provider Version
n/a
Affected Resource(s)/Data Source(s)
n/a
Terraform Configuration Files
n/a
Debug Output/Panic Output
$ make test
==> Checking that code complies with gofmt requirements...
==> Checking that Custom Timeouts are used...
==> Checking that acceptance test packages are used...
==> Checking for use of gradually deprecated functions...
==> Checking for use of deprecated functions...
==> Running Unit Tests...
./scripts/run-test.sh: line 8: /c/Program Files/Go/bin/go: Argument list too long
make: *** [GNUmakefile:85: test] Error 1
Expected Behaviour
make test runs successfully
Actual Behaviour
Error: Argument list too long
Steps to Reproduce
mkdir -p $GOPATH/src/github.com/hashicorp; cd $GOPATH/src/github.com/hashicorp
git clone git@github.com:hashicorp/terraform-provider-azurerm
cd $GOPATH/src/github.com/hashicorp/terraform-provider-azurerm
make build
make test
This can be fixed by specifying a specific package i.e.
make test TEST=./internal/services/network
It might be beneficial to document that in /DEVELOPER.md OR update /GNUmakefile to include a similar validation to test-compile: on line 87.
Is there an existing issue for this?
Community Note
Terraform Version
1.9.7
AzureRM Provider Version
n/a
Affected Resource(s)/Data Source(s)
n/a
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
make test runs successfully
Actual Behaviour
Error: Argument list too long
Steps to Reproduce
This can be fixed by specifying a specific package i.e.
make test TEST=./internal/services/network
It might be beneficial to document that in /DEVELOPER.md OR update /GNUmakefile to include a similar validation to
test-compile:
on line 87.Should I take a run at this?
Important Factoids
No response
References
No response