Bug 28687 - TimeZoneInfo test failures on WEST timezone
Summary: TimeZoneInfo test failures on WEST timezone
Status: RESOLVED FIXED
Alias: None
Product: Class Libraries
Classification: Mono
Component: mscorlib ()
Version: unspecified
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: marcos.henrich
URL:
Depends on:
Blocks:
 
Reported: 2015-04-02 11:21 UTC by marcos.henrich
Modified: 2015-04-03 05:32 UTC (History)
1 user (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 marcos.henrich 2015-04-02 11:21:49 UTC
The errors occured in April 2 2015 on a WEST timezone such as Lisbon.

Test Case Failures:
1) MonoTests.System.DateTimeTest.CultureIndependentTests :   bug #47720 on culture 127
  Expected: True
  But was:  False

at MonoTests.System.DateTimeTest.CultureIndependentTests () [0x0012b] in /Users/marcos/dev/mono2/mcs/class/corlib/Test/System/DateTimeTest.cs:1658
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) [0x00048] in /Users/marcos/dev/mono2/mcs/class/corlib/System.Reflection/MonoMethod.cs:293

2) MonoTests.System.DateTimeTest.ToFileTimeUtc :   Expected: 36000000000
  But was:  0

at MonoTests.System.DateTimeTest.ToFileTimeUtc () [0x000fa] in /Users/marcos/dev/mono2/mcs/class/corlib/Test/System/DateTimeTest.cs:1801
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) [0x00048] in /Users/marcos/dev/mono2/mcs/class/corlib/System.Reflection/MonoMethod.cs:293
Comment 1 marcos.henrich 2015-04-02 11:24:52 UTC
The pull request for this issue can be found in the link below.
https://github.com/mono/mono/pull/1678
Comment 2 marcos.henrich 2015-04-03 05:32:06 UTC
Fixed in mono master 4614473ae50c8b1217389335330d369befd766e0
https://github.com/mono/mono/commit/4614473ae50c8b1217389335330d369befd766e0

Fixed in mono mono-4.0.0-branch 7fc9ff987ad4e010189b7c62f2a626dd7f249da8
https://github.com/mono/mono/commit/7fc9ff987ad4e010189b7c62f2a626dd7f249da8