Code coverage timeout issue


Hi there,

I just tried the new code coverage feature in 2.4.0 and got the same timeout error I was seeing previously with just running the tests. This was when running the tests both from the VS context menu and the console. The tests run fine when not doing coverage.

Any ideas?

Cheers, Andrew
Closed Dec 3, 2013 at 4:39 AM by mmanela


mmanela wrote May 1, 2013 at 3:07 AM

Is this using the same sample you posted here?
At least using that sample I was unable to repro.

LinusDillon wrote Jun 14, 2013 at 1:43 AM

We also seem to be having this issue. Tests run fine with via Visual Studio and TFS build server when code coverage is disabled, but fail with a timeout when I ask either to perform code coverage.

Have tried with a timeout of 60000 with no success.

mmanela wrote Jun 19, 2013 at 8:00 PM

Could you attach a zip that repros the timeout so I can validate my fix for your scenario?

AbraaoAlves wrote Jun 24, 2013 at 7:05 PM

You are probably using requeirejs or knockout. See this link

AbraaoAlves wrote Jun 25, 2013 at 12:55 PM

This problem occurs in the current version (2.4.1), just call the code coverage rjs-jasmine-solo.js

mmanela wrote Jun 28, 2013 at 4:54 AM

I will investigate this further, I think maybe upgrading to the new version of blanket.js may fix this.

mmanela wrote Jul 11, 2013 at 4:08 AM

Fixed in d30137163052