yuxiqian opened a new pull request, #3917:
URL: https://github.com/apache/flink-cdc/pull/3917

   The failing test cases were introduced in #3298 and #3876, but has not been 
exposed until we decided to run CI test cases in random timezones (#3650).
   
   MySQL docker container runs in UTC timezone by default, but 
`MySQLSourceITCase#testSourceMetrics` and `MySqlMultipleTablesRenamingITCase` 
didn't specify `serverTimeZone` option explicitly like other test cases. As a 
result, running test cases in non-UTC timezone will fail with the following 
error:
   
   
   > org.apache.flink.table.api.ValidationException: The MySQL server has a 
timezone offset (0 seconds ahead of UTC) which does not match the configured 
timezone GMT+XX:XX. Specify the right server-time-zone to avoid inconsistencies 
for time-related fields.
   


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to