diff options
author | Andrew Bartlett <abartlet@samba.org> | 2023-04-06 08:59:17 +1200 |
---|---|---|
committer | Jule Anger <janger@samba.org> | 2023-04-11 15:09:10 +0000 |
commit | 0fba21c1bfab48382acacd502e03d478a26a64b1 (patch) | |
tree | 9bc044994ae7f1560845f09b19611108166ae934 | |
parent | e9e902f7393ef4f4cb3f1cc69acde402c761c2d4 (diff) | |
download | samba-0fba21c1bfab48382acacd502e03d478a26a64b1.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)
-rw-r--r-- | source4/dsdb/tests/python/large_ldap.py | 2 |
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. |