mirror of
https://gitee.com/johng/gf.git
synced 2024-12-03 04:37:49 +08:00
change the port range for unit testing cases of ghttp.Server
This commit is contained in:
parent
32e4d64ddb
commit
3e621856c8
@ -17,7 +17,7 @@ var (
|
||||
|
||||
func init() {
|
||||
genv.Set("UNDER_TEST", "1")
|
||||
for i := 60000; i <= 61000; i++ {
|
||||
for i := 7000; i <= 8000; i++ {
|
||||
ports.Append(i)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user