kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mpe...@apache.org
Subject [1/2] kudu git commit: ts_recovery-itest: bump timeouts
Date Fri, 02 Jun 2017 02:27:03 GMT
Repository: kudu
Updated Branches:
  refs/heads/master 5f8442ff6 -> 037f72b37


ts_recovery-itest: bump timeouts

In TSAN mode this test seems to be relatively flaky due to not crashing
within the expected amount of time. If writes are very slow (eg one per
second), then a crash on 5% of log commits may take a couple of minutes
before it happens in the worst case.

Change-Id: Icdf05c6a2a1616c9a653539af1c40962acad212f
Reviewed-on: http://gerrit.cloudera.org:8080/7050
Reviewed-by: Mike Percy <mpercy@apache.org>
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/6ea3acd2
Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/6ea3acd2
Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/6ea3acd2

Branch: refs/heads/master
Commit: 6ea3acd2ec248fa24e4e1e53e73166a01a60a4b9
Parents: 5f8442f
Author: Todd Lipcon <todd@cloudera.com>
Authored: Thu Jun 1 17:55:55 2017 -0700
Committer: Todd Lipcon <todd@apache.org>
Committed: Fri Jun 2 01:24:48 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/6ea3acd2/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 8913140..a145cd6 100644
--- a/src/kudu/integration-tests/ts_recovery-itest.cc
+++ b/src/kudu/integration-tests/ts_recovery-itest.cc
@@ -96,7 +96,7 @@ TEST_F(TsRecoveryITest, TestRestartWithOrphanedReplicates) {
   work.Start();
 
   // Wait for the process to crash due to the injected fault.
-  ASSERT_OK(cluster_->tablet_server(0)->WaitForInjectedCrash(MonoDelta::FromSeconds(30)));
+  ASSERT_OK(cluster_->tablet_server(0)->WaitForInjectedCrash(MonoDelta::FromSeconds(120)));
 
   // Stop the writers.
   work.StopAndJoin();
@@ -117,7 +117,7 @@ TEST_F(TsRecoveryITest, TestRestartWithOrphanedReplicates) {
   NO_FATALS(v.CheckRowCountWithRetries(work.table_name(),
                                        ClusterVerifier::AT_LEAST,
                                        work.rows_inserted(),
-                                       MonoDelta::FromSeconds(20)));
+                                       MonoDelta::FromSeconds(40)));
 }
 
 // Regression test for KUDU-1477: a pending commit message would cause


Mime
View raw message