Skip to content
Snippets Groups Projects
Commit 3bb49304 authored by Sandro Weber's avatar Sandro Weber
Browse files

Merged in NRRPLT-8426-auth-timeout (pull request #324)

[NRRPLT-8426] increase timeout to 60s

* [NRRPLT-8426] increase timeout to 60s

* [NRRPLT-8426] had to set timeout to 29s, otherwise karma chrome headless times out in tests

* Merged development into NRRPLT-8426-auth-timeout

Approved-by: Benedikt Feldotto
Approved-by: Viktor Vorobev
Approved-by: Antoine Detailleur
parent b88e7f8c
Branches
No related tags found
No related merge requests found
......@@ -27,7 +27,7 @@
let keycloakClient = undefined;
const INIT_CHECK_INTERVAL_MS = 100;
const INIT_CHECK_MAX_RETRIES = 10;
const INIT_CHECK_MAX_RETRIES = 290;
(function() {
'use strict';
......
......@@ -88,7 +88,9 @@
});
});
it(' - init(), failing to initialize', function(done) {
it(
' - init(), failing to initialize',
function(done) {
spyOn(authService, 'authCollab').and.returnValue(Promise.reject());
authService.oidcEnabled = true;
......@@ -97,7 +99,9 @@
expect(authService.initialized).toBe(false);
done();
});
});
},
30000
);
it(' - authenticate()', function() {
spyOn(authService, 'authCollab');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment