This is an automated email from the ASF dual-hosted git repository.

awong pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git

commit 70b69cc3c168e9f49a9aa62890fb3c095adeb78b
Author: Andrew Wong <[email protected]>
AuthorDate: Fri Feb 5 20:28:10 2021 -0800

    txn_commit-itest: reduce runtime of TestCommitWhileDeletingTxnStatusManager
    
    The test waits for a client timeout, which by default is 30 seconds.
    This reduces it to 10 seconds, which seems like a reasonable timeout for
    the minimal amount of DDL done in the rest of the test cases.
    
    Change-Id: I2f4f3868bf7d88b0fe34cc63d6139ec867eba58e
    Reviewed-on: http://gerrit.cloudera.org:8080/17033
    Reviewed-by: Hao Hao <[email protected]>
    Tested-by: Andrew Wong <[email protected]>
---
 src/kudu/integration-tests/txn_commit-itest.cc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/kudu/integration-tests/txn_commit-itest.cc 
b/src/kudu/integration-tests/txn_commit-itest.cc
index 23fb461..722c4b0 100644
--- a/src/kudu/integration-tests/txn_commit-itest.cc
+++ b/src/kudu/integration-tests/txn_commit-itest.cc
@@ -136,7 +136,9 @@ class TxnCommitITest : public KuduTest {
     TxnSystemClient::Create(cluster_->master_rpc_addrs(), &txn_client_);
     ASSERT_OK(txn_client_->OpenTxnStatusTable());
 
-    ASSERT_OK(cluster_->CreateClient(nullptr, &client_));
+    client::KuduClientBuilder builder;
+    builder.default_admin_operation_timeout(kTimeout);
+    ASSERT_OK(cluster_->CreateClient(&builder, &client_));
     string authn_creds;
     ASSERT_OK(client_->ExportAuthenticationCredentials(&authn_creds));
     client::AuthenticationCredentialsPB pb;

Reply via email to