From: Ralph Boehme Date: Fri, 21 Apr 2023 05:07:13 +0000 (+0200) Subject: tests/mdssvc: match hits:total:value to be the actual amount of entries in hits X-Git-Tag: samba-4.17.11~82 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31a6264f8c597d3a5c264f8bf162a9d9aeffbd0a;p=thirdparty%2Fsamba.git 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 Reviewed-by: Jeremy Allison (cherry picked from commit 7f5e4edf64f7e4175f652bf8762d4edc110ad6b1) --- diff --git a/python/samba/tests/dcerpc/mdssvc.py b/python/samba/tests/dcerpc/mdssvc.py index 5002e5d26d6..985f35aa725 100644 --- a/python/samba/tests/dcerpc/mdssvc.py +++ b/python/samba/tests/dcerpc/mdssvc.py @@ -166,7 +166,7 @@ class MdssvcTests(RpcInterfaceTestCase): }''' fake_json_response = r'''{ "hits" : { - "total" : {"value" : 2}, + "total" : {"value" : 9}, "hits" : [ {"_source" : {"path" : {"real" : "%BASEPATH%/x+x"}}}, {"_source" : {"path" : {"real" : "%BASEPATH%/x*x"}}},