summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/torture/nbt/query.c4
-rw-r--r--source4/torture/nbt/winsbench.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/source4/torture/nbt/query.c b/source4/torture/nbt/query.c
index 33cf2d4335..e0bea2775c 100644
--- a/source4/torture/nbt/query.c
+++ b/source4/torture/nbt/query.c
@@ -52,7 +52,7 @@ static bool bench_namequery(struct torture_context *tctx)
struct result_struct *result;
struct nbt_name_query io;
struct timeval tv = timeval_current();
- int timelimit = torture_setting_int(tctx, "timelimit", 10);
+ int timelimit = torture_setting_int(tctx, "timelimit", 5);
const char *address;
struct nbt_name name;
@@ -105,7 +105,7 @@ static bool bench_namequery(struct torture_context *tctx)
struct torture_suite *torture_bench_nbt(void)
{
struct torture_suite *suite = torture_suite_create(talloc_autofree_context(),
- "BENCH");
+ "BENCH");
torture_suite_add_simple_test(suite, "namequery", bench_namequery);
return suite;
diff --git a/source4/torture/nbt/winsbench.c b/source4/torture/nbt/winsbench.c
index f7c76905ab..dc349cb1eb 100644
--- a/source4/torture/nbt/winsbench.c
+++ b/source4/torture/nbt/winsbench.c
@@ -225,7 +225,7 @@ static bool bench_wins(struct torture_context *tctx)
int num_sent=0;
struct timeval tv = timeval_current();
bool ret = true;
- int timelimit = torture_setting_int(tctx, "timelimit", 10);
+ int timelimit = torture_setting_int(tctx, "timelimit", 5);
struct wins_state *state;
extern int torture_entries;
struct socket_address *my_ip;