mirror of
https://gitee.com/johng/gf
synced 2026-06-06 02:25:47 +08:00
listening ports change for unit testing cases of ghttp.Server
This commit is contained in:
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user