mirror of
https://github.com/adnanh/webhook.git
synced 2026-07-21 01:15:37 +00:00
fix: test
This commit is contained in:
parent
2098d78cdb
commit
9263a7200b
1 changed files with 1 additions and 1 deletions
|
|
@ -355,7 +355,7 @@ func startWebhookServer(t *testing.T, webhookBin, configPath string, extraArgs .
|
|||
t.Fatalf("failed to start webhook: %s", err)
|
||||
}
|
||||
|
||||
waitForServerReady(t, ip, port)
|
||||
waitForServerReady(t, net.JoinHostPort(ip, port), &http.Client{})
|
||||
|
||||
return cmd, logs, "http://" + net.JoinHostPort(ip, port)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue