{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/jest/issues/1903","repository_url":"https://api.github.com/repos/facebook/jest","labels_url":"https://api.github.com/repos/facebook/jest/issues/1903/labels{/name}","comments_url":"https://api.github.com/repos/facebook/jest/issues/1903/comments","events_url":"https://api.github.com/repos/facebook/jest/issues/1903/events","html_url":"https://github.com/facebook/jest/issues/1903","id":181915344,"number":1903,"title":"[BUG] codeship: tests do not run in parallel, even with --w","user":{"login":"jonathanong","id":643505,"avatar_url":"https://avatars.githubusercontent.com/u/643505?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathanong","html_url":"https://github.com/jonathanong","followers_url":"https://api.github.com/users/jonathanong/followers","following_url":"https://api.github.com/users/jonathanong/following{/other_user}","gists_url":"https://api.github.com/users/jonathanong/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanong/subscriptions","organizations_url":"https://api.github.com/users/jonathanong/orgs","repos_url":"https://api.github.com/users/jonathanong/repos","events_url":"https://api.github.com/users/jonathanong/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanong/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-10-09T22:11:45Z","updated_at":"2016-11-16T08:11:00Z","closed_at":null,"body":"<!-- *Before creating an issue please make sure you are using the latest version of Jest, try re-installing your node_modules folder and run Jest once with `--no-cache` to see if that fixes the problem you are experiencing.* -->\n\n**Do you want to request a _feature_ or report a _bug_?**\n\nbug\n\n**What is the current behavior?**\n\nlocally, my tests run in parallel. however, when running codeship tests, they run one at a time. i even set `-w 24`, which still runs them in series.\n\n**If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal repository on GitHub that we can `npm install` and `npm test`.**\n\ni can give you access to the repo and codeship. haven't bothered making a standalone case as i'm hoping someone will know the issue first, but i don't mind setting it up.\n\n**What is the expected behavior?**\n\nit should run in parallel, just like it does locally.\n\n**Run Jest again with `--debug` and provide the full configuration it prints. Please mention your node and npm version and operating system.**\n\n``` bash\n> NODE_ENV=test jest lib/__tests__/*.js --coverage -w 24 --debug\n\njest version = 16.0.1\ntest framework = jasmine2\nconfig = {\n\"rootDir\": \"/home/rof/src/github.com/VidRoll/node-vast-server\",\n\"name\": \"-home-rof-src-github.com-VidRoll-node-vast-server\",\n\"setupFiles\": [],\n\"testRunner\": \"/home/rof/src/github.com/VidRoll/node-vast-server/node_modules/jest-jasmine2/build/index.js\",\n\"scriptPreprocessor\": \"/home/rof/src/github.com/VidRoll/node-vast-server/node_modules/babel-jest/build/index.js\",\n\"usesBabelJest\": true,\n\"automock\": false,\n\"bail\": false,\n\"browser\": false,\n\"cacheDirectory\": \"/tmp/jest\",\n\"clearMocks\": false,\n\"coveragePathIgnorePatterns\": [\n\"/node_modules/\"\n],\n\"coverageReporters\": [\n\"json\",\n\"text\",\n\"lcov\",\n\"clover\"\n],\n\"globals\": {},\n\"haste\": {\n\"providesModuleNodeModules\": []\n},\n\"mocksPattern\": \"__mocks__\",\n\"moduleDirectories\": [\n\"node_modules\"\n],\n\"moduleFileExtensions\": [\n\"js\",\n\"json\",\n\"jsx\",\n\"node\"\n],\n\"moduleNameMapper\": {},\n\"modulePathIgnorePatterns\": [],\n\"noStackTrace\": false,\n\"notify\": false,\n\"preset\": null,\n\"preprocessorIgnorePatterns\": [\n\"/node_modules/\"\n],\n\"resetModules\": false,\n\"testEnvironment\": \"jest-environment-jsdom\",\n\"testPathDirs\": [\n\"/home/rof/src/github.com/VidRoll/node-vast-server\"\n],\n\"testPathIgnorePatterns\": [\n\"/node_modules/\"\n],\n\"testRegex\": \"(/__tests__/.*|\\\\.(test|spec))\\\\.jsx?$\",\n\"testURL\": \"about:blank\",\n\"timers\": \"real\",\n\"useStderr\": false,\n\"verbose\": null,\n\"watch\": false,\n\"collectCoverage\": true,\n\"cache\": true,\n\"watchman\": true,\n\"testcheckOptions\": {\n\"times\": 100,\n\"maxSize\": 200\n}\n}\n```\n"},"comment":{"url":"https://api.github.com/repos/facebook/jest/issues/comments/260880888","html_url":"https://github.com/facebook/jest/issues/1903#issuecomment-260880888","issue_url":"https://api.github.com/repos/facebook/jest/issues/1903","id":260880888,"user":{"login":"cpojer","id":13352,"avatar_url":"https://avatars.githubusercontent.com/u/13352?v=3","gravatar_id":"","url":"https://api.github.com/users/cpojer","html_url":"https://github.com/cpojer","followers_url":"https://api.github.com/users/cpojer/followers","following_url":"https://api.github.com/users/cpojer/following{/other_user}","gists_url":"https://api.github.com/users/cpojer/gists{/gist_id}","starred_url":"https://api.github.com/users/cpojer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpojer/subscriptions","organizations_url":"https://api.github.com/users/cpojer/orgs","repos_url":"https://api.github.com/users/cpojer/repos","events_url":"https://api.github.com/users/cpojer/events{/privacy}","received_events_url":"https://api.github.com/users/cpojer/received_events","type":"User","site_admin":false},"created_at":"2016-11-16T08:11:00Z","updated_at":"2016-11-16T08:11:00Z","body":"I see! Can you run a second time and share whether it is faster then? As @jonathanong pointed out in this issue it may make sense to make Jest's heuristic overwritable for this case so that it always uses many processes."}}
{"actor":{"display_login":"cpojer"}}