5 Commits
Author SHA1 Message Date
Alexander Köplinger e7a2d94f75 [bcl] Fix a few hardcoded socket ports in tests (#5471)
* [System] Fix a few hardcoded socket ports in tests

Those could've shown up as "address already in use" in CI.

* [System.Runtime.Remoting] Fix a few hardcoded socket ports in tests

Those could've shown up as "address already in use" in CI.

Additionally remove a copy of RemotingServicesTest.cs from corlib
which also exists in System.Runtime.Remoting in updated form.

* [System.ServiceModel] Fix a few hardcoded socket ports in tests

Those could've shown up as "address already in use" in CI.

* [System.Net.Http] Fix a few hardcoded socket ports in tests

Those could've shown up as "address already in use" in CI.

The additional "keep-alive" header in Send_Complete_NoContent() and
Send_Transfer_Encoding_Chunked() is because we were using the same
port for all tests before so other tests would clear the header.
This doesn't happen now that we use distinct test ports.

* [System.ServiceModel.Web] Fix a few hardcoded socket ports in tests

Those could've shown up as "address already in use" in CI.
2017-08-31 10:53:35 +02:00
Alexander Köplinger 40c3407ab9 [System.Runtime.Remoting] Fix double call to ChannelServices.UnregisterChannel
It is already called in TestFixtureTearDown, and calling it twice results in an exception in UnregisterChannel
the second time because the channel is no longer registered.
2016-10-29 14:09:37 +02:00
Atsushi Eno 31e3350fd4 2009-01-07 Atsushi Enomoto <[email protected]>
* HttpBugTests.cs : mark some tests as [Ignore] as they are blocker
	  to other http tests. Make sure to unregister HTTP channel.


svn path=/trunk/mcs/; revision=122609
2009-01-07 05:28:55 +00:00
Atsushi Eno 73025446bc 2009-01-07 Atsushi Enomoto <[email protected]>
* GenericTest.cs, HttpServerChannelTests.cs, ActivationTests.cs,
	  BaseCalls.cs, CrossDomainCalls.cs, HttpBugTests.cs,
	  ContextsTest.cs : explicitly set applicationBasePath to load
	  the test assembly itself. It reduces hundreds of test failures
	  under .NET and upgraded NUnit.
	  Marked some tests as NotWorking (due to nunit upgrade).


svn path=/trunk/mcs/; revision=122606
2009-01-07 03:46:50 +00:00
Michael Hutchinson d997190fc1 svn path=/trunk/mcs/; revision=113894 2008-09-23 20:57:12 +00:00