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
Gonzalo Paniagua Javier 8d6883358e 2009-09-12 Gonzalo Paniagua Javier <[email protected]>
* HttpServerChannelTests.cs:
	* BaseCalls.cs:
	* System.Runtime.Remoting.Channels.Tcp/TcpChannelTest.cs: ignore tests
	that fail on MS.NET.


svn path=/trunk/mcs/; revision=141862
2009-09-13 03:15:56 +00:00
Jeffrey Stedfast 91a48dd5e2 2008-09-17 Jeffrey Stedfast <[email protected]>
* TcpChannelTest.cs: Changed the namespace to MonoTests.Remoting
	like the other Remoting tests and added a client<->server
	communication test. Throw in a ftp:// url for the url-parsing test
	to make sure the parser returns null on that.


svn path=/trunk/mcs/; revision=113358
2008-09-17 22:00:37 +00:00
Jeffrey Stedfast f54fd3ae5b 2008-09-12 Jeffrey Stedfast <[email protected]>
Fix for bug #320298

	* TcpClientTransportSink.cs: Updated for change to
	TcpChannel.ParseTcpURL(). We now need to do our own integer
	conversion/validation of the port.

	* TcpChannel.cs (ParseTcpURL): We need to match the
	protocol ("tcp") case-insensitively. The objectURI is supposed to
	include the leading '/' character. Also, we need to ignore invalid
	port designators since Microsoft's .NET implementation of
	TcpChannel.Parse() doesn't seem to care that they are valid.


svn path=/trunk/mcs/; revision=112912
2008-09-12 22:10:44 +00:00
Gert Driesen 5b45f4fecc * System.Runtime.Remoting_test.dll.sources: add TcpChannelTest.cs.
* RemotingServicesTest.cs: Do not hide exception that occur when
unregistering a channel. Code formatting and removed extra tabs.
* TcpChannelTest.cs: Added simple ctor test that covers bug #355905.
* System.Runtime.Remoting_test.dll.sources: add TcpChannelTest.cs.

svn path=/trunk/mcs/; revision=93956
2008-01-25 20:22:12 +00:00