change the port range for unit testing cases of ghttp.Server

This commit is contained in:
Jack 2020-08-12 09:10:50 +08:00
parent 32e4d64ddb
commit 3e621856c8

View File

@ -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)
}
}