Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/mcs
diff options
context:
space:
mode:
authorAtsushi Eno <atsushieno@gmail.com>2010-01-20 08:26:38 +0300
committerAtsushi Eno <atsushieno@gmail.com>2010-01-20 08:26:38 +0300
commit8ed821727378f2b425d29a8e38f20da7a935f9f3 (patch)
treeaf821f45c07f5ff01e505637b4d50dd979103443 /mcs
parent5135630b6d61627fe437c52150cf3138f34d3b18 (diff)
2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
* ServiceHostBase.cs : a stability workaround to make nunit test stopper almost reproducible. svn path=/trunk/mcs/; revision=149876
Diffstat (limited to 'mcs')
-rwxr-xr-xmcs/class/System.ServiceModel/System.ServiceModel/ChangeLog5
-rw-r--r--mcs/class/System.ServiceModel/System.ServiceModel/ServiceHostBase.cs7
2 files changed, 8 insertions, 4 deletions
diff --git a/mcs/class/System.ServiceModel/System.ServiceModel/ChangeLog b/mcs/class/System.ServiceModel/System.ServiceModel/ChangeLog
index 7a3fbf34794..bf940134630 100755
--- a/mcs/class/System.ServiceModel/System.ServiceModel/ChangeLog
+++ b/mcs/class/System.ServiceModel/System.ServiceModel/ChangeLog
@@ -1,3 +1,8 @@
+2010-01-20 Atsushi Enomoto <atsushi@ximian.com>
+
+ * ServiceHostBase.cs : a stability workaround to make nunit test
+ stopper almost reproducible.
+
2010-01-19 Atsushi Enomoto <atsushi@ximian.com>
* WS2007FederationHttpBinding.cs, WS2007HttpBinding.cs:
diff --git a/mcs/class/System.ServiceModel/System.ServiceModel/ServiceHostBase.cs b/mcs/class/System.ServiceModel/System.ServiceModel/ServiceHostBase.cs
index 73f8c3ad5e8..fe1ac72895f 100644
--- a/mcs/class/System.ServiceModel/System.ServiceModel/ServiceHostBase.cs
+++ b/mcs/class/System.ServiceModel/System.ServiceModel/ServiceHostBase.cs
@@ -442,10 +442,6 @@ namespace System.ServiceModel
ServicesSection services = ConfigUtil.ServicesSection;
}
- void DoOpen (TimeSpan timeout)
- {
- }
-
[MonoTODO]
protected override sealed void OnAbort ()
{
@@ -495,6 +491,9 @@ namespace System.ServiceModel
InitializeRuntime ();
foreach (var cd in ChannelDispatchers)
cd.Open (timeout - (DateTime.Now - start));
+
+ // FIXME: remove this hack. It should make sure that each ChannelDispatcher's loop has started, using WaitHandle.WaitAll() or something similar.
+ System.Threading.Thread.Sleep (300);
}
protected override void OnEndClose (IAsyncResult result)