Admintools and profileeditor test fails with 20 sec timeout. Increasing to 25 sec.

```
not ok 1 admintools "before all" hook
  Error: timeout of 20000ms exceeded. Ensure the done() callback is being called in this test.
      at tests/admintools.test.js:177:7
      at Object.done (node_modules/benv/index.js:32:21)
      at process.nextTick (node_modules/jsdom/lib/old-api.js:347:18)
      at _combinedTickCallback (internal/process/next_tick.js:131:7)
      at process._tickCallback (internal/process/next_tick.js:180:9)

not ok 203 Profile editor "before each" hook for "should produce some html"
  Error: timeout of 20000ms exceeded. Ensure the done() callback is being called in this test.
      at tests/fixtures/headless.js:160:7
      at Object.module.exports.setup (node_modules/benv/index.js:24:56)
      at Function.init [as setup] (tests/fixtures/headless.js:16:10)
      at Context.<anonymous> (tests/profileeditor.test.js:94:14)
```
This commit is contained in:
PieterGit
2017-09-14 19:26:50 +02:00
parent ddce2b91cd
commit 2676cee355
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ var someData = {
describe('admintools', function ( ) {
var self = this;
this.timeout(20000); // TODO: see why this test takes longer on Travis to complete
this.timeout(25000); // TODO: see why this test takes longer on Travis to complete
before(function (done) {
benv.setup(function() {
+1 -1
View File
@@ -71,7 +71,7 @@ var someData = {
describe('Profile editor', function ( ) {
this.timeout(20000); //TODO: see why this test takes longer on Travis to complete
this.timeout(25000); //TODO: see why this test takes longer on Travis to complete
var headless = require('./fixtures/headless')(benv, this);
before(function (done) {