From 3036f3cb96f1923949c7c73d2d3e9273539d0978 Mon Sep 17 00:00:00 2001 From: Ralph Boehme Date: Fri, 21 Apr 2023 07:07:13 +0200 Subject: [PATCH] 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) --- python/samba/tests/dcerpc/mdssvc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"}}}, -- 2.47.3