summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-01-25 17:27:17 +1100
committerAndrew Tridgell <tridge@samba.org>2008-01-25 17:27:17 +1100
commit01a0aa4fd1f77a6883f89dc570042bf89e6bdaef (patch)
tree3a6d50f0025511bb1e70417f5e4133294f4f2c2c /source4/torture
parent3249f4f84e99e62ede5d84c439f7f43af1a527c2 (diff)
downloadsamba-01a0aa4fd1f77a6883f89dc570042bf89e6bdaef.tar.gz
samba-01a0aa4fd1f77a6883f89dc570042bf89e6bdaef.tar.bz2
samba-01a0aa4fd1f77a6883f89dc570042bf89e6bdaef.zip
this is in seconds
(This used to be commit 019dd9a3d7d9af8ab71a10802c728f5ab5cf781d)
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/raw/open.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source4/torture/raw/open.c b/source4/torture/raw/open.c
index 47f32b619b..76bc0ca53d 100644
--- a/source4/torture/raw/open.c
+++ b/source4/torture/raw/open.c
@@ -1367,7 +1367,7 @@ static bool test_raw_open_multi(struct torture_context *tctx)
return false;
}
- cli->tree->session->transport->options.request_timeout = 60000;
+ cli->tree->session->transport->options.request_timeout = 60;
for (i=0; i<num_files; i++) {
if (!torture_open_connection_share(mem_ctx, &(clients[i]),
@@ -1375,8 +1375,7 @@ static bool test_raw_open_multi(struct torture_context *tctx)
DEBUG(0, ("Could not open %d'th connection\n", i));
return false;
}
- clients[i]->tree->session->transport->
- options.request_timeout = 60000;
+ clients[i]->tree->session->transport->options.request_timeout = 60;
}
/* cleanup */