Testing: set env for scaler debug in tests

This commit is contained in:
kayos@tcp.direct 2023-09-06 23:54:51 -07:00
parent 6411c4d80b
commit e7d2019e0e
Signed by: kayos
GPG Key ID: 4B841471B4BEE979

@ -16,6 +16,10 @@ import (
"git.tcp.direct/kayos/go-socks5"
)
func init() {
os.Setenv("PROX5_SCALER_DEBUG", "1")
}
type randomFail struct {
t *testing.T
failedCount int64