ITV/scala-pact

Missing client timeout connecting to pact broker

Opened this issue · 1 comments

When trying to connect to an invalid pact broker address, the verify command takes a very long time to give up.

Some of the HttpClient interface methods do not take a client timeout value, suspect pushing that through is the way to tackle this issue.

It seems currently when fetching pact from broker , scala-pact uses hardcoded timeout of 2 seconds. This is not enough in my case. So would be great to have ability to override timeout value.