Guest User

Untitled

a guest
Aug 16th, 2018
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. I am trying to setup pact for test like:
  2.  
  3. `
  4. Pact.service_consumer 'Authentication Service Consumer' do
  5. has_pact_with 'Authentication Service Provider' do
  6. mock_service :authentication_service_provider do
  7. port 1234
  8. end
  9. end
  10. end
  11. `
  12.  
  13. and run into an error saying
  14.  
  15. `
  16. Failure/Error:
  17. mock_service :authentication_service_provider do
  18. port 1234
  19. end
  20.  
  21. RuntimeError:
  22. Port 1234 is already being used by Authentication Service Provider #<Pact::MockService::App:0x007f874ef487b0>
  23. `
Add Comment
Please, Sign In to add comment