kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ale...@apache.org
Subject [1/2] kudu git commit: dense_node-itest: add extra log output
Date Wed, 23 Aug 2017 16:14:56 GMT
Repository: kudu
Updated Branches:
  refs/heads/master e86939654 -> 65b7bf970


dense_node-itest: add extra log output

For yet-unexplained reasons, this itest still sometimes skips outputting
the expected 'Time spent bootstrapping tablets' log statement. This
commit simply adds a few extra log messages to help diagnose this next
time it occurs.

Change-Id: Ic967558e34a8db673a518c37afdb68d86262a443
Reviewed-on: http://gerrit.cloudera.org:8080/7775
Reviewed-by: Adar Dembo <adar@cloudera.com>
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/a6443b2c
Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/a6443b2c
Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/a6443b2c

Branch: refs/heads/master
Commit: a6443b2cbfa498198fb5a237b5164274f875e8f8
Parents: e869396
Author: Todd Lipcon <todd@apache.org>
Authored: Tue Aug 22 18:34:51 2017 -0700
Committer: Todd Lipcon <todd@apache.org>
Committed: Wed Aug 23 02:16:25 2017 +0000

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


http://git-wip-us.apache.org/repos/asf/kudu/blob/a6443b2c/src/kudu/integration-tests/dense_node-itest.cc
----------------------------------------------------------------------
diff --git a/src/kudu/integration-tests/dense_node-itest.cc b/src/kudu/integration-tests/dense_node-itest.cc
index 997e732..5537288 100644
--- a/src/kudu/integration-tests/dense_node-itest.cc
+++ b/src/kudu/integration-tests/dense_node-itest.cc
@@ -218,10 +218,13 @@ TEST_F(DenseNodeTest, RunTest) {
   }
   if (FLAGS_measure_startup_wait_for_bootstrap) {
     LOG_TIMING(INFO, "bootstrapping tablets") {
+      LOG(INFO) << "waiting for tablets running";
       cluster_->WaitForTabletsRunning(cluster_->tablet_server(0),
                                       FLAGS_num_tablets,
                                       MonoDelta::FromSeconds(3600));
     }
+  } else {
+    LOG(INFO) << "not waiting for bootstrapping tablets (flag disabled)";
   }
   cluster_->Shutdown();
 


Mime
View raw message