From e8450ad588253ca41126ab46118d7d4b19cc097c Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 24 Dec 2003 14:03:43 +0000 Subject: [PATCH] ITS#2895 sleep(1) here masks race conditions, don't do it. --- tests/progs/slapd-addel.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/progs/slapd-addel.c b/tests/progs/slapd-addel.c index 78860f01f1..4660a87afb 100644 --- a/tests/progs/slapd-addel.c +++ b/tests/progs/slapd-addel.c @@ -292,8 +292,11 @@ do_addel( } +#if 0 /* wait a second for the add to really complete */ + /* This masks some race conditions though. */ sleep( 1 ); +#endif /* now delete the entry again */ if ( ldap_delete_s( ld, entry ) != LDAP_SUCCESS ) { -- 2.39.5