danny0405 commented on code in PR #7894:
URL: https://github.com/apache/hudi/pull/7894#discussion_r1106606144
##########
hudi-flink-datasource/hudi-flink/src/test/java/org/apache/hudi/sink/bulk/TestRowDataKeyGen.java:
##########
@@ -191,6 +192,8 @@ void testPrimaryKeylessWrite() {
@Test
void testRecoredKeyContainsTimestamp() {
+ TimeZone timeZone = TimeZone.getTimeZone("GMT+8");
+ TimeZone.setDefault(timeZone);
Configuration conf = TestConfigurations.getDefaultConf("path1");
Review Comment:
Don't think we should do this `TimeZone.setDefault(timeZone);`, the code
affects the entire JVM process.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]