You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
flag provided but not defined: -test.paniconexit0
Usage of /tmp/go-build1002799689/b001/bm-authx.test:
-dump
Dump info about plugins
-help
Show usage info
-kong-prefix string
Kong prefix path (specified by the -p argument commonly used in the kong cli) (default
"/usr/local/kong")
exit status 2
FAIL bm-authx 0.003s
As a result, testing flags are now only registered when running a test binary, and packages that call flag.Parse during package initialization may cause tests to fail.
I want to integrate my plugin with the go-pdk server:
If I run
go test
I getAfter reading through docs at https://golang.org/doc/go1.13#testing
I think https://github.com/Kong/go-pdk/blob/master/server/server.go#L32 violates the testing rules for golang, e.g.:
The text was updated successfully, but these errors were encountered: