{"action":"opened","issue":{"url":"https://api.github.com/repos/a-h/FakeDbSet/issues/13","repository_url":"https://api.github.com/repos/a-h/FakeDbSet","labels_url":"https://api.github.com/repos/a-h/FakeDbSet/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/a-h/FakeDbSet/issues/13/comments","events_url":"https://api.github.com/repos/a-h/FakeDbSet/issues/13/events","html_url":"https://github.com/a-h/FakeDbSet/issues/13","id":141190065,"number":13,"title":"Shouldn't be process-wide persistent by default","user":{"login":"wizofaus","id":5364225,"avatar_url":"https://avatars.githubusercontent.com/u/5364225?v=3","gravatar_id":"","url":"https://api.github.com/users/wizofaus","html_url":"https://github.com/wizofaus","followers_url":"https://api.github.com/users/wizofaus/followers","following_url":"https://api.github.com/users/wizofaus/following{/other_user}","gists_url":"https://api.github.com/users/wizofaus/gists{/gist_id}","starred_url":"https://api.github.com/users/wizofaus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wizofaus/subscriptions","organizations_url":"https://api.github.com/users/wizofaus/orgs","repos_url":"https://api.github.com/users/wizofaus/repos","events_url":"https://api.github.com/users/wizofaus/events{/privacy}","received_events_url":"https://api.github.com/users/wizofaus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-16T06:53:54Z","updated_at":"2016-03-16T06:53:54Z","closed_at":null,"body":"Given that Mock repositories are designed for use by unit tests, and MSTest runs unit tests multi-threaded, you get some quite unexpected behavior if you don't pass in \"true\" for the constructor.\r\nI'd rather see the default behavior be that repository data was persistent *per thread*, and require a specific option if you wanted it to be process-wide persistent. Either that, or the default behavior should not use a static field-backed datastore.\r\n"}}