Process doesnt end when running in parallel
See original GitHub issueWhat are you trying to achieve?
Running multiple browsers with testcafe using codeceptjs run-multiple --all
What do you get instead?
The process seems to hang and teardownAll
never fires
Details
- CodeceptJS version: 2.3.5
- NodeJS Version: 10.13.0
- Operating System: Macos Sierra
- Protractor || WebDriverIO || Nightmare version (if related): - testcafe 1.6.0
- Configuration file:
exports.config = {
output: './e2e_tests/output',
helpers: {
TestCafe: {
url: 'https://dev-server.com',
browser: 'browserstack:chrome@78.0:OS X Mojave',
show: true,
},
ResembleHelper: {
require: 'codeceptjs-resemblehelper',
screenshotFolder: './e2e_tests/tests/output/',
baseFolder: './e2e_tests/tests/screenshots/base/',
diffFolder: './e2e_tests/tests/screenshots/diff/',
},
},
include: {
I: './e2e_tests/steps_file.js',
},
mocha: { bail: true },
bootstrap: null,
teardown: null,
hooks: [
// './e2e_tests/hooks/event.all.after.js',
],
gherkin: {
features: './e2e_tests/features/*.feature',
steps: ['./e2e_tests/step_definitions/steps.js'],
},
plugins: {
screenshotOnFail: {
enabled: true,
},
},
tests: './e2e_tests/tests/**/*.test.js',
name: 'polaris-siteapp',
multiple: {
basic: {
grep: '(?=.*)^(?!.*@visual-test)',
// List available browserstack browsers
// node ./node_modules/testcafe/bin/testcafe.js -b browserstack
browsers: [
'chrome',
'safari',
// 'browserstack:chrome@78.0:OS X Mojave',
// 'browserstack:edge@18.0:Windows 10',
// 'browserstack:ie@11.0:Windows 10',
],
},
},
teardownAll: (done) => { console.log('DUN'); done(); },
};
Issue Analytics
- State:
- Created 4 years ago
- Reactions:4
- Comments:10 (3 by maintainers)
Top Results From Across the Web
bash wait for all processes to finish (doesn't work)
(2) The solution is flawed, because it waits for all 8 processes to finish before starting new ones. If one process takes 10-times...
Read more >Process doesnt end when running in parallel #1997 - GitHub
I have visual tests. I am using Resemble. Command to execute: npx codeceptjs run-multiple parallel --reporter mocha-multi.
Read more >Parallel (GNU make)
If make terminates for any reason (including a signal) with child processes running, it waits for them to finish before actually exiting. When...
Read more >Ubuntu Manpage: parallel - build and execute shell command ...
If the number is lower than before, running jobs will be allowed to finish but new jobs will not be started until the...
Read more >Parallel Processing in R
Parallel processing (in the extreme) means that all the f# processes start simultaneously and run to completion on their own. If we have...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, updated to 2.6.0. Still the same process doesn’t end.
please switch to workers