Exceptionless icon indicating copy to clipboard operation
Exceptionless copied to clipboard

ErrorPipelineTests Failing

Open kiwipiet opened this issue 12 years ago • 7 comments

Hi,

I'm getting the following error on the ErrorPipelineTests:

Exceptionless.Tests.Pipeline.ErrorPipelineTests.ProcessErrors(errorFilePath: "..\..\ErrorData\684.expected.json") [FAIL]

   Newtonsoft.Json.JsonReaderException : Could not convert string to DateTimeOffset: 0001-01-01T00:00:00. Path 'ExceptionlessClientInfo.InstallDate', line 7, position 41.

When I changed the InstallDate in the json files to:

"InstallDate": "0001-01-01T00:00:00-05:00"

all the tests passed. Is this a known issue or am I doing something wrong?

I can submit a pull request if required.

kiwipiet avatar Apr 06 '14 20:04 kiwipiet

The commit with my changes: https://github.com/kiwipiet/Exceptionless/commit/48a2a4fd46d008e179a047c10baf8d82d84a15d7

kiwipiet avatar Apr 06 '14 21:04 kiwipiet

This has been passing for us for quite some time (even with daylight savings time). Is there any chance you could dig deeper maybe into the serialization to figure out why it's failing for you?

niemyjski avatar Apr 08 '14 15:04 niemyjski

I'll have a look and let you know

kiwipiet avatar Apr 10 '14 00:04 kiwipiet

Were you able to figure out why this was occurring?

niemyjski avatar Apr 23 '14 12:04 niemyjski

Hi Blake, sorry mate been a bit busy and have not had time to look at this yet.

kiwipiet avatar May 13 '14 20:05 kiwipiet

Were you able to spend any time in figuring this 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