{"action":"created","issue":{"url":"https://api.github.com/repos/dmwm/WMCore/issues/6260","labels_url":"https://api.github.com/repos/dmwm/WMCore/issues/6260/labels{/name}","comments_url":"https://api.github.com/repos/dmwm/WMCore/issues/6260/comments","events_url":"https://api.github.com/repos/dmwm/WMCore/issues/6260/events","html_url":"https://github.com/dmwm/WMCore/pull/6260","id":107260500,"number":6260,"title":"Clean-up database usage in unittests, major upgrade do not merge","user":{"login":"vkuznet","id":125138,"avatar_url":"https://avatars.githubusercontent.com/u/125138?v=3","gravatar_id":"","url":"https://api.github.com/users/vkuznet","html_url":"https://github.com/vkuznet","followers_url":"https://api.github.com/users/vkuznet/followers","following_url":"https://api.github.com/users/vkuznet/following{/other_user}","gists_url":"https://api.github.com/users/vkuznet/gists{/gist_id}","starred_url":"https://api.github.com/users/vkuznet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vkuznet/subscriptions","organizations_url":"https://api.github.com/users/vkuznet/orgs","repos_url":"https://api.github.com/users/vkuznet/repos","events_url":"https://api.github.com/users/vkuznet/events{/privacy}","received_events_url":"https://api.github.com/users/vkuznet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":37,"created_at":"2015-09-18T19:12:37Z","updated_at":"2015-09-19T03:37:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dmwm/WMCore/pulls/6260","html_url":"https://github.com/dmwm/WMCore/pull/6260","diff_url":"https://github.com/dmwm/WMCore/pull/6260.diff","patch_url":"https://github.com/dmwm/WMCore/pull/6260.patch"},"body":"Major upgrade: remove reallyDeleteMyDatabaseAfterEveryTest bot option and replace it with setUp/tearDown approach to setup/delete unittest databases for every unit test; re-factor DBCore class to use generators and be compatible with WMCore functionality; re-factor ResultSet to keep data instead of resultproxy objects; close all resultproxy objects once data is read from them; change logic of processData to use transaction (it as reversed); adjust all unit tests to create its own database for their test purposes"},"comment":{"url":"https://api.github.com/repos/dmwm/WMCore/issues/comments/141617355","html_url":"https://github.com/dmwm/WMCore/pull/6260#issuecomment-141617355","issue_url":"https://api.github.com/repos/dmwm/WMCore/issues/6260","id":141617355,"user":{"login":"ericvaandering","id":1672366,"avatar_url":"https://avatars.githubusercontent.com/u/1672366?v=3","gravatar_id":"","url":"https://api.github.com/users/ericvaandering","html_url":"https://github.com/ericvaandering","followers_url":"https://api.github.com/users/ericvaandering/followers","following_url":"https://api.github.com/users/ericvaandering/following{/other_user}","gists_url":"https://api.github.com/users/ericvaandering/gists{/gist_id}","starred_url":"https://api.github.com/users/ericvaandering/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericvaandering/subscriptions","organizations_url":"https://api.github.com/users/ericvaandering/orgs","repos_url":"https://api.github.com/users/ericvaandering/repos","events_url":"https://api.github.com/users/ericvaandering/events{/privacy}","received_events_url":"https://api.github.com/users/ericvaandering/received_events","type":"User","site_admin":false},"created_at":"2015-09-19T03:37:16Z","updated_at":"2015-09-19T03:37:16Z","body":"At the risk of opening another can of worms, how do we solve similar issues for Couch and not just MySQL/MariaDB?"}}