Attila Jeges has posted comments on this change. ( http://gerrit.cloudera.org:8080/11106 )
Change subject: IMPALA-7385: Fix test-with-docker errors having to do with time zones. ...................................................................... Patch Set 1: (2 comments) http://gerrit.cloudera.org:8080/#/c/11106/1//COMMIT_MSG Commit Message: http://gerrit.cloudera.org:8080/#/c/11106/1//COMMIT_MSG@14 PS1, Line 14: /etc/timezone Shouldn't it be /etc/localtime ? http://gerrit.cloudera.org:8080/#/c/11106/1/docker/test-with-docker.py File docker/test-with-docker.py: http://gerrit.cloudera.org:8080/#/c/11106/1/docker/test-with-docker.py@504 PS1, Line 504: localtime_link_target = os.readlink("/etc/localtime") : assert "/usr/share/zoneinfo" in localtime_link_target This might be a little more robust: assert os.path.islink('/etc/localtime') localtime_link_target = os.path.realpath('/etc/localtime') assert localtime_link_target.startswith("/usr/share/zoneinfo/") -- To view, visit http://gerrit.cloudera.org:8080/11106 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: Ia9facfd9741806e7dbb868d8d06d9296bf86e52f Gerrit-Change-Number: 11106 Gerrit-PatchSet: 1 Gerrit-Owner: Philip Zeyliger <[email protected]> Gerrit-Reviewer: Attila Jeges <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Joe McDonnell <[email protected]> Gerrit-Reviewer: Laszlo Gaal <[email protected]> Gerrit-Comment-Date: Thu, 02 Aug 2018 17:39:46 +0000 Gerrit-HasComments: Yes
