Bug 5842 - GetRequestStream_Close_NotAllBytesWritten test fails
Summary: GetRequestStream_Close_NotAllBytesWritten test fails
Status: RESOLVED FIXED
Alias: None
Product: Class Libraries
Classification: Mono
Component: System ()
Version: master
Hardware: PC Linux
: --- normal
Target Milestone: Untriaged
Assignee: Martin Baulig
URL:
Depends on:
Blocks:
 
Reported: 2012-06-25 06:45 UTC by Marek Safar
Modified: 2016-11-11 09:37 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Marek Safar 2012-06-25 06:45:56 UTC
GetRequestStream_Close_NotAllBytesWritten test fails occasionally (I cannot reproduce it on my machine)


MonoTests.System.Net.HttpWebRequestTest.GetRequestStream_Close_NotAllBytesWritten : System.Net.WebException : Error: ConnectFailure (interrupted)
  ----> System.Net.Sockets.SocketException : interrupted
at System.Net.HttpWebRequest.EndGetRequestStream (IAsyncResult asyncResult) [0x00045] in /usr/src/packages/BUILD/mono-2.11.2/mcs/class/System/System.Net/HttpWebRequest.cs:808
at System.Net.HttpWebRequest.GetRequestStream () [0x00057] in /usr/src/packages/BUILD/mono-2.11.2/mcs/class/System/System.Net/HttpWebRequest.cs:824
at MonoTests.System.Net.HttpWebRequestTest.GetRequestStream_Close_NotAllBytesWritten () [0x00245] in /usr/src/packages/BUILD/mono-2.11.2/mcs/class/System/Test/System.Net/HttpWebRequestTest.cs:754
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000d5] in /usr/src/packages/BUILD/mono-2.11.2/mcs/class/corlib/System.Reflection/MonoMethod.cs:229
--SocketException
at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP) [0x00152] in /usr/src/packages/BUILD/mono-2.11.2/mcs/class/System/System.Net.Sockets/Socket_2_1.cs:1266
at System.Net.WebConnection.Connect (System.Net.HttpWebRequest request) [0x0019b] in /usr/src/packages/BUILD/mono-2.11.2/mcs/class/System/System.Net/WebConnection.cs:197
Comment 1 Martin Baulig 2016-11-11 09:37:14 UTC
Closing ancient bugs, please reopen if you're still having this problem.