Exceptionless icon indicating copy to clipboard operation
Exceptionless copied to clipboard

UpgradeToLatestVersionTest Failing

Open kiwipiet opened this issue 12 years ago • 5 comments

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.

kiwipiet avatar Apr 06 '14 20:04 kiwipiet

Same for the following line:

Assert.NotEqual(DateTime.MinValue, latest.ExceptionlessClientInfo.InstallDate);

kiwipiet avatar Apr 06 '14 20:04 kiwipiet

FYI, I am running this in New Zealand

kiwipiet avatar Apr 06 '14 20:04 kiwipiet

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.

niemyjski avatar Apr 08 '14 15:04 niemyjski

Were you able to figure this issue out?

niemyjski avatar Jun 06 '14 01:06 niemyjski

I'm going to close this, please reopen it if you are still seeing this behavior.

niemyjski avatar Jun 30 '14 12:06 niemyjski