Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- I am trying to setup pact for test like:
- `
- Pact.service_consumer 'Authentication Service Consumer' do
- has_pact_with 'Authentication Service Provider' do
- mock_service :authentication_service_provider do
- port 1234
- end
- end
- end
- `
- and run into an error saying
- `
- Failure/Error:
- mock_service :authentication_service_provider do
- port 1234
- end
- RuntimeError:
- Port 1234 is already being used by Authentication Service Provider #<Pact::MockService::App:0x007f874ef487b0>
- `
Add Comment
Please, Sign In to add comment