You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "Qianyi951015 (via GitHub)" <gi...@apache.org> on 2023/03/12 03:41:28 UTC

[GitHub] [shardingsphere] Qianyi951015 opened a new issue, #24557: Time zone changes lead to test failure

Qianyi951015 opened a new issue, #24557:
URL: https://github.com/apache/shardingsphere/issues/24557

   ## Bug Report
   
   ### Which version of ShardingSphere did you use?
   master 802f148
   
   ### Expected behavior
   build success with run `./mvnw clean install -Djacoco.skip=true -Drat.skip=true -Dmaven.javadoc.skip=true`
   ### Actual behavior
   build failure
   ### Reason analyze (If you can)
   Since I moved to New Zealand from China,  when I run `./mvnw clean install -Djacoco.skip=true -Drat.skip=true -Dmaven.javadoc.skip=true` 
   build failure, because of the test case `assertWriteWithTwelveBytes` in `MySQLTimeBinaryProtocolValueTest` run fail. (figure shown below)
   <img width="1673" alt="image" src="https://user-images.githubusercontent.com/57847965/224522803-a5ce5ff6-8a71-47b4-aedf-456c9bdbd89c.png">
   But after I change my Time Zone to China, the test won't fail and it will build successfully.
   ### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
   If you are in China, you can try to change you Time Zone to Other Country, and run `./mvnw clean install -Djacoco.skip=true -Drat.skip=true -Dmaven.javadoc.skip=true` or run `MySQLTimeBinaryProtocolValueTest` the problem may be reproduce.
   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org.apache.org

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


[GitHub] [shardingsphere] zhaojinchao95 closed issue #24557: Time zone changes lead to test failure

Posted by "zhaojinchao95 (via GitHub)" <gi...@apache.org>.
zhaojinchao95 closed issue #24557: Time zone changes lead to test failure
URL: https://github.com/apache/shardingsphere/issues/24557


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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