{"action":"opened","issue":{"url":"https://api.github.com/repos/pytest-dev/pytest-xdist/issues/15","labels_url":"https://api.github.com/repos/pytest-dev/pytest-xdist/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/pytest-dev/pytest-xdist/issues/15/comments","events_url":"https://api.github.com/repos/pytest-dev/pytest-xdist/issues/15/events","html_url":"https://github.com/pytest-dev/pytest-xdist/issues/15","id":119509125,"number":15,"title":"invoke setUpClass() many times under running multiple cpu mode","user":{"login":"heipark","id":297715,"avatar_url":"https://avatars.githubusercontent.com/u/297715?v=3","gravatar_id":"","url":"https://api.github.com/users/heipark","html_url":"https://github.com/heipark","followers_url":"https://api.github.com/users/heipark/followers","following_url":"https://api.github.com/users/heipark/following{/other_user}","gists_url":"https://api.github.com/users/heipark/gists{/gist_id}","starred_url":"https://api.github.com/users/heipark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heipark/subscriptions","organizations_url":"https://api.github.com/users/heipark/orgs","repos_url":"https://api.github.com/users/heipark/repos","events_url":"https://api.github.com/users/heipark/events{/privacy}","received_events_url":"https://api.github.com/users/heipark/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-30T14:59:07Z","updated_at":"2015-11-30T14:59:07Z","closed_at":null,"body":"os: win7\r\npy:2.7 && pytest (2.8.2) && pytest-xdist (1.13.1)\r\n\r\n```\r\nimport unittest\r\n\r\nclass SomeTest(unittest.TestCase):\r\n\r\n    def test_unit1(self):\r\n        pass\r\n        \r\n    def test_unit2(self):\r\n        pass\r\n\r\n    def test_unit3(self):\r\n        pass\r\n\r\n    def test_unit4(self):\r\n        pass                        \r\n\r\n    def test_unit4(self):\r\n        pass         \r\n\r\n    def test_unit5(self):\r\n        pass     \r\n\r\n    @classmethod\r\n    def setUpClass(cls):\r\n        with open('c:/abc.txt', 'a') as f :\r\n            f.write('######\\n')\r\n```\r\n\r\ncommand：\r\n```\r\npy.test testme.py   -v -n 3\r\n```\r\n\r\ncontent of c:/abc.txt:\r\n\r\n```\r\n######\r\n######\r\n######\r\n```\r\n\r\n\r\nxdist can not guarantee setUpClass() only run once ?"}}