kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [kudu] 01/02: KUDU-2958 Fix the flaky TestReplicatedTabletWritesWithLeaderElection test
Date Fri, 27 Sep 2019 22:25:59 GMT
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 <triplesheep0419@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 <adar@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));
 }


Mime
View raw message