{"action":"opened","issue":{"url":"https://api.github.com/repos/nightwatchjs/nightwatch/issues/671","labels_url":"https://api.github.com/repos/nightwatchjs/nightwatch/issues/671/labels{/name}","comments_url":"https://api.github.com/repos/nightwatchjs/nightwatch/issues/671/comments","events_url":"https://api.github.com/repos/nightwatchjs/nightwatch/issues/671/events","html_url":"https://github.com/nightwatchjs/nightwatch/issues/671","id":110048290,"number":671,"title":"Parallel mode doesn't exit with non-zero code when one of the envs fail","user":{"login":"yyx990803","id":499550,"avatar_url":"https://avatars.githubusercontent.com/u/499550?v=3","gravatar_id":"","url":"https://api.github.com/users/yyx990803","html_url":"https://github.com/yyx990803","followers_url":"https://api.github.com/users/yyx990803/followers","following_url":"https://api.github.com/users/yyx990803/following{/other_user}","gists_url":"https://api.github.com/users/yyx990803/gists{/gist_id}","starred_url":"https://api.github.com/users/yyx990803/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yyx990803/subscriptions","organizations_url":"https://api.github.com/users/yyx990803/orgs","repos_url":"https://api.github.com/users/yyx990803/repos","events_url":"https://api.github.com/users/yyx990803/events{/privacy}","received_events_url":"https://api.github.com/users/yyx990803/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-06T16:29:43Z","updated_at":"2015-10-06T16:29:43Z","closed_at":null,"body":"When running multiple envs in parallel mode, and when one of the envs fail, the main process still exits with code 0. When used on CI services the build will pass when in fact there are tests failing.\r\n\r\nFor example\r\n\r\n``` bash\r\n./node_modules/.bin/nightwatch -c build/nightwatch.sauce.json -e ie10,ie11 && echo 'ok!'\r\n```\r\n\r\nIt still echos \"ok!\" even if one of the suites failed."}}