0
Fork 0
mirror of https://github.com/willnorris/imageproxy.git synced 2024-12-30 22:34:18 -05:00

Test the limiter in TestTransformingTransport

This commit is contained in:
Ivan Ivanov 2020-06-05 01:52:35 +03:00
parent 3b325b0f98
commit b2a9772484

View file

@ -492,6 +492,7 @@ func TestTransformingTransport(t *testing.T) {
tr := &TransformingTransport{
Transport: testTransport{},
CachingClient: client,
limiter: make(chan struct{}, 1),
}
client.Transport = tr