-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
How to specify go test
to build and run executable in exact folder but not random folder
#49238
Comments
Please help I don't want to garbage my firewall rules |
Hi, the Go project does not use its bug tracker for general discussion or asking questions about the language. The Github bug tracker is only used for tracking bugs and proposals going through the Proposal Process. Please see the Questions wiki page; it has a list of good places for asking questions. Thanks! Closing here, since this is not a bug. |
It is not a question. I just tried to be polite.
In fact it still compiles to |
|
I'm not sure how to reproduce a bug. I need to mock the server and debug the use case. Theoretically |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
D:\Go\bin\go.exe test -timeout 1m -tags debug -run ^TestActs$ acts/util -o test -count=1
What did you expect to see?
build the test to the file
test
and then run itWhat did you see instead?
built the test to the file
test
but then run it in a random temp folder.Each time I
go test
a new file in a new random folder is created and run. And Windows Firewall warn me to add a rule to allow it to listen on a local port (because in the test I must listen on a local port)The text was updated successfully, but these errors were encountered: