{"action":"created","issue":{"url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/issues/126","labels_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/issues/126/labels{/name}","comments_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/issues/126/comments","events_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/issues/126/events","html_url":"https://github.com/strongloop/loopback-connector-mongodb/pull/126","id":68230857,"number":126,"title":"Feature/leak detection","user":{"login":"superkhau","id":1617364,"avatar_url":"https://avatars.githubusercontent.com/u/1617364?v=3","gravatar_id":"","url":"https://api.github.com/users/superkhau","html_url":"https://github.com/superkhau","followers_url":"https://api.github.com/users/superkhau/followers","following_url":"https://api.github.com/users/superkhau/following{/other_user}","gists_url":"https://api.github.com/users/superkhau/gists{/gist_id}","starred_url":"https://api.github.com/users/superkhau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superkhau/subscriptions","organizations_url":"https://api.github.com/users/superkhau/orgs","repos_url":"https://api.github.com/users/superkhau/repos","events_url":"https://api.github.com/users/superkhau/events{/privacy}","received_events_url":"https://api.github.com/users/superkhau/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/labels/%23review","name":"#review","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"raymondfeng","id":540892,"avatar_url":"https://avatars.githubusercontent.com/u/540892?v=3","gravatar_id":"","url":"https://api.github.com/users/raymondfeng","html_url":"https://github.com/raymondfeng","followers_url":"https://api.github.com/users/raymondfeng/followers","following_url":"https://api.github.com/users/raymondfeng/following{/other_user}","gists_url":"https://api.github.com/users/raymondfeng/gists{/gist_id}","starred_url":"https://api.github.com/users/raymondfeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raymondfeng/subscriptions","organizations_url":"https://api.github.com/users/raymondfeng/orgs","repos_url":"https://api.github.com/users/raymondfeng/repos","events_url":"https://api.github.com/users/raymondfeng/events{/privacy}","received_events_url":"https://api.github.com/users/raymondfeng/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-04-14T01:05:19Z","updated_at":"2015-04-15T20:55:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/pulls/126","html_url":"https://github.com/strongloop/loopback-connector-mongodb/pull/126","diff_url":"https://github.com/strongloop/loopback-connector-mongodb/pull/126.diff","patch_url":"https://github.com/strongloop/loopback-connector-mongodb/pull/126.patch"},"body":"- Add test to ensure leak detector actually detects leaks\r\n- Add leak detection tests for `find` operation\r\n- Add leak detection tests for `create` operation\r\n- Add instruction to README.md for running leak detection tests"},"comment":{"url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/issues/comments/93567032","html_url":"https://github.com/strongloop/loopback-connector-mongodb/pull/126#issuecomment-93567032","issue_url":"https://api.github.com/repos/strongloop/loopback-connector-mongodb/issues/126","id":93567032,"user":{"login":"superkhau","id":1617364,"avatar_url":"https://avatars.githubusercontent.com/u/1617364?v=3","gravatar_id":"","url":"https://api.github.com/users/superkhau","html_url":"https://github.com/superkhau","followers_url":"https://api.github.com/users/superkhau/followers","following_url":"https://api.github.com/users/superkhau/following{/other_user}","gists_url":"https://api.github.com/users/superkhau/gists{/gist_id}","starred_url":"https://api.github.com/users/superkhau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superkhau/subscriptions","organizations_url":"https://api.github.com/users/superkhau/orgs","repos_url":"https://api.github.com/users/superkhau/repos","events_url":"https://api.github.com/users/superkhau/events{/privacy}","received_events_url":"https://api.github.com/users/superkhau/received_events","type":"User","site_admin":false},"created_at":"2015-04-15T20:55:55Z","updated_at":"2015-04-15T20:55:55Z","body":">Is there a way how to run all existing tests with memwatch enabled? That way we don't have to write specific memwatch tests for each connector method.\r\n\r\nWhat you said would work, but it would only do it for 1 iteration (which is obviously useless). I am not aware of a way to run multiple iterations without rewriting the existing test code."}}