jtstorck edited a comment on issue #3404: NIFI-5176 Java 11 Build Compatibilty
URL: https://github.com/apache/nifi/pull/3404#issuecomment-515516986
 
 
   > Manual build locally gave me this
   > 
   > ```
   > [INFO] -------------------------------------------------------
   > [INFO]  T E S T S
   > [INFO] -------------------------------------------------------
   > [INFO] Running org.apache.nifi.util.db.TestJdbcCommon
   > [ERROR] Tests run: 20, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 
1.924 s <<< FAILURE! - in org.apache.nifi.util.db.TestJdbcCommon
   > [ERROR] 
testConvertToAvroStreamForDateTimeAsLogicalType(org.apache.nifi.util.db.TestJdbcCommon)
  Time elapsed: 0.018 s  <<< FAILURE!
   > java.lang.AssertionError: expected:<2017-05-09> but was:<2017-05-08>
   >    at 
org.apache.nifi.util.db.TestJdbcCommon.lambda$testConvertToAvroStreamForDateTimeAsLogicalType$5(TestJdbcCommon.java:675)
   >    at 
org.apache.nifi.util.db.TestJdbcCommon.testConvertToAvroStreamForDateTime(TestJdbcCommon.java:741)
   >    at 
org.apache.nifi.util.db.TestJdbcCommon.testConvertToAvroStreamForDateTimeAsLogicalType(TestJdbcCommon.java:671)
   > ```
   
   To work around this error (which happens on master as well), add 
`-Dmaven.surefire.arguments=-Duser.timezone=UTC` (or append it to the 
`maven.surefire.arguments` property if you're already specifying that in your 
build) to the `mvn` command.  I'm working on another branch to fix timezone 
issues in TestJdbcCommon, and a PR should be up on Monday.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to