{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/corefx/issues/7381","repository_url":"https://api.github.com/repos/dotnet/corefx","labels_url":"https://api.github.com/repos/dotnet/corefx/issues/7381/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/corefx/issues/7381/comments","events_url":"https://api.github.com/repos/dotnet/corefx/issues/7381/events","html_url":"https://github.com/dotnet/corefx/pull/7381","id":144781976,"number":7381,"title":"Revert \"Add a few culture tests to System.Globalization\"","user":{"login":"stephentoub","id":2642209,"avatar_url":"https://avatars.githubusercontent.com/u/2642209?v=3","gravatar_id":"","url":"https://api.github.com/users/stephentoub","html_url":"https://github.com/stephentoub","followers_url":"https://api.github.com/users/stephentoub/followers","following_url":"https://api.github.com/users/stephentoub/following{/other_user}","gists_url":"https://api.github.com/users/stephentoub/gists{/gist_id}","starred_url":"https://api.github.com/users/stephentoub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephentoub/subscriptions","organizations_url":"https://api.github.com/users/stephentoub/orgs","repos_url":"https://api.github.com/users/stephentoub/repos","events_url":"https://api.github.com/users/stephentoub/events{/privacy}","received_events_url":"https://api.github.com/users/stephentoub/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/corefx/labels/cla-already-signed","name":"cla-already-signed","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-31T03:52:05Z","updated_at":"2016-03-31T17:19:39Z","closed_at":"2016-03-31T11:40:29Z","pull_request":{"url":"https://api.github.com/repos/dotnet/corefx/pulls/7381","html_url":"https://github.com/dotnet/corefx/pull/7381","diff_url":"https://github.com/dotnet/corefx/pull/7381.diff","patch_url":"https://github.com/dotnet/corefx/pull/7381.patch"},"body":"Reverts dotnet/corefx#7323\r\nFixes https://github.com/dotnet/corefx/issues/7367 (I think)\r\ncc: @ianhays, @tarekgh"},"comment":{"url":"https://api.github.com/repos/dotnet/corefx/issues/comments/204032416","html_url":"https://github.com/dotnet/corefx/pull/7381#issuecomment-204032416","issue_url":"https://api.github.com/repos/dotnet/corefx/issues/7381","id":204032416,"user":{"login":"ianhays","id":2606879,"avatar_url":"https://avatars.githubusercontent.com/u/2606879?v=3","gravatar_id":"","url":"https://api.github.com/users/ianhays","html_url":"https://github.com/ianhays","followers_url":"https://api.github.com/users/ianhays/followers","following_url":"https://api.github.com/users/ianhays/following{/other_user}","gists_url":"https://api.github.com/users/ianhays/gists{/gist_id}","starred_url":"https://api.github.com/users/ianhays/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianhays/subscriptions","organizations_url":"https://api.github.com/users/ianhays/orgs","repos_url":"https://api.github.com/users/ianhays/repos","events_url":"https://api.github.com/users/ianhays/events{/privacy}","received_events_url":"https://api.github.com/users/ianhays/received_events","type":"User","site_admin":false},"created_at":"2016-03-31T17:19:39Z","updated_at":"2016-03-31T17:19:39Z","body":"afaik there isn't a way to run an xunit test independently of all other xunit tests. Tests within a single class will run sequentially, but concurrency between classes is fixed.\r\n\r\nBecause of that, there isn't a way to safely run a test that modifies the defaultthreadcurrentculture like this. I faced a similar issue in FileSystem where my tests to set the current directory have the possibility to affect other tests that rely on the current directory being fixed. This issue can be further expanded on to include any test that modifies the machine state (e.g. DriveInfo, MountVolumes, etc).\r\n\r\nWe could resolve the process state issue by adding an xunit decorator that restricts a method from running in parallel with other xunit tests, but I can't think of a way to restrict tests in different xunit runner processes from running alongside each other (i.e. when run using build.cmd).\r\n\r\n#1221 discusses the machine state issue."}}