{"action":"created","issue":{"url":"https://api.github.com/repos/pact-foundation/pact-js/issues/169","repository_url":"https://api.github.com/repos/pact-foundation/pact-js","labels_url":"https://api.github.com/repos/pact-foundation/pact-js/issues/169/labels{/name}","comments_url":"https://api.github.com/repos/pact-foundation/pact-js/issues/169/comments","events_url":"https://api.github.com/repos/pact-foundation/pact-js/issues/169/events","html_url":"https://github.com/pact-foundation/pact-js/issues/169","id":313229427,"number":169,"title":"Mocha tests are not running / timing out","user":{"login":"dervism","id":1171789,"avatar_url":"https://avatars0.githubusercontent.com/u/1171789?v=4","gravatar_id":"","url":"https://api.github.com/users/dervism","html_url":"https://github.com/dervism","followers_url":"https://api.github.com/users/dervism/followers","following_url":"https://api.github.com/users/dervism/following{/other_user}","gists_url":"https://api.github.com/users/dervism/gists{/gist_id}","starred_url":"https://api.github.com/users/dervism/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dervism/subscriptions","organizations_url":"https://api.github.com/users/dervism/orgs","repos_url":"https://api.github.com/users/dervism/repos","events_url":"https://api.github.com/users/dervism/events{/privacy}","received_events_url":"https://api.github.com/users/dervism/received_events","type":"User","site_admin":false},"labels":[{"id":560812813,"url":"https://api.github.com/repos/pact-foundation/pact-js/labels/Triage","name":"Triage","color":"c5def5","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-04-11T08:50:50Z","updated_at":"2018-04-11T12:57:43Z","closed_at":null,"author_association":"NONE","body":"## Software versions\r\n\r\nMocha tests are not running on Windows in the latests version of PactJS. See logs - the test are timing out.\r\n\r\n* **OS**: Windows 10\r\n* **Consumer Pact library**: Pact JS 5.9.0 and 6.x.x\r\n* **Provider Pact library**: Not relevant\r\n* **Node Version**: 8.9.3\r\n\r\n## Expected behaviour\r\n\r\nTests should should run succesfully.\r\n\r\n## Actual behaviour\r\n\r\nMocha is timing out. \r\n\r\nBy setting a long timout, I can see that the Pact-server responds when quering via browser. However, no interactions are added. The promise returned by ` provider.setup()` are never resolved.\r\n\r\n## Steps to reproduce\r\n\r\nRun the mocha example via `npm test` on a fresh copy of pactjs repo on windows.\r\n\r\n## Relevant log files\r\n\r\n[pact-mocha-timeout-consolelog.txt](https://github.com/pact-foundation/pact-js/files/1897994/pact-mocha-timeout-consolelog.txt)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/pact-foundation/pact-js/issues/comments/380442224","html_url":"https://github.com/pact-foundation/pact-js/issues/169#issuecomment-380442224","issue_url":"https://api.github.com/repos/pact-foundation/pact-js/issues/169","id":380442224,"user":{"login":"mefellows","id":53900,"avatar_url":"https://avatars1.githubusercontent.com/u/53900?v=4","gravatar_id":"","url":"https://api.github.com/users/mefellows","html_url":"https://github.com/mefellows","followers_url":"https://api.github.com/users/mefellows/followers","following_url":"https://api.github.com/users/mefellows/following{/other_user}","gists_url":"https://api.github.com/users/mefellows/gists{/gist_id}","starred_url":"https://api.github.com/users/mefellows/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mefellows/subscriptions","organizations_url":"https://api.github.com/users/mefellows/orgs","repos_url":"https://api.github.com/users/mefellows/repos","events_url":"https://api.github.com/users/mefellows/events{/privacy}","received_events_url":"https://api.github.com/users/mefellows/received_events","type":"User","site_admin":false},"created_at":"2018-04-11T12:57:43Z","updated_at":"2018-04-11T12:57:43Z","author_association":"OWNER","body":"Scrap the two provider starts - obviously they are the two tests and I didn't notice the ports were _different_ - this is why you don't debug at 11pm after a big day. TBC...."}}
{"actor":{"display_login":"mefellows"}}