David Ribeiro Alves has uploaded a new change for review. http://gerrit.cloudera.org:8080/5981
Change subject: Add a helper method to determine whether the OS is macOS to KuduTest ...................................................................... Add a helper method to determine whether the OS is macOS to KuduTest Some tests simply can't be run on macOs. A specific case are the tests that depend on obtaining the clock error. We were previously making the clock "lie" and return an error of 0. This might lead to incorrect results. This patch adds a helper that we can use to simply skip the tests on macOS without having to add ifdefs. Change-Id: I9e60ec4ddaf5aa21d1d8f6e848c211f75ded6ba0 --- M src/kudu/util/test_util.cc M src/kudu/util/test_util.h 2 files changed, 10 insertions(+), 0 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/81/5981/1 -- To view, visit http://gerrit.cloudera.org:8080/5981 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I9e60ec4ddaf5aa21d1d8f6e848c211f75ded6ba0 Gerrit-PatchSet: 1 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: David Ribeiro Alves <dral...@apache.org>