You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by ad...@apache.org on 2019/09/27 22:25:59 UTC
[kudu] 01/02: KUDU-2958 Fix the flaky
TestReplicatedTabletWritesWithLeaderElection test
This is an automated email from the ASF dual-hosted git repository.
adar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git
commit ddcc5599137a23b014ab3835d01a1450ffa6756e
Author: triplesheep <tr...@gmail.com>
AuthorDate: Thu Sep 26 14:19:12 2019 +0800
KUDU-2958 Fix the flaky TestReplicatedTabletWritesWithLeaderElection test
Change-Id: Ic00aac485a6535cd610902dae13513575abecde8
Reviewed-on: http://gerrit.cloudera.org:8080/14309
Reviewed-by: Adar Dembo <ad...@cloudera.com>
Tested-by: Kudu Jenkins
---
src/kudu/client/client-test.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/kudu/client/client-test.cc b/src/kudu/client/client-test.cc
index ff62b52..f44eaa6 100644
--- a/src/kudu/client/client-test.cc
+++ b/src/kudu/client/client-test.cc
@@ -4303,7 +4303,7 @@ TEST_F(ClientTest, TestReplicatedTabletWritesWithLeaderElection) {
LOG(INFO) << "Counting rows...";
ASSERT_EQ(2 * kNumRowsToWrite, CountRowsFromClient(table.get(),
- KuduClient::FIRST_REPLICA,
+ KuduClient::LEADER_ONLY,
KuduScanner::READ_LATEST,
kNoBound, kNoBound));
}