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 2021/12/18 01:23:50 UTC

[kudu] branch master updated: [test] make one scenario of client-stress-test more stable

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 46891a0  [test] make one scenario of client-stress-test more stable
46891a0 is described below

commit 46891a0a36bc034bfbcf1f2205105e52fd658efa
Author: Alexey Serbin <al...@apache.org>
AuthorDate: Fri Dec 17 16:11:47 2021 -0800

    [test] make one scenario of client-stress-test more stable
    
    This patch makes the Perf scenario of the MetaCacheLookupStressTest
    suite more stable.  I verified this patch improves the situation
    by running the scenario with --stress_cpu_threads=16
    
      before 256 out of 256 failed:
        http://dist-test.cloudera.org/job?job_id=aserbin.1639782293.134254
    
      after    0 out of 256 failed:
        http://dist-test.cloudera.org/job?job_id=aserbin.1639785187.2806
    
    Change-Id: I0ebdc9f2241df6f42dad173ea0348614824388d3
    Reviewed-on: http://gerrit.cloudera.org:8080/18106
    Reviewed-by: Andrew Wong <aw...@cloudera.com>
    Tested-by: Alexey Serbin <as...@cloudera.com>
---
 src/kudu/integration-tests/client-stress-test.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/kudu/integration-tests/client-stress-test.cc b/src/kudu/integration-tests/client-stress-test.cc
index a9731f3..8ccab48 100644
--- a/src/kudu/integration-tests/client-stress-test.cc
+++ b/src/kudu/integration-tests/client-stress-test.cc
@@ -440,6 +440,7 @@ TEST_F(MetaCacheLookupStressTest, Perf) {
   // Create a session using manual flushing mode and set the buffer to be
   // large enough to accommodate all the generated operations at once.
   client::sp::shared_ptr<KuduSession> session(client_->NewSession());
+  session->SetTimeoutMillis(60000);
   ASSERT_OK(session->SetFlushMode(KuduSession::MANUAL_FLUSH));
   ASSERT_OK(session->SetMutationBufferSpace(64 * 1024 * 1024));