1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00

r21791: This test is still just as valid without as much CPU time wasted.

Andrew Bartlett
This commit is contained in:
Andrew Bartlett 2007-03-12 01:05:26 +00:00 committed by Gerald (Jerry) Carter
parent 5c07dbd248
commit 3549785700

View File

@ -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);