Author: martin
Date: 2006-04-25 10:04:31 -0400 (Tue, 25 Apr 2006)
New Revision: 59857

Modified:
   trunk/debugger/test/testsuite/TestAttach.cs
   trunk/debugger/test/testsuite/testnativeattach.cs
Log:
Sleep 1 second to avoid a race condition.

Modified: trunk/debugger/test/testsuite/TestAttach.cs
===================================================================
--- trunk/debugger/test/testsuite/TestAttach.cs 2006-04-25 13:59:08 UTC (rev 
59856)
+++ trunk/debugger/test/testsuite/TestAttach.cs 2006-04-25 14:04:31 UTC (rev 
59857)
@@ -1,5 +1,6 @@
 using System;
 using SD = System.Diagnostics;
+using ST = System.Threading;
 using NUnit.Framework;
 
 using Mono.Debugger;
@@ -22,6 +23,7 @@
                        base.SetUp ();
 
                        child = SD.Process.Start (MonoExecutable, "--debug " + 
ExeFileName);
+                       ST.Thread.Sleep (1000);
                }
 
                public override void TearDown ()

Modified: trunk/debugger/test/testsuite/testnativeattach.cs
===================================================================
--- trunk/debugger/test/testsuite/testnativeattach.cs   2006-04-25 13:59:08 UTC 
(rev 59856)
+++ trunk/debugger/test/testsuite/testnativeattach.cs   2006-04-25 14:04:31 UTC 
(rev 59857)
@@ -1,5 +1,6 @@
 using System;
 using SD = System.Diagnostics;
+using ST = System.Threading;
 using NUnit.Framework;
 
 using Mono.Debugger;
@@ -22,6 +23,7 @@
                        base.SetUp ();
 
                        child = SD.Process.Start (ExeFileName);
+                       ST.Thread.Sleep (1000);
                }
 
                public override void TearDown ()

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to