UpgradeToLatestVersionTest Failing
Hi, this test is failing with an ArgumentOutOfRangeException on the following line:
Assert.NotEqual(DateTime.MinValue, latest.OccurrenceDate);
The error is: Additional information: The UTC time represented when the offset is applied must be between year 0 and 10,000.
Then I change it to:
Assert.NotEqual(DateTime.MinValue, latest.OccurrenceDate.UtcDateTime);
It works.
Same for the following line:
Assert.NotEqual(DateTime.MinValue, latest.ExceptionlessClientInfo.InstallDate);
FYI, I am running this in New Zealand
That doesn't make any sense, it must be related to the other issue you are running in with some type of serialization issue. If you look at line 215 and 218 it's setting the OccurrenceDate and InstallDate to DateTime.Now. Is there any chance you could play around with this and see what the root cause is.
Were you able to figure this issue out?
I'm going to close this, please reopen it if you are still seeing this behavior.