[ 
https://issues.apache.org/jira/browse/BEAM-8291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16936611#comment-16936611
 ] 

Gleb Kanterov commented on BEAM-8291:
-------------------------------------

[~bhulette] I'm not sure, it can be either issue in tests, on in the code. You 
can check https://errorprone.info/bugpattern/JavaTimeDefaultTimeZone, I think 
it covers the most of common pitfalls. 

> org.apache.beam.sdk.schemas.AvroSchemaTest sensitive to system timezone
> -----------------------------------------------------------------------
>
>                 Key: BEAM-8291
>                 URL: https://issues.apache.org/jira/browse/BEAM-8291
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-java-core
>            Reporter: Brian Hulette
>            Priority: Major
>
> I noticed that AvroSchemaTest.{testRowToSpecificRecord, testRowToPojo} are 
> failing on my local machine, but don't seem to fail on Jenkins. I looked into 
> it a bit and it seems to be because my default timezone is 
> America/Los_Angeles, but the ROW_FOR_POJO is initialized with an Instant at 
> the start of the day in UTC



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to