|
|
|
|
|
|
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 many 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|https://github.com/aerogear/aerogear-js/blob/2.0/tests/unit/data-manager/data-manager-sessionLocal-async-encrypted.js#L13] 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 {code:javascript} options: { timeout: 10000 } {code}
This issue is probably valid for our master branch as well and not only for the 2.0.0.
|
|
|
|
|
|