summaryrefslogtreecommitdiff
path: root/user/openldap/test063.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2022-06-01 05:04:47 -0500
committerZach van Rijn <me@zv.io>2022-10-21 18:34:01 -0500
commitdadb2364fa576f1b9d7e01fe26de6fae296c5844 (patch)
treec2b77399229a99d863e629cc3acca27ed1a5a24c /user/openldap/test063.patch
parent4ee2953d7dcce67e2d4cd6eccbbe91d1e28c7ece (diff)
downloadpackages-dadb2364fa576f1b9d7e01fe26de6fae296c5844.tar.gz
packages-dadb2364fa576f1b9d7e01fe26de6fae296c5844.tar.bz2
packages-dadb2364fa576f1b9d7e01fe26de6fae296c5844.tar.xz
packages-dadb2364fa576f1b9d7e01fe26de6fae296c5844.zip
user/openldap: Update to 2.6.2
* Fix all tests. Suite now runs in ~20m instead of ~2h, so re-enable. * Update our patches for 2.6. * Build deps before all target to fix #720.
Diffstat (limited to 'user/openldap/test063.patch')
-rw-r--r--user/openldap/test063.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/user/openldap/test063.patch b/user/openldap/test063.patch
new file mode 100644
index 000000000..972feba6f
--- /dev/null
+++ b/user/openldap/test063.patch
@@ -0,0 +1,17 @@
+Test #63 fails with a server replication race.
+
+Seen in Debian at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1010608 -
+thanks to Ryan Tandy for root cause analysis and suggested fix.
+
+--- openldap-2.6.2/tests/scripts/test063-delta-multiprovider 2022-05-04 09:55:23.000000000 -0500
++++ openldap-2.6.2/tests/scripts/test063-delta-multiprovider 2022-06-01 02:14:47.230724205 -0500
+@@ -318,6 +318,9 @@
+ exit $RC
+ fi
+
++echo "Waiting $SLEEP1 seconds for syncrepl to receive changes..."
++sleep $SLEEP1
++
+ THEDN="cn=James A Jones 2,ou=Alumni Association,ou=People,dc=example,dc=com"
+ sleep 1
+ for i in 1 2 3; do