karma specs seemingly randomly hang for up to 10s

24 views
Skip to first unread message

Nikita Tovstoles

unread,
Apr 3, 2014, 5:25:06 PM4/3/14
to ang...@googlegroups.com
Probably too vague to be actionable at this point, but nevertheless...

I test my angular app using Jasmine and Karma (0.12) - locally via JetBrains' WebStorm Karma integration. On nearly every other test run, one spec or another (seemingly randomly) hangs for up to 10 seconds - but then eventually completes. Sometimes all tests run without 'hanging', in which case the entire suite completes in < 2s. Anyone know what may be causing this seemingly random delay?

thanks
-nikita

Kai Groner

unread,
Apr 3, 2014, 6:08:39 PM4/3/14
to ang...@googlegroups.com
I've seen Chrome take a while when the test runner isn't in a foreground tab.  Is your problem browser specific?


Kai


--
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angular+u...@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Nikita Tovstoles

unread,
Apr 3, 2014, 6:37:22 PM4/3/14
to ang...@googlegroups.com
Good thought! It was happening pretty consistently with Firefox; seemingly went away after switching to Chrome...

-nikita


--
You received this message because you are subscribed to a topic in the Google Groups "AngularJS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/angular/B8kVoNt5cRY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to angular+u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages