From 9b921af12e6e26f0b0f4fa0341acfcddf68221e1 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 12 Mar 2007 01:05:26 +0000 Subject: r21791: This test is still just as valid without as much CPU time wasted. Andrew Bartlett (This used to be commit 3549785700cb412fae0e58c530faa40683952d55) --- source4/torture/local/resolve.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/torture/local/resolve.c') diff --git a/source4/torture/local/resolve.c b/source4/torture/local/resolve.c index 96da65a8c2..21a7392a14 100644 --- a/source4/torture/local/resolve.c +++ b/source4/torture/local/resolve.c @@ -29,7 +29,7 @@ static bool test_async_resolve(struct torture_context *tctx) { struct nbt_name n; struct event_context *ev; - int timelimit = torture_setting_int(tctx, "timelimit", 10); + int timelimit = torture_setting_int(tctx, "timelimit", 2); const char *host = torture_setting_string(tctx, "host", NULL); int count = 0; struct timeval tv = timeval_current(); @@ -61,7 +61,7 @@ static bool test_async_resolve(struct torture_context *tctx) */ static bool test_sync_resolve(struct torture_context *tctx) { - int timelimit = torture_setting_int(tctx, "timelimit", 10); + int timelimit = torture_setting_int(tctx, "timelimit", 2); struct timeval tv = timeval_current(); int count = 0; const char *host = torture_setting_string(tctx, "host", NULL); -- cgit