14

I have around 50 test cases written in Angular. On executing those it says Disconnectedreconnect failed before timeout of 10000ms. I did some configuration settings like

captureTimeout: 60000, // it was already there
browserDisconnectTimeout : 10000,
browserDisconnectTolerance : 1,
browserNoActivityTimeout : 60000,//by default 10000

Nothing seems to be working. If I extend the browserDisconnectTimeout time to 100000ms, then its working fine, but upon adding more test cases it again throws the timeout error.

Schatak
  • 139
  • 1
  • 9
  • I would make sure query is good by running in SQL Server Management Studio (SSMS). The query may take a long time to run which you can check the run time in SSMS. – jdweng Jan 22 '19 at 13:49
  • @jdweng it’s not about query there is no database hit for test cases – Schatak Jan 22 '19 at 17:37
  • Is this related? https://stackoverflow.com/questions/58484124/karma-disconnectedreconnect-failed-before-timeout-of-with-chromeheadless – JGFMK Jan 09 '21 at 12:00
  • @Schatak, what was your solution? – Yash Capoor Mar 27 '23 at 11:20

1 Answers1

0

Are you testing asynchronous behaviour without promises resolving? This seems likely to me since you're only getting the error when running more tests.