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: ldb-2.8.0~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f5e4edf64f7e4175f652bf8762d4edc110ad6b1;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 --- 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"}}},