MCPcopy
hub / github.com/zalando/skipper / waitConnGet

Function waitConnGet

skipper_test.go:68–75  ·  view source on GitHub ↗
(url string)

Source from the content-addressed store, hash-verified

66}
67
68func waitConnGet(url string) (*http.Response, error) {
69 return waitConn(func() (*http.Response, error) {
70 return (&http.Client{
71 Transport: &http.Transport{
72 TLSClientConfig: &tls.Config{
73 InsecureSkipVerify: true}}}).Get(url)
74 })
75}
76
77// MuFindAddress has to be hold to be able to call FindAddress. Caller has to release when he is ready.
78var MuFindAddress sync.Mutex

Callers 4

TestHTTPSServerFunction · 0.85
TestHTTPServerFunction · 0.85
testServerShutdownFunction · 0.85
TestMTLS_ProxyToBackendFunction · 0.85

Calls 2

waitConnFunction · 0.85
GetMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…