vagetablechicken opened a new issue #4121:
URL: https://github.com/apache/incubator-doris/issues/4121


   **Describe the bug**
   `TimestampedVersionTracker::get_stale_version_path_json_doc()` will return 
time string by using the local time.
   We just assume that the local time zone is utc+8, so the expect_result "last 
create time" is in utc+8.
   
https://github.com/apache/incubator-doris/blob/fbf7bd6a1de9caefa58f122e91f1387430df870c/be/test/olap/timestamped_version_tracker_test.cpp#L773-L778
   
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1. tzselect & export another TZ
   2. run ut `TestTimestampedVersionTracker`
   
   **Expected behavior**
   Maybe we should adjust the expect result for the local tz in machine, or 
improve`TimestampedVersionTracker::get_stale_version_path_json_doc()`.
   


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



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to