summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2023-04-06 08:59:17 +1200
committerJule Anger <janger@samba.org>2023-04-11 08:36:03 +0000
commitdea4cb70045503fe882c2d4d24bfc07ce502c673 (patch)
tree72a7f72c25d67df99235dd106ab72ebbbf63273d
parent330958ae80495311ae1718bfe021c05ecec77e05 (diff)
downloadsamba-dea4cb70045503fe882c2d4d24bfc07ce502c673.tar.gz
dsdb/tests: Double number of expressions in large_ldap.py ldap_timeout test
By slowing the filter down more this makes the test reliable on the autobuild host. This is not a long-term solution, but is a quick tweak that can be done today to address current issues with getting commits past the host-based (compared with cloud-based) autobuild. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15351 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz> (cherry picked from commit 479634e4cd6543d489eb4700aebde1a479b94fe5) Autobuild-User(v4-18-test): Jule Anger <janger@samba.org> Autobuild-Date(v4-18-test): Tue Apr 11 08:36:03 UTC 2023 on atb-devel-224
-rw-r--r--source4/dsdb/tests/python/large_ldap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/tests/python/large_ldap.py b/source4/dsdb/tests/python/large_ldap.py
index ff172eecf70..cd8176363b5 100644
--- a/source4/dsdb/tests/python/large_ldap.py
+++ b/source4/dsdb/tests/python/large_ldap.py
@@ -300,7 +300,7 @@ class LargeLDAPTest(samba.tests.TestCase):
# Create a large search expression that will take a long time to
# evaluate.
- expression = f'(jpegPhoto=*X*)' * 1000
+ expression = '(jpegPhoto=*X*)' * 2000
expression = f'(|{expression})'
# Perform the LDAP search.