decrease timeouts to detect regressions faster in future

This commit is contained in:
PieterGit
2017-09-14 19:16:32 +02:00
parent 3de2a5d174
commit ddce2b91cd
4 changed files with 3 additions and 8 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ var someData = {
describe('admintools', function ( ) {
var self = this;
this.timeout(30000);
this.timeout(20000); // TODO: see why this test takes longer on Travis to complete
before(function (done) {
benv.setup(function() {
-5
View File
@@ -63,7 +63,6 @@ describe('hashauth', function ( ) {
*/
it ('should make module unauthorized', function () {
this.timeout(50000);
var client = require('../lib/client');
var hashauth = require('../lib/hashauth');
@@ -82,7 +81,6 @@ describe('hashauth', function ( ) {
});
it ('should make module authorized', function () {
this.timeout(50000);
var client = require('../lib/client');
var hashauth = require('../lib/hashauth');
@@ -99,9 +97,6 @@ describe('hashauth', function ( ) {
});
it ('should store hash and the remove authentication', function () {
this.timeout(50000);
var client = require('../lib/client');
var hashauth = require('../lib/hashauth');
var localStorage = require('./fixtures/localstorage');
+1 -1
View File
@@ -71,7 +71,7 @@ var someData = {
describe('Profile editor', function ( ) {
this.timeout(30000);
this.timeout(20000); //TODO: see why this test takes longer on Travis to complete
var headless = require('./fixtures/headless')(benv, this);
before(function (done) {