kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ale...@apache.org
Subject [2/2] kudu git commit: [test-workload] setter for admin operation timeout
Date Mon, 15 May 2017 22:47:54 GMT
[test-workload] setter for admin operation timeout

Added a setter for client's default admin operation timeout.  It sets
corresponding property for the aggregated client builder.

Change-Id: I3b972c3edcc01b1a3c074958a5f2f0b3f64f608c
Reviewed-on: http://gerrit.cloudera.org:8080/6887
Tested-by: Kudu Jenkins
Reviewed-by: Dan Burkert <danburkert@apache.org>


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

Branch: refs/heads/master
Commit: 0230ca58a4fa4351e0067995adc136a1d79c7147
Parents: af9bcf2
Author: Alexey Serbin <aserbin@cloudera.com>
Authored: Sun May 14 20:13:46 2017 -0700
Committer: Alexey Serbin <aserbin@cloudera.com>
Committed: Mon May 15 22:47:15 2017 +0000

----------------------------------------------------------------------
 src/kudu/integration-tests/test_workload.h | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kudu/blob/0230ca58/src/kudu/integration-tests/test_workload.h
----------------------------------------------------------------------
diff --git a/src/kudu/integration-tests/test_workload.h b/src/kudu/integration-tests/test_workload.h
index f48996e..a500165 100644
--- a/src/kudu/integration-tests/test_workload.h
+++ b/src/kudu/integration-tests/test_workload.h
@@ -73,6 +73,10 @@ class TestWorkload {
     client_builder_.default_rpc_timeout(MonoDelta::FromMilliseconds(t));
   }
 
+  void set_client_default_admin_operation_timeout_millis(int t) {
+    client_builder_.default_admin_operation_timeout(MonoDelta::FromMilliseconds(t));
+  }
+
   void set_read_timeout_millis(int t) {
     read_timeout_millis_ = t;
   }


Mime
View raw message