r12024: do some extra sleeping to give the server the chance to handle our reply
authorStefan Metzmacher <metze@samba.org>
Fri, 2 Dec 2005 15:51:39 +0000 (15:51 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:47:01 +0000 (13:47 -0500)
metze

source/torture/nbt/winsreplication.c

index 4f18e3492b836b40f07a11b4748e5f6b7ee2ccd0..3963f0adb0a66d4d5a908bd6b886cccdd37f21de 100644 (file)
@@ -9354,6 +9354,7 @@ static void test_conflict_owned_active_vs_replica_handler_query(struct nbt_name_
 
        /* make sure we push the reply to the wire */
        event_loop_once(nbtsock->event_ctx);
+       msleep(25);
 
        rec->defend.timeout     = 0;
        rec->defend.ret         = True;
@@ -9406,6 +9407,7 @@ static void test_conflict_owned_active_vs_replica_handler_release(struct nbt_nam
 
        /* make sure we push the reply to the wire */
        event_loop_once(nbtsock->event_ctx);
+       msleep(25);
 
        rec->defend.timeout     = 0;
        rec->defend.ret         = True;