fix(test): Bump the timeout to 90 seconds for oauth permissions tests. (#4924) r=vladikoff

Some of these tests take close to 45 seconds locally, when run against
remote servers this could be significantly longer.

fixes #4923
This commit is contained in:
Shane Tomlinson 2017-04-11 15:18:19 +01:00 коммит произвёл Vlad Filippov
Родитель 75d76fb91b
Коммит 1b879f1142
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -11,6 +11,8 @@ define([
], function (intern, registerSuite, assert, TestHelpers, FunctionalHelpers) { ], function (intern, registerSuite, assert, TestHelpers, FunctionalHelpers) {
var config = intern.config; var config = intern.config;
var TIMEOUT = 90 * 1000;
var TRUSTED_OAUTH_APP = config.fxaOauthApp; var TRUSTED_OAUTH_APP = config.fxaOauthApp;
var UNTRUSTED_OAUTH_APP = config.fxaUntrustedOauthApp; var UNTRUSTED_OAUTH_APP = config.fxaUntrustedOauthApp;
var PASSWORD = 'password'; var PASSWORD = 'password';
@ -39,6 +41,7 @@ define([
name: 'oauth permissions for untrusted reliers', name: 'oauth permissions for untrusted reliers',
beforeEach: function () { beforeEach: function () {
this.timeout = TIMEOUT;
email = TestHelpers.createEmail(); email = TestHelpers.createEmail();
return this.remote return this.remote