Alexey Serbin has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/20324 )

Change subject: [clock] fix HybridClockTest.TimeSourceAutoSelection
......................................................................

[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 <[email protected]>
Reviewed-by: Mahesh Reddy <[email protected]>
Reviewed-by: Yifan Zhang <[email protected]>
---
M src/kudu/clock/hybrid_clock-test.cc
1 file changed, 9 insertions(+), 2 deletions(-)

Approvals:
  Alexey Serbin: Verified
  Mahesh Reddy: Looks good to me, but someone else must approve
  Yifan Zhang: Looks good to me, approved

--
To view, visit http://gerrit.cloudera.org:8080/20324
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ie30ca383f50db1f62e140da5181e9a406367f7bd
Gerrit-Change-Number: 20324
Gerrit-PatchSet: 2
Gerrit-Owner: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Abhishek Chennaka <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Mahesh Reddy <[email protected]>
Gerrit-Reviewer: Yifan Zhang <[email protected]>
Gerrit-Reviewer: Yingchun Lai <[email protected]>

Reply via email to