testcafe-browser-provider-browserstack icon indicating copy to clipboard operation
testcafe-browser-provider-browserstack copied to clipboard

Cannot establish one or more browser connections when using concurrency mode

Open felis2803 opened this issue 3 years ago • 0 comments

When concurrent mode is used with more than 5 threads, TestCafe hangs and then throws an error: изображение

Steps to reproduce:

  1. Create a simple fixture with a few tests, for example:
fixture `New Fixture`
    .page `about:blank`;

for (let i = 0; i < 6; i++) {
    test(`test ${i}`, async t => {
        await t.expect(true).ok();
    });
}
  1. Run using concurrent mode in 6 threads: testcafe browserstack:chrome -c 6 ./test.js You will get an error.
  2. For comparison, run the same fixture in local chrome: testcafe chrome -c 6 ./test.js This should be successful.

felis2803 avatar Apr 25 '22 13:04 felis2803