|
While developing AGJS-162 & AGJS-187, the following QUnit test suites (aerogear.ajax, authentication, unifiedpush, whole AeroGear QUnit test suite) were executed many times.
Somehow this resulted in huge phantomjs web storage items. So when I was trying to execute the data-manager sessionLocal-async-encrypted test suite, it was failing with timeout since the emptyStores function was very slow (> 5secs which is the default timeout).
I logged the items in my web storage causing the issue and was receiving multiple lines of: .tasks-home-tolis-git_repos-aerogear-js-tests-unit-data-manager-data-manager-sessionLocal-async-encrypted-html
The workaround was to increase the timeout to 10 secs by adding the following timeout configuration inside Gruntfile qunit block
options: {
timeout: 10000
}
This issue is probably valid for our master branch as well and not only for the 2.0.0.
|