Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
LemonLDAP NG
lemonldap-ng
Commits
60b959f3
Commit
60b959f3
authored
Jan 21, 2016
by
Yadd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable local cache in e2e tests (
#889
)
parent
427e4d0a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
3 deletions
+18
-3
Makefile
Makefile
+1
-1
e2e-tests/lemonldap-ng.ini
e2e-tests/lemonldap-ng.ini
+8
-0
e2e-tests/lmConf-1.js
e2e-tests/lmConf-1.js
+9
-2
No files found.
Makefile
View file @
60b959f3
...
...
@@ -266,7 +266,7 @@ extra_test: all
e2e_test
:
all prepare_test_server start_web_server launch_protractor stop_web_server
prepare_test_server
:
@
mkdir
-p
e2e-tests/conf/lock e2e-tests/conf/persistents/lock
@
mkdir
-p
e2e-tests/conf/
sessions/
lock e2e-tests/conf/persistents/lock
@
$(MAKE)
install_webserver_conf
\
RCONFDIR
=
e2e-tests/conf
\
ERASECONFIG
=
1
\
...
...
e2e-tests/lemonldap-ng.ini
View file @
60b959f3
...
...
@@ -5,6 +5,14 @@
type
=
File
dirName
=
__pwd__/e2e-tests/conf
loglevel
=
debug
localStorage
=
Cache::FileCache
localStorageOptions
=
{
\
'namespace'
=> 'lemonldap-ng-config',
\
'default_expires_in'
=> 600,
\
'directory_umask'
=> '007',
\
'cache_root'
=> '__pwd__/e2e-tests/conf',
\
'cache_depth'
=> 0,
\
}
[portal]
...
...
e2e-tests/lmConf-1.js
View file @
60b959f3
...
...
@@ -109,12 +109,19 @@
},
"
globalStorage
"
:
"
Apache::Session::File
"
,
"
globalStorageOptions
"
:
{
"
Directory
"
:
"
__pwd__/e2e-tests/conf
"
,
"
LockDirectory
"
:
"
__pwd__/e2e-tests/conf/lock
"
,
"
Directory
"
:
"
__pwd__/e2e-tests/conf
/sessions
"
,
"
LockDirectory
"
:
"
__pwd__/e2e-tests/conf/
sessions/
lock
"
,
"
generateModule
"
:
"
Lemonldap::NG::Common::Apache::Session::Generate::SHA256
"
},
"
groups
"
:
{},
"
key
"
:
"
qwertyui
"
,
"
localSessionStorageOptions
"
:
{
"
cache_depth
"
:
3
,
"
cache_root
"
:
"
__pwd__/e2e-tests/conf
"
,
"
default_expires_in
"
:
600
,
"
directory_umask
"
:
"
007
"
,
"
namespace
"
:
"
lemonldap-ng-sessions
"
},
"
locationRules
"
:
{
"
manager.example.com
"
:
{
"
(?#Configuration)^/(manager
\\
.html|conf/)
"
:
"
$uid eq
\"
dwho
\"
"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment