summaryrefslogtreecommitdiff
path: root/selftest
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2019-07-28 15:25:54 +0200
committerRalph Boehme <slow@samba.org>2019-10-09 14:35:29 +0000
commitda7dec0a50fa5d9f6b92403d8703cd6b7a42159c (patch)
tree242cce783edaba3298b737b3b036d57d0de4b9b8 /selftest
parentf0e8dd1a08698884209873bb84002d7b34db016c (diff)
downloadsamba-da7dec0a50fa5d9f6b92403d8703cd6b7a42159c.tar.gz
selftest: add end-to-end tests for mdssvc with a fake HTTP server
Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Noel Power <noel.power@suse.com>
Diffstat (limited to 'selftest')
-rwxr-xr-xselftest/target/Samba3.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm
index fab8c146f34..92d058f02ba 100755
--- a/selftest/target/Samba3.pm
+++ b/selftest/target/Samba3.pm
@@ -962,6 +962,10 @@ sub setup_fileserver
my $fileserver_options = "
kernel change notify = yes
rpc_server:mdssvc = embedded
+ spotlight backend = elasticsearch
+ elasticsearch:address = 127.0.0.35
+ elasticsearch:port = 8080
+ elasticsearch:mappings = \"$srcdir_abs/source3/rpc_server/mdssvc/elasticsearch_mappings.json\"
usershare path = $usershare_dir
usershare max shares = 10