You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by to...@apache.org on 2017/03/03 01:25:41 UTC

[6/7] kudu git commit: [ts_recovery-itest] Reduce the number of rows written in TestChangeMaxCellSize

[ts_recovery-itest] Reduce the number of rows written in TestChangeMaxCellSize

This test is failing frequently with a timeout on the scan
(set to 60 secs) because bootstrap of the tablet may take a
long time, e.g:

I0301 23:49:59.183423 25364 ts_tablet_manager.cc:728] T bc65854351c541aa858c6483cf78a51b P b7d33205ce694ead90de42aad89ec157: Time spent bootstrapping tablet: real 61.689s

The fix is to reduce the amount of rows written so that
boostrap may run faster.

Change-Id: I43a8eec7dd7fd07d880a294a96f189e712e12ebd
Reviewed-on: http://gerrit.cloudera.org:8080/6227
Tested-by: Kudu Jenkins
Reviewed-by: Todd Lipcon <to...@apache.org>


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

Branch: refs/heads/master
Commit: 8db89686fcbacbd6df453a8ac465fa24781af6ef
Parents: 9cb5b24
Author: David Alves <dr...@apache.org>
Authored: Thu Mar 2 12:37:37 2017 -0800
Committer: Todd Lipcon <to...@apache.org>
Committed: Fri Mar 3 00:11:44 2017 +0000

----------------------------------------------------------------------
 src/kudu/integration-tests/ts_recovery-itest.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kudu/blob/8db89686/src/kudu/integration-tests/ts_recovery-itest.cc
----------------------------------------------------------------------
diff --git a/src/kudu/integration-tests/ts_recovery-itest.cc b/src/kudu/integration-tests/ts_recovery-itest.cc
index 6ac9755..4c430c9 100644
--- a/src/kudu/integration-tests/ts_recovery-itest.cc
+++ b/src/kudu/integration-tests/ts_recovery-itest.cc
@@ -242,8 +242,8 @@ TEST_F(TsRecoveryITest, TestChangeMaxCellSize) {
   work.set_payload_bytes(10000);
   work.Setup();
   work.Start();
-  while (work.rows_inserted() < 100) {
-    SleepFor(MonoDelta::FromMilliseconds(100));
+  while (work.rows_inserted() < 50) {
+    SleepFor(MonoDelta::FromMilliseconds(50));
   }
   work.StopAndJoin();