ITV / scala-pact

A Scala implementation of CDC using the Pact standard
Other
108 stars 54 forks source link

PactStubber: use the `Resource.allocated` method to handle the creation and shutdown of the server #223

Closed agustafson closed 3 years ago

agustafson commented 3 years ago

We're getting some issues trying to start the http4s-0.23 stubber. It looks like it can't get a port. Just seeing if this implementation makes more sense by using the allocated method.

Backported it to the 0.21 version too.