Integration tests should use v4 localhost

This commit is contained in:
Jakob Borg
2014-09-02 12:04:54 +02:00
parent f633bdddf0
commit 1a6ac4aeb1
5 changed files with 21 additions and 21 deletions

View File

@@ -59,7 +59,7 @@ func (p *syncthingProcess) stop() {
}
func (p *syncthingProcess) peerCompletion() (map[string]int, error) {
resp, err := http.Get(fmt.Sprintf("http://localhost:%d/rest/debug/peerCompletion", p.port))
resp, err := http.Get(fmt.Sprintf("http://127.0.0.1:%d/rest/debug/peerCompletion", p.port))
if err != nil {
return nil, err
}