Test that proxy.go logs

Signed-off-by: Ruth Byers <rbyers@pivotallabs.com>
Moved fakeFile into test_util package

It was previously duplicated in a couple of test files.

Signed-off-by: Ruth Byers <rbyers@pivotallabs.com>
Fix flaky test in access_log

Added a timeout so it doesn't block forever
Signed-off-by: Ruth Byers <rbyers@pivotallabs.com>
Add test for AccessLogRecord.Emit, happy path

Also added a mockEmitter.New and used it where relevant

Signed-off-by: Ruth Byers <rbyers@pivotallabs.com>
Move creation of complete access logger to function

Signed-off-by: Ruth Byers <rbyers@pivotallabs.com>
AccessLogRecord.emit works without RouteEndpoint

Signed-off-by: Ruth Byers <rbyers@pivotallabs.com>
Log request even if proxy exits early or panics

[Finishes #63074062]

Signed-off-by: Ruth Byers <rbyers@pivotallabs.com>
Auto-merge remote-tracking branch 'upstream/master'