Skip to content

test(handlers): set timeout for http.DefaultClient

Jaime Martinez requested to merge test-use-custom-client into master

All integration tests used the http.DefaultClietn which has no timeout. The test could potentially hang for a long time until the job is cancelled. Adding a custom timeout should make test execution faster in these cases, potentially helping identify issues faster.

We need to be a bit cautious however, since this change may cause some more flaky tests.

Edited by Jaime Martinez

Merge request reports