From 5bb0dcd0511d5a1fa1a255c11f14a5e0b9100d7c Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 22 May 2007 05:16:16 +0000 Subject: r23062: make sure one node doesn't get ahead of the others at the start (This used to be commit 6ab736f5308aabec609408cef9e4c3629081dd75) --- source4/torture/raw/openbench.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'source4/torture') diff --git a/source4/torture/raw/openbench.c b/source4/torture/raw/openbench.c index d1c2bb0aa7..0f4cab4062 100644 --- a/source4/torture/raw/openbench.c +++ b/source4/torture/raw/openbench.c @@ -325,7 +325,6 @@ BOOL torture_bench_open(struct torture_context *torture) state[i].mem_ctx = talloc_new(state); state[i].client_num = i; state[i].ev = ev; - state[i].stage = OPEN_INITIAL; if (!torture_open_connection_ev(&state[i].cli, i, ev)) { return False; } @@ -352,8 +351,11 @@ BOOL torture_bench_open(struct torture_context *torture) } for (i=0;ifile_num], + O_RDWR|O_CREAT, DENY_ALL); + state[i].stage = OPEN_OPEN; next_operation(&state[i]); } -- cgit