svn commit: samba r22322 - in branches/SAMBA_4_0/source/torture/nbt: .

abartlet at samba.org abartlet at samba.org
Tue Apr 17 22:35:02 GMT 2007


Author: abartlet
Date: 2007-04-17 22:35:01 +0000 (Tue, 17 Apr 2007)
New Revision: 22322

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22322

Log:
Cut timelimits for BENCH tests run in quicktest.

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/torture/nbt/query.c
   branches/SAMBA_4_0/source/torture/nbt/winsbench.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/nbt/query.c
===================================================================
--- branches/SAMBA_4_0/source/torture/nbt/query.c	2007-04-17 21:32:59 UTC (rev 22321)
+++ branches/SAMBA_4_0/source/torture/nbt/query.c	2007-04-17 22:35:01 UTC (rev 22322)
@@ -52,7 +52,7 @@
 	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 @@
 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;

Modified: branches/SAMBA_4_0/source/torture/nbt/winsbench.c
===================================================================
--- branches/SAMBA_4_0/source/torture/nbt/winsbench.c	2007-04-17 21:32:59 UTC (rev 22321)
+++ branches/SAMBA_4_0/source/torture/nbt/winsbench.c	2007-04-17 22:35:01 UTC (rev 22322)
@@ -225,7 +225,7 @@
 	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;



More information about the samba-cvs mailing list