r23031: removed bogus event_loop_once() calls in RAW-CONTEXT test - they could
authorAndrew Tridgell <tridge@samba.org>
Mon, 21 May 2007 07:27:24 +0000 (07:27 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:52:42 +0000 (14:52 -0500)
hang forever if an ealier one caused two operations to complete at
once

this is why RAW-CONTEXT was taking 5 minutes on the build farm
(This used to be commit eeba37e25cdcaefac4a252fb4305bddaba217826)

source4/torture/raw/context.c

index 2da291f2edccd76bbdf2107f9a906f83d81ed5db..10c5d97f9e98906abd8a1bfc2d39effd4943bbd2 100644 (file)
@@ -235,11 +235,6 @@ static BOOL test_session(struct smbcli_state *cli, TALLOC_CTX *mem_ctx)
        }
 
 
-       /* flush the queue */
-       for (i=0; i < ARRAY_SIZE(sessions); i++) {
-               event_loop_once(composite_contexts[0]->event_ctx);
-       }
-
        printf("finishing %d secondary security contexts on the same transport\n", 
               (int)ARRAY_SIZE(sessions));
        for (i=0; i< ARRAY_SIZE(sessions); i++) {