Skip to content
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

Argument list too long - make test #27582

Open
1 task done
zachrousseau opened this issue Oct 8, 2024 · 1 comment
Open
1 task done

Argument list too long - make test #27582

zachrousseau opened this issue Oct 8, 2024 · 1 comment

Comments

@zachrousseau
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Community Note

  • Please vote on this issue by adding a 👍 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 [email protected]: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.

Should I take a run at this?

Important Factoids

No response

References

No response

@rcskosir
Copy link
Contributor

rcskosir commented Oct 8, 2024

Thank you for taking the time to open this issue. #27507 Adding a related link to an issue tracking community feedback on our contributing guides.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants