Commit Graph
12 Commits
Author SHA1 Message Date
Manuel de la Pena 12d676563e [Tests] Skip System.ServiceModel tests that are not supported on XamMac 4.5 (#6574) 2018-01-18 19:08:03 +01:00
Manuel de la Pena 3f372d06ee [Tests] Skip some of the System.ServiceModel tests when using MOBILE (#6545)
Mobile does not support all clases found in System.ServiceModel, we skip
those tests of the not supported classes yet run all the others.
2018-01-17 13:50:28 +01:00
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 b03e606287 Remove ChangeLog files from the repo
They weren't updated in the last 6 years and aren't helpful anymore (e.g. by causing unrelated matches during git grep searches).
2016-01-29 19:17:06 +01:00
Alex Rønne Petersen d56373ffc0 [WCF] Disable CloseTest and OpenTest4 in CustomPeerResolverServiceTest.
These tests occasionally time out:

Test Case Failures:
1) MonoTests.System.ServiceModel.PeerResolvers.CustomPeerResolverServiceTest.CloseTest : System.TimeoutException : The operation has timed-out.
at System.ServiceModel.Channels.HttpRequestChannel+HttpChannelRequestAsyncResult.WaitEnd () [0x00000] in <filename unknown>:0
at System.ServiceModel.Channels.HttpRequestChannel.EndRequest (IAsyncResult result) [0x00000] in <filename unknown>:0
at System.ServiceModel.Channels.HttpRequestChannel.Request (System.ServiceModel.Channels.Message message, TimeSpan timeout) [0x00000] in <filename unknown>:0
at System.ServiceModel.MonoInternal.ClientRuntimeChannel.Request (System.ServiceModel.Channels.Message msg, TimeSpan timeout) [0x00000] in <filename unknown>:0
at System.ServiceModel.MonoInternal.ClientRuntimeChannel.Request (System.ServiceModel.Description.OperationDescription od, System.Object[] parameters) [0x00000] in <filename unknown>:0
at System.ServiceModel.MonoInternal.ClientRuntimeChannel.DoProcess (System.Reflection.MethodBase method, System.String operationName, System.Object[] parameters) [0x00000] in <filename unknown>:0
at System.ServiceModel.MonoInternal.ClientRuntimeChannel.Process (System.Reflection.MethodBase method, System.String operationName, System.Object[] parameters) [0x00000] in <filename unknown>:0

I.e. we're timing out waiting for the async wait handle here: https://github.com/mono/mono/blob/master/mcs/class/System.ServiceModel/System.ServiceModel.Channels/HttpRequestChannel.cs#L495

Since we have no current WCF maintainer and this is deep, deep within
WCF land and causes unstable builds on Jenkins, disable these tests
for now.

Bug: https://bugzilla.xamarin.com/show_bug.cgi?id=21069
2014-07-03 02:31:07 +02:00
Atsushi Eno 64d0f5b30c 2010-05-19 Atsushi Enomoto <[email protected]>
* ServiceSettingsResponseInfo.cs
	  RegisterResponseInfo.cs
	  RefreshResponseInfo.cs
	  ResolveInfo.cs
	  UpdateInfo.cs
	  RegisterInfo.cs
	  UnregisterInfo.cs
	  RefreshInfo.cs
	  ResolveResponseInfo.cs : they don't have field initialization at
	  constructor now, for FormatterServices.GetUninitializedObject().
	  Fix regression with related to serialization changes.

	* PeerResolverSerializationTest.cs :
	  verify deserialized address count too.


svn path=/trunk/mcs/; revision=157532
2010-05-19 08:12:32 +00:00
Atsushi Eno 4e1c23bf2b 2010-04-05 Atsushi Enomoto <[email protected]>
* BaseMessagesFormatter.cs : hasParameter check is incorrectly
	  restrictive to reject some kinds of pairs.

	* CustomPeerResolverServiceTest.cs : enabled all disabled tests.


svn path=/trunk/mcs/; revision=154781
2010-04-05 07:45:21 +00:00
Atsushi Eno 5ef8f567cd 2009-12-02 Atsushi Enomoto <[email protected]>
* 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
2009-12-02 08:32:25 +00:00
Atsushi Eno b407c938e5 2009-07-14 Atsushi Enomoto <[email protected]>
* ServiceSettingsResponseInfo.cs
	  RegisterResponseInfo.cs
	  RefreshResponseInfo.cs
	  ResolveInfo.cs
	  UpdateInfo.cs
	  RegisterInfo.cs
	  UnregisterInfo.cs
	  ResolveResponseInfo.cs
	  RefreshInfo.cs : implement HasBody(). I couldn't find any case
	  that this method might return false.

	* PeerResolverSerializationTest.cs : fix test name/namespace.
	  add HasBody() test.


svn path=/trunk/mcs/; revision=137859
2009-07-14 12:41:31 +00:00
Atsushi Eno d1f95e4190 2009-05-25 Atsushi Enomoto <[email protected]>
* PeerResolverSerializationTest.cs : new test for general
	  serialization tests.

	* System.ServiceModel.dll_test.sources:
	  added PeerResolverSerializationTest.cs.


svn path=/trunk/mcs/; revision=134672
2009-05-25 08:17:11 +00:00
Atsushi Eno ca354a4d73 2009-04-07 Atsushi Enomoto <[email protected]>
* IPeerResolverContract.cs: fix SessionMode value.

	(bah, bad manner; no ChangeLog previously.)

	* CustomPeerResolverServiceTest.cs : added contract check.


svn path=/trunk/mcs/; revision=131219
2009-04-07 12:02:21 +00:00
Jb Evain bdd0809c70 move to from olive to mcs
svn path=/trunk/mcs/; revision=111187
2008-08-20 21:24:37 +00:00