svn commit: samba r21791 - in branches/SAMBA_4_0/source/torture/local: .

abartlet at samba.org abartlet at samba.org
Mon Mar 12 01:05:28 GMT 2007


Author: abartlet
Date: 2007-03-12 01:05:26 +0000 (Mon, 12 Mar 2007)
New Revision: 21791

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

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

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/torture/local/resolve.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/local/resolve.c
===================================================================
--- branches/SAMBA_4_0/source/torture/local/resolve.c	2007-03-12 00:24:03 UTC (rev 21790)
+++ branches/SAMBA_4_0/source/torture/local/resolve.c	2007-03-12 01:05:26 UTC (rev 21791)
@@ -29,7 +29,7 @@
 {
 	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_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);



More information about the samba-cvs mailing list