kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject [2/2] kudu git commit: Make tablet history GC itest less flaky
Date Fri, 16 Sep 2016 04:38:16 GMT
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 <dralves@apache.org>
Reviewed-by: Todd Lipcon <todd@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 <dralves@apache.org>
Authored: Thu Sep 15 18:14:45 2016 -0700
Committer: Todd Lipcon <todd@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";
 


Mime
View raw message