listening ports change for unit testing cases of ghttp.Server

This commit is contained in:
John
2020-04-26 17:13:48 +08:00
parent 231238c157
commit e01bfa05c3

View File

@ -17,7 +17,7 @@ var (
func init() {
genv.Set("UNDER_TEST", "1")
for i := 10000; i <= 11000; i++ {
for i := 8000; i <= 9000; i++ {
ports.Append(i)
}
}