summaryrefslogtreecommitdiff
path: root/source4/torture/nbt/query.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-04-17 22:35:01 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:51:02 -0500
commite18eed167a020d1262ff4508ecd51d74fb18c4cc (patch)
tree56ce1c04f1db21df6baa5f1d584ac60dbb331a3e /source4/torture/nbt/query.c
parent81fb404a6f61205ed141fd9f0681e704e2a33ad6 (diff)
downloadsamba-e18eed167a020d1262ff4508ecd51d74fb18c4cc.tar.gz
samba-e18eed167a020d1262ff4508ecd51d74fb18c4cc.tar.bz2
samba-e18eed167a020d1262ff4508ecd51d74fb18c4cc.zip
r22322: Cut timelimits for BENCH tests run in quicktest.
Andrew Bartlett (This used to be commit 63b89ccbebee6b1a73ac495e03c566e0b39e4646)
Diffstat (limited to 'source4/torture/nbt/query.c')
-rw-r--r--source4/torture/nbt/query.c4
1 files changed, 2 insertions, 2 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;