From fcd4f22cd6c0050b775625ec561987a968bcccf7 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 21 May 2007 07:27:24 +0000 Subject: r23031: removed bogus event_loop_once() calls in RAW-CONTEXT test - they could 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 | 5 ----- 1 file changed, 5 deletions(-) (limited to 'source4/torture/raw/context.c') diff --git a/source4/torture/raw/context.c b/source4/torture/raw/context.c index 2da291f2ed..10c5d97f9e 100644 --- a/source4/torture/raw/context.c +++ b/source4/torture/raw/context.c @@ -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++) { -- cgit