Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[clock] fix HybridClockTest.TimeSourceAutoSelection
It was reported that HybridClockTest.TimeSourceAutoSelection scenario had failed with the following message: src/kudu/clock/hybrid_clock-test.cc:501: Failure Value of: s.ToString() Expected: has substring "Error reading clock. Clock considered unsynchronized" Actual: "Service unavailable: timed out waiting for clock synchronisation: wallclock is not synchronized: no valid NTP responses yet" (of type std::string) This patch addresses the issue, updating the pattern of the expected error message to account for the string output by the built-in NTP clock as well. Change-Id: Ie30ca383f50db1f62e140da5181e9a406367f7bd Reviewed-on: http://gerrit.cloudera.org:8080/20324 Tested-by: Alexey Serbin <alexey@apache.org> Reviewed-by: Mahesh Reddy <mreddy@cloudera.com> Reviewed-by: Yifan Zhang <chinazhangyifan@163.com> (cherry picked from commit ebf0a64) Reviewed-on: http://gerrit.cloudera.org:8080/20335 Tested-by: Yingchun Lai <laiyingchun@apache.org>
- Loading branch information