testcafe: Intermittently TestCafe 1.7.0 hangs on parallelism and functionality regressed, everything was fine with 1.6.1

Intermittently TestCafe 1.7.0 hangs on parallelism and functionality regressed, everything was fine with 1.6.1.

Automation hangs in CircleCI container. I don’t have exact repro steps and this issue is intermittent. Something is fixed in 1.7.1 which regressed all these things. I have 25+ examples where my container hanged and timeout reached since we upgraded to 1.7.1.

Please note that browser hanging issue was not present with 1.6.1 at all**

Command: node tests/testcafe/utils/testcafe-run.js tests/testcafe/tests -c 5

image

image

image

image

Your Environment details:

  • testcafe version: 1.7.0
  • node.js version: 13.1.0
  • browser name and version: Chrome 78.0.3904

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 1
  • Comments: 27 (13 by maintainers)

Most upvoted comments

The --disable-background-networking flag is applied by default since testcafe@1.8.3-alpha.1. If you don’t mind installing preliminary builds, you can install and test it in your environment. I will post a message in this issue thread when a stable release is available.

Hi @mkj28

anyways - +1 from us - seeing same issue, hanging with parallelism on 1.7.0. Works fine on 1.6.1

This issue is specific to the Google Chrome browser. We are researching ways to fix it on our side.

does --disable-background-networking affect running on SauceLabs?

Yes, it should affect the test running on SauceLabs. At present, I cannot provide you with a complete example of how to pass this flag as a browser run option via ‘https://github.com/DevExpress/testcafe-browser-provider-saucelabs’. I need additional time to investigate it.