You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by al...@apache.org on 2017/06/23 23:09:21 UTC

kudu git commit: [raft_consensus-itest] disable TestHammerOneRow for a while

Repository: kudu
Updated Branches:
  refs/heads/master 5121df65e -> 44bd94268


[raft_consensus-itest] disable TestHammerOneRow for a while

Changelist c25d127ad3512ed9c9a2565681ffce9de639639f exposed inconsistent
verification of SetFlag() results in the EnableLogLatency() function.

This patch contains the fix from Adar for that inconsistency
and it also disables the TestHammerOneRow scenario since it started
failing as a result of the changelist mentioned above.

The follow-up patch will re-enable the TestHammerOneRow scenario
after investigating the underlying problem.

Change-Id: I9759f7e77eba3ed894e8f9a729f729595635c334
Reviewed-on: http://gerrit.cloudera.org:8080/7285
Reviewed-by: Adar Dembo <ad...@cloudera.com>
Reviewed-by: Todd Lipcon <to...@apache.org>
Tested-by: Kudu Jenkins


Project: http://git-wip-us.apache.org/repos/asf/kudu/repo
Commit: http://git-wip-us.apache.org/repos/asf/kudu/commit/44bd9426
Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/44bd9426
Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/44bd9426

Branch: refs/heads/master
Commit: 44bd94268c7beb08dda88bad182e177439a55c98
Parents: 5121df6
Author: Alexey Serbin <as...@cloudera.com>
Authored: Fri Jun 23 15:26:48 2017 -0700
Committer: Alexey Serbin <as...@cloudera.com>
Committed: Fri Jun 23 23:08:31 2017 +0000

----------------------------------------------------------------------
 src/kudu/integration-tests/raft_consensus-itest.cc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kudu/blob/44bd9426/src/kudu/integration-tests/raft_consensus-itest.cc
----------------------------------------------------------------------
diff --git a/src/kudu/integration-tests/raft_consensus-itest.cc b/src/kudu/integration-tests/raft_consensus-itest.cc
index 4f7d543..c0f203c 100644
--- a/src/kudu/integration-tests/raft_consensus-itest.cc
+++ b/src/kudu/integration-tests/raft_consensus-itest.cc
@@ -2483,6 +2483,8 @@ static void EnableLogLatency(server::GenericServiceProxy* proxy) {
     req.set_flag(e.first);
     req.set_value(e.second);
     ASSERT_OK(proxy->SetFlag(req, &resp, &rpc));
+    SCOPED_TRACE(SecureDebugString(resp));
+    ASSERT_EQ(SetFlagResponsePB::SUCCESS, resp.result());
   }
 }
 
@@ -2699,7 +2701,7 @@ TEST_F(RaftConsensusITest, TestSlowFollower) {
 
 // Run a special workload that constantly updates a single row on a cluster
 // where every replica is writing to its WAL slowly.
-TEST_F(RaftConsensusITest, TestHammerOneRow) {
+TEST_F(RaftConsensusITest, DISABLED_TestHammerOneRow) {
   if (!AllowSlowTests()) return;
   BuildAndStart(vector<string>());