Andrew Wong has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/13887 )

Change subject: test: deflake ksck_remote-test 
TestChecksumSnapshotCurrentTimestamp
......................................................................

test: deflake ksck_remote-test TestChecksumSnapshotCurrentTimestamp

I saw a failure of the test with the following error:

W0720 00:44:31.890009  4561 tablet_service.cc:2357] Rejecting scan request for 
tablet 9542a9eebae84c1b993235a309c866d0: Uninitialized: safe time has not yet 
been initialized
/data0/jenkins/workspace/kudu-pre-commit-unittest-ASAN/src/kudu/tools/ksck_remote-test.cc:451:
 Failure
Failed
Bad status: Aborted: 1 errors were detected

This patch wraps the checksum with an ASSERT_EVENTUALLY, since the scan
should eventually pass once a leader is elected or writes succeed.

Change-Id: I51aeaebca599697e444b244ae15259dea4dbe949
Reviewed-on: http://gerrit.cloudera.org:8080/13887
Tested-by: Kudu Jenkins
Reviewed-by: Hao Hao <[email protected]>
---
M src/kudu/tools/ksck_remote-test.cc
1 file changed, 8 insertions(+), 4 deletions(-)

Approvals:
  Kudu Jenkins: Verified
  Hao Hao: Looks good to me, approved

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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I51aeaebca599697e444b244ae15259dea4dbe949
Gerrit-Change-Number: 13887
Gerrit-PatchSet: 3
Gerrit-Owner: Andrew Wong <[email protected]>
Gerrit-Reviewer: Andrew Wong <[email protected]>
Gerrit-Reviewer: Hao Hao <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Tidy Bot (241)

Reply via email to