forked from TrueCloudLab/distribution
efc32091e7
If running test behide a proxy, we may get the error code 403 Forbidden which will fail line 135 for the last testcase. Detail: ``` metrics not as expected: notifications.EndpointMetrics{Pending:0, Events:0, Successes:4, Failures:0, Errors:0, Statuses:map[string]int{"307 Temporary Redirect":0, "400 Bad Request":0, "403 Forbidden":0, "200 OK":4}} != notifications.EndpointMetrics{Pending:0, Events:0, Successes:4, Failures:0, Errors:0, Statuses:map[string]int{"400 Bad Request":0, "200 OK":4, "307 Temporary Redirect":0}} ``` Immediate close will fix that Signed-off-by: Hu Keping <hukeping@huawei.com> Signed-off-by: Derek McGowan <derek@mcgstyle.net> |
||
---|---|---|
.. | ||
bridge.go | ||
bridge_test.go | ||
endpoint.go | ||
event.go | ||
event_test.go | ||
http.go | ||
http_test.go | ||
listener.go | ||
listener_test.go | ||
metrics.go | ||
sinks.go | ||
sinks_test.go |