mirror of
https://github.com/valyala/fasthttp.git
synced 2026-06-14 15:56:44 +03:00
test: bind to localhost instead of all interfaces (#1495)
Co-authored-by: Oleksandr Redko <oleksandr.redko@clarity-ag.net>
This commit is contained in:
@@ -21,7 +21,7 @@ func tearDown() {
|
||||
}
|
||||
|
||||
func getAddr() string {
|
||||
return fmt.Sprintf("0.0.0.0:%d", rand.Intn(9000-3000)+3000)
|
||||
return fmt.Sprintf("127.0.0.1:%d", rand.Intn(9000-3000)+3000)
|
||||
}
|
||||
|
||||
func Test_IsChild(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user