mirror of
https://github.com/samba-team/samba.git
synced 2025-10-19 23:33:15 +03:00
tests/mdssvc: match hits:total:value to be the actual amount of entries in hits
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15342
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 7f5e4edf64
)
This commit is contained in:
@@ -166,7 +166,7 @@ class MdssvcTests(RpcInterfaceTestCase):
|
|||||||
}'''
|
}'''
|
||||||
fake_json_response = r'''{
|
fake_json_response = r'''{
|
||||||
"hits" : {
|
"hits" : {
|
||||||
"total" : {"value" : 2},
|
"total" : {"value" : 9},
|
||||||
"hits" : [
|
"hits" : [
|
||||||
{"_source" : {"path" : {"real" : "%BASEPATH%/x+x"}}},
|
{"_source" : {"path" : {"real" : "%BASEPATH%/x+x"}}},
|
||||||
{"_source" : {"path" : {"real" : "%BASEPATH%/x*x"}}},
|
{"_source" : {"path" : {"real" : "%BASEPATH%/x*x"}}},
|
||||||
|
Reference in New Issue
Block a user