]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4-dsdb:large_ldap: Assert that we got all the entries
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Thu, 6 Apr 2023 00:19:43 +0000 (12:19 +1200)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 12 Apr 2023 13:52:31 +0000 (13:52 +0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
source4/dsdb/tests/python/large_ldap.py

index f6376086c82bd6b0197f7189a2d8b0625f088ab2..8ebb478a9457a1ce14458af2f074c48adafcf127 100644 (file)
@@ -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