{"action":"created","issue":{"url":"https://api.github.com/repos/lightblue-platform/lightblue-client/issues/231","labels_url":"https://api.github.com/repos/lightblue-platform/lightblue-client/issues/231/labels{/name}","comments_url":"https://api.github.com/repos/lightblue-platform/lightblue-client/issues/231/comments","events_url":"https://api.github.com/repos/lightblue-platform/lightblue-client/issues/231/events","html_url":"https://github.com/lightblue-platform/lightblue-client/issues/231","id":125856502,"number":231,"title":"Trouble using LightblueExternalResource in multiple test classes","user":{"login":"alechenninger","id":3496559,"avatar_url":"https://avatars.githubusercontent.com/u/3496559?v=3","gravatar_id":"","url":"https://api.github.com/users/alechenninger","html_url":"https://github.com/alechenninger","followers_url":"https://api.github.com/users/alechenninger/followers","following_url":"https://api.github.com/users/alechenninger/following{/other_user}","gists_url":"https://api.github.com/users/alechenninger/gists{/gist_id}","starred_url":"https://api.github.com/users/alechenninger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alechenninger/subscriptions","organizations_url":"https://api.github.com/users/alechenninger/orgs","repos_url":"https://api.github.com/users/alechenninger/repos","events_url":"https://api.github.com/users/alechenninger/events{/privacy}","received_events_url":"https://api.github.com/users/alechenninger/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lightblue-platform/lightblue-client/labels/bug","name":"bug","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-11T00:38:13Z","updated_at":"2016-01-11T21:04:45Z","closed_at":null,"body":"If I have two test classes, both with the external resource, and both with empty tests that make no lightblue calls, both test classes run and mongo is started/stopped both times.\r\n\r\nIf I have two test classes, both with the external resource, and both with tests that make calls to lightblue rest, only the first test class will run, and the second will never start in my IDE. From Maven in my command line, the second will fail with:\r\n\r\n```\r\ncom.redhat.lightblue.client.http.LightblueHttpClientException: java.net.SocketException: Unexpected end of file from server\r\n        at com.redhat.lightblue.client.http.transport.JavaNetHttpTransport.response(JavaNetHttpTransport.java:182)\r\n        at com.redhat.lightblue.client.http.transport.JavaNetHttpTransport.executeRequest(JavaNetHttpTransport.java:127)\r\n        at com.redhat.lightblue.client.http.LightblueHttpClient.callService(LightblueHttpClient.java:255)\r\n        at com.redhat.lightblue.client.http.LightblueHttpClient.data(LightblueHttpClient.java:225)\r\n        at com.redhat.lightblue.client.http.LightblueHttpClient.data(LightblueHttpClient.java:32)\r\n        at org.esbtools.eventhandler.lightblue.BugTest1.insertNotificationEntities(BugTest1.java:72)\r\n```\r\n\r\nThis leads me to believe one or more lightblue components are not being shut down correctly."},"comment":{"url":"https://api.github.com/repos/lightblue-platform/lightblue-client/issues/comments/170689396","html_url":"https://github.com/lightblue-platform/lightblue-client/issues/231#issuecomment-170689396","issue_url":"https://api.github.com/repos/lightblue-platform/lightblue-client/issues/231","id":170689396,"user":{"login":"alechenninger","id":3496559,"avatar_url":"https://avatars.githubusercontent.com/u/3496559?v=3","gravatar_id":"","url":"https://api.github.com/users/alechenninger","html_url":"https://github.com/alechenninger","followers_url":"https://api.github.com/users/alechenninger/followers","following_url":"https://api.github.com/users/alechenninger/following{/other_user}","gists_url":"https://api.github.com/users/alechenninger/gists{/gist_id}","starred_url":"https://api.github.com/users/alechenninger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alechenninger/subscriptions","organizations_url":"https://api.github.com/users/alechenninger/orgs","repos_url":"https://api.github.com/users/alechenninger/repos","events_url":"https://api.github.com/users/alechenninger/events{/privacy}","received_events_url":"https://api.github.com/users/alechenninger/received_events","type":"User","site_admin":false},"created_at":"2016-01-11T21:04:45Z","updated_at":"2016-01-11T21:04:45Z","body":"Alright, could just be me. I'll look into it and get back to this issue."}}