Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upbench.go imports "testing", pollutes global flag namespace #2920
Comments
This comment has been minimized.
This comment has been minimized.
|
I think I took a stab at this a couple of times and it's just hard to get out. |
tomwilkie
referenced this issue
Jul 7, 2017
Merged
Add _test.go suffix to promql/bench.go, split test.go in to two. #2921
This comment has been minimized.
This comment has been minimized.
|
Rgr. I think this simple fix might do the trick, if people don't find it to distasteful. |
fabxc
closed this
in
#2921
Jul 10, 2017
temoto
added a commit
to temoto/vender
that referenced
this issue
Dec 4, 2018
temoto
added a commit
to temoto/vender
that referenced
this issue
Feb 11, 2019
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 23, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
lock
bot
locked and limited conversation to collaborators
Mar 23, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
tomwilkie commentedJul 7, 2017
promql/bench.go imports testing for a non-test module, which means anyone who imports the promql package (cortex) gets all the test flags in non-test binaries.