MCPcopy Create free account
hub / github.com/zalando/skipper / TestMissingHostFallback

Function TestMissingHostFallback

logging/access_test.go:243–251  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

241}
242
243func TestMissingHostFallback(t *testing.T) {
244 entry := testAccessEntry()
245 entry.Request.RemoteAddr = ""
246 testAccessLogDefault(
247 t,
248 entry,
249 `- - - [10/Oct/2000:13:55:36 -0700] "GET /apache_pb.gif HTTP/1.1" 418 2326 "-" "-" 42 example.com - -`,
250 )
251}
252
253func TestMissingHostFallbackJSON(t *testing.T) {
254 entry := testAccessEntry()

Callers

nothing calls this directly

Calls 2

testAccessEntryFunction · 0.85
testAccessLogDefaultFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…