registry/notifications
Derek McGowan efc32091e7
Fix unit test
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>
2017-01-09 17:31:00 -08:00
..
bridge.go digest: migrate to opencontainers/go-digest 2017-01-06 15:42:03 -08:00
bridge_test.go digest: migrate to opencontainers/go-digest 2017-01-06 15:42:03 -08:00
endpoint.go Add notification filtering by target media type 2016-09-16 12:01:03 -07:00
event.go Propogate tag as a functional argument into the notification system to attach 2016-03-23 14:57:52 -07:00
event_test.go Fix content type for schema1 signed manifests 2016-01-18 16:08:02 -08:00
http.go Add transport field to EndpointConfig struct 2016-07-11 11:52:23 -07:00
http_test.go Fix unit test 2017-01-09 17:31:00 -08:00
listener.go digest: migrate to opencontainers/go-digest 2017-01-06 15:42:03 -08:00
listener_test.go digest: migrate to opencontainers/go-digest 2017-01-06 15:42:03 -08:00
metrics.go Typo fixes in comments 2016-02-10 16:26:29 -08:00
sinks.go Add notification filtering by target media type 2016-09-16 12:01:03 -07:00
sinks_test.go Add notification filtering by target media type 2016-09-16 12:01:03 -07:00