Alexey Serbin has uploaded this change for review. (
http://gerrit.cloudera.org:8080/14379
Change subject: WIP [tests] use system_unsync time source for tests by default
......................................................................
WIP [tests] use system_unsync time source for tests by default
This patch switches all KuduTest-derived tests to use 'system_unsync'
time source by default.
There is no need to require NTP-synchronized clock for a generic test
derived from KuduTest. All the participating Kudu masters and tablet
servers are run at the same node, and using the same local clock for
each component makes the synchronisation of clocks unnecessary.
WIP:
* Collect some feedback on this approach.
* Add dedicated test scenarios to cover the specific functionality
attributed to the use of the 'system' (system clock synchronized
with NTP) and the 'builtin' (built-in NTP client) time sources,
correspondingly.
Change-Id: If7edbf884afaa19121aa92a4ce93c8a7eeb2d937
---
M src/kudu/client/client_examples-test.sh
M src/kudu/clock/hybrid_clock-test.cc
M src/kudu/clock/hybrid_clock.cc
M src/kudu/mini-cluster/external_mini_cluster.cc
M src/kudu/mini-cluster/external_mini_cluster.h
M src/kudu/util/CMakeLists.txt
M src/kudu/util/test_util.cc
7 files changed, 42 insertions(+), 14 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/79/14379/1
--
To view, visit http://gerrit.cloudera.org:8080/14379
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: If7edbf884afaa19121aa92a4ce93c8a7eeb2d937
Gerrit-Change-Number: 14379
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <[email protected]>