diff options
author | Andrew Bartlett <abartlet@samba.org> | 2007-03-12 01:05:26 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:49:27 -0500 |
commit | 9b921af12e6e26f0b0f4fa0341acfcddf68221e1 (patch) | |
tree | 38fdbdad5e898cc3293c9291f6a8c663cf9cca79 | |
parent | 67e22aa6ffcdebf06324d1797989cd863fb5c0f8 (diff) | |
download | samba-9b921af12e6e26f0b0f4fa0341acfcddf68221e1.tar.gz samba-9b921af12e6e26f0b0f4fa0341acfcddf68221e1.tar.bz2 samba-9b921af12e6e26f0b0f4fa0341acfcddf68221e1.zip |
r21791: This test is still just as valid without as much CPU time wasted.
Andrew Bartlett
(This used to be commit 3549785700cb412fae0e58c530faa40683952d55)
-rw-r--r-- | source4/torture/local/resolve.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |