From: Joseph Sutton Date: Thu, 6 Apr 2023 00:19:43 +0000 (+1200) Subject: s4-dsdb:large_ldap: Assert that we got all the entries X-Git-Tag: talloc-2.4.1~968 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec069f1b3d37237ff034b33dd69d1f32d677cdb7;p=thirdparty%2Fsamba.git s4-dsdb:large_ldap: Assert that we got all the entries Signed-off-by: Joseph Sutton Reviewed-by: Andreas Schneider --- diff --git a/source4/dsdb/tests/python/large_ldap.py b/source4/dsdb/tests/python/large_ldap.py index f6376086c82..8ebb478a945 100644 --- a/source4/dsdb/tests/python/large_ldap.py +++ b/source4/dsdb/tests/python/large_ldap.py @@ -239,6 +239,8 @@ class LargeLDAPTest(samba.tests.TestCase): count += 1 res1 = search1.result() + self.assertEqual(count, 200) + # Now try breaking the 256MB limit count_jpeg = 0