{"action":"created","issue":{"url":"https://api.github.com/repos/pouchdb/pouchdb/issues/6695","repository_url":"https://api.github.com/repos/pouchdb/pouchdb","labels_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/6695/labels{/name}","comments_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/6695/comments","events_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/6695/events","html_url":"https://github.com/pouchdb/pouchdb/pull/6695","id":250028300,"number":6695,"title":"(#4575) - Ensure databases are cleaned up","user":{"login":"daleharvey","id":37787,"avatar_url":"https://avatars1.githubusercontent.com/u/37787?v=4","gravatar_id":"","url":"https://api.github.com/users/daleharvey","html_url":"https://github.com/daleharvey","followers_url":"https://api.github.com/users/daleharvey/followers","following_url":"https://api.github.com/users/daleharvey/following{/other_user}","gists_url":"https://api.github.com/users/daleharvey/gists{/gist_id}","starred_url":"https://api.github.com/users/daleharvey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daleharvey/subscriptions","organizations_url":"https://api.github.com/users/daleharvey/orgs","repos_url":"https://api.github.com/users/daleharvey/repos","events_url":"https://api.github.com/users/daleharvey/events{/privacy}","received_events_url":"https://api.github.com/users/daleharvey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-14T13:19:05Z","updated_at":"2017-08-14T13:44:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/pouchdb/pouchdb/pulls/6695","html_url":"https://github.com/pouchdb/pouchdb/pull/6695","diff_url":"https://github.com/pouchdb/pouchdb/pull/6695.diff","patch_url":"https://github.com/pouchdb/pouchdb/pull/6695.patch"},"body":"Previously we used to only cleanup databases once a since suite was finished to help reduce the amount of requests made, we also used to do a pre cleanup before a test run as it made the suite behave better when encoutering errors.\r\n\r\nWhen we switched to randomly generated db names for couchdb master tests we forgot to handle that and now running the test suite left thousands of databases on the server possibly causing bugs with open file handles etc, our test suite should clean up after itself"},"comment":{"url":"https://api.github.com/repos/pouchdb/pouchdb/issues/comments/322193796","html_url":"https://github.com/pouchdb/pouchdb/pull/6695#issuecomment-322193796","issue_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/6695","id":322193796,"user":{"login":"willholley","id":97787,"avatar_url":"https://avatars3.githubusercontent.com/u/97787?v=4","gravatar_id":"","url":"https://api.github.com/users/willholley","html_url":"https://github.com/willholley","followers_url":"https://api.github.com/users/willholley/followers","following_url":"https://api.github.com/users/willholley/following{/other_user}","gists_url":"https://api.github.com/users/willholley/gists{/gist_id}","starred_url":"https://api.github.com/users/willholley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willholley/subscriptions","organizations_url":"https://api.github.com/users/willholley/orgs","repos_url":"https://api.github.com/users/willholley/repos","events_url":"https://api.github.com/users/willholley/events{/privacy}","received_events_url":"https://api.github.com/users/willholley/received_events","type":"User","site_admin":false},"created_at":"2017-08-14T13:44:48Z","updated_at":"2017-08-14T13:44:48Z","body":"nice find! LGTM when green."}}
{"actor":{"display_login":"willholley"}}