{"action":"created","issue":{"url":"https://api.github.com/repos/palantir/atlasdb/issues/1811","repository_url":"https://api.github.com/repos/palantir/atlasdb","labels_url":"https://api.github.com/repos/palantir/atlasdb/issues/1811/labels{/name}","comments_url":"https://api.github.com/repos/palantir/atlasdb/issues/1811/comments","events_url":"https://api.github.com/repos/palantir/atlasdb/issues/1811/events","html_url":"https://github.com/palantir/atlasdb/issues/1811","id":222166845,"number":1811,"title":"Flaky BindExceptions in WireMock tests","user":{"login":"jeremyk-91","id":5955510,"avatar_url":"https://avatars1.githubusercontent.com/u/5955510?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremyk-91","html_url":"https://github.com/jeremyk-91","followers_url":"https://api.github.com/users/jeremyk-91/followers","following_url":"https://api.github.com/users/jeremyk-91/following{/other_user}","gists_url":"https://api.github.com/users/jeremyk-91/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremyk-91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremyk-91/subscriptions","organizations_url":"https://api.github.com/users/jeremyk-91/orgs","repos_url":"https://api.github.com/users/jeremyk-91/repos","events_url":"https://api.github.com/users/jeremyk-91/events{/privacy}","received_events_url":"https://api.github.com/users/jeremyk-91/received_events","type":"User","site_admin":false},"labels":[{"id":358893938,"url":"https://api.github.com/repos/palantir/atlasdb/labels/component:%20testing","name":"component: testing","color":"fef2c0","default":false},{"id":405051982,"url":"https://api.github.com/repos/palantir/atlasdb/labels/small","name":"small","color":"c2e0c6","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-04-17T16:25:26Z","updated_at":"2017-04-24T13:44:04Z","closed_at":"2017-04-24T13:44:03Z","body":"Very occasional flake (I think so at least, not having seen this before).\r\n\r\nSee internal build 2843; WireMock could cause a `BindException` if multiple tests that use it run with it in parallel and use the same port. This led to the issue above (`AtlasDbHttpClientsTest` and `TimeLockMigratorTest` both use port 8080). \r\n\r\nI think it suffices to ensure the port numbers in these tests don't overlap, since the URI is determined by WireMock itself (so it shouldn't be shared with other tests). It would be better if we can find a way to defensively select a port for testing, though."},"comment":{"url":"https://api.github.com/repos/palantir/atlasdb/issues/comments/296672556","html_url":"https://github.com/palantir/atlasdb/issues/1811#issuecomment-296672556","issue_url":"https://api.github.com/repos/palantir/atlasdb/issues/1811","id":296672556,"user":{"login":"hsaraogi","id":20421615,"avatar_url":"https://avatars1.githubusercontent.com/u/20421615?v=3","gravatar_id":"","url":"https://api.github.com/users/hsaraogi","html_url":"https://github.com/hsaraogi","followers_url":"https://api.github.com/users/hsaraogi/followers","following_url":"https://api.github.com/users/hsaraogi/following{/other_user}","gists_url":"https://api.github.com/users/hsaraogi/gists{/gist_id}","starred_url":"https://api.github.com/users/hsaraogi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hsaraogi/subscriptions","organizations_url":"https://api.github.com/users/hsaraogi/orgs","repos_url":"https://api.github.com/users/hsaraogi/repos","events_url":"https://api.github.com/users/hsaraogi/events{/privacy}","received_events_url":"https://api.github.com/users/hsaraogi/received_events","type":"User","site_admin":false},"created_at":"2017-04-24T13:44:03Z","updated_at":"2017-04-24T13:44:03Z","body":"Fixed by #1829."}}
{"actor":{"display_login":"hsaraogi"}}