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

ASF subversion and git services commented on NIFI-6479:
-------------------------------------------------------

Commit b938fc20a3cf93547e3250f850db33eacb8ab083 in nifi's branch 
refs/heads/master from Jeff Storck
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=b938fc2 ]

NIFI-6479 Fixes timezone issues in TestJdbcCommon
Dates calculated for method testConvertToAvroStreamForDateTimeAsLogicalType now 
handle timezone correctly
Added debug logging of date/time calculations and expectations

This closes #3630.

Signed-off-by: Koji Kawamura <ijokaruma...@apache.org>


> Fix TestJdbcCommon timezone issues
> ----------------------------------
>
>                 Key: NIFI-6479
>                 URL: https://issues.apache.org/jira/browse/NIFI-6479
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: 1.9.2
>            Reporter: Jeff Storck
>            Assignee: Jeff Storck
>            Priority: Major
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> TestJdbcCommon.testConvertToAvroStreamForDateTimeAsLogicalType() is failing 
> with timezone issues.
> The workaround for this issue is to add 
> {code:java}
> -Dmaven.surefire.arguments=-Duser.timezone=UTC
> {code}
>  when running maven.  If {{-Dmaven.surefire.arguments}} is already specified 
> as part of the build, add {{-Duser.timezone=UTC}} to the value supplied to 
> that parameter.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to