A test failed on Jenkins today with "address already in use".
Opportunistically replaced a few more hardcoded test ports to avoid failures in the future.
The problem is that DispatchRuntime.Type is a service implementation type
that could implement two or more contract interfaces, and it was in random
order how ServiceProxyGenerator picks up the contract type. Now it looks
for correct contract type instead of the service type by exactly looking
for the target contract in the endpoint (dispatcher).
* ServiceBehaviorAttribute.cs : do not overwrite existing properties
which may have been set by preceding behaviors. Fix WSDL output.
* EnvelopeVersion.cs : fix name and namespace for None property.
* HttpListenerManager.cs : add some comments.
* DispatchRuntimeTest.cs : add another line of assertion.
svn path=/trunk/mcs/; revision=159313
* NetTcpBindingTest.cs :
I have to disable a lot of connective tests that somehow blocks
test runs. No idea why it started to happen though.
* DispatchRuntimeTest.cs :
I have to disable a lot of connective tests that somehow blocks
test runs. No idea why it started to happen though.
* CustomPeerResolverServiceTest.cs :
I have to disable a lot of connective tests that somehow blocks
test runs. No idea why it started to happen though.
(It internally uses HTTP binding, which is the indirect source of
the problem here.)
svn path=/trunk/mcs/; revision=147398
* ServiceHostBase.cs : remove more TODO.
* DispatchRuntime.cs : do not fill InstanceContextProvider here.
* ChannelDispatcher.cs : do it here instead.
* ChannelDispatcherCollection.cs : remove TODOs.
* ChannelDispatcherTest.cs : make sure that the port to be in use is
available before running the tests. Check attach state.
* DispatchRuntimeTest.cs : make sure that it runs through all the
behavior tests.
svn path=/trunk/mcs/; revision=136695
* DispatchRuntimeTest.cs : add reasonable timeout and close client
appropriately. Objects are disposed in different ways than .NET.
Do not expect things automatically disposed as just time goes by.
svn path=/trunk/mcs/; revision=136221