You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by to...@apache.org on 2016/09/16 04:38:16 UTC

[2/2] kudu git commit: Make tablet history GC itest less flaky

Make tablet history GC itest less flaky

This test is failing often due to timeout. In slow mode, the test tries
to run 2000 "rounds" but often only gets to ~1500 or so. This reduces
the number of rounds in slow test mode by half.

Change-Id: I140f011cc3ad1c999585f1198773676d79bd092b
Reviewed-on: http://gerrit.cloudera.org:8080/4433
Tested-by: David Ribeiro Alves <dr...@apache.org>
Reviewed-by: Todd Lipcon <to...@apache.org>


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

Branch: refs/heads/master
Commit: c6994d19ccd7dd89127b102ac3c9d3e30a83df5c
Parents: a98f095
Author: David Alves <dr...@apache.org>
Authored: Thu Sep 15 18:14:45 2016 -0700
Committer: Todd Lipcon <to...@apache.org>
Committed: Fri Sep 16 03:07:44 2016 +0000

----------------------------------------------------------------------
 src/kudu/integration-tests/tablet_history_gc-itest.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kudu/blob/c6994d19/src/kudu/integration-tests/tablet_history_gc-itest.cc
----------------------------------------------------------------------
diff --git a/src/kudu/integration-tests/tablet_history_gc-itest.cc b/src/kudu/integration-tests/tablet_history_gc-itest.cc
index 7420d3a..e9503c6 100644
--- a/src/kudu/integration-tests/tablet_history_gc-itest.cc
+++ b/src/kudu/integration-tests/tablet_history_gc-itest.cc
@@ -340,7 +340,7 @@ class ReupdateHooks : public Tablet::FlushCompactCommonHooks {
 // Randomized test that attempts to test many arbitrary history GC use cases.
 TEST_F(RandomizedTabletHistoryGcITest, TestRandomHistoryGCWorkload) {
   OverrideFlagForSlowTests("test_num_rounds",
-                           Substitute("$0", FLAGS_test_num_rounds * 10));
+                           Substitute("$0", FLAGS_test_num_rounds * 5));
 
   LOG(INFO) << "Running " << FLAGS_test_num_rounds << " rounds";