lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aro...@apache.org
Subject svn commit: r516651 - /incubator/lucene.net/trunk/C#/src/Test/Index/TestIndexModifier.cs
Date Sat, 10 Mar 2007 05:01:49 GMT
Author: aroush
Date: Fri Mar  9 21:01:49 2007
New Revision: 516651

URL: http://svn.apache.org/viewvc?view=rev&rev=516651
Log:
Fixed Sleep() value.

Modified:
    incubator/lucene.net/trunk/C#/src/Test/Index/TestIndexModifier.cs

Modified: incubator/lucene.net/trunk/C#/src/Test/Index/TestIndexModifier.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Index/TestIndexModifier.cs?view=diff&rev=516651&r1=516650&r2=516651
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Index/TestIndexModifier.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Index/TestIndexModifier.cs Fri Mar  9 21:01:49
2007
@@ -165,7 +165,7 @@
 			{
 				try
 				{
-					System.Threading.Thread.Sleep(new System.TimeSpan((System.Int64) 10000 * 100));
+					System.Threading.Thread.Sleep(100);
 				}
 				catch (System.Threading.ThreadInterruptedException e)
 				{
@@ -328,7 +328,7 @@
 						{
 							rand = random.Next(maxWait);
 							//System.out.println("waiting " + rand + "ms");
-							System.Threading.Thread.Sleep(new System.TimeSpan((System.Int64) 10000 * rand));
+							System.Threading.Thread.Sleep(rand);
 						}
 						catch (System.Threading.ThreadInterruptedException e)
 						{



Mime
View raw message