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:15 UTC
[1/2] kudu git commit: Fix flakyness in exactly_once_writes-itest
Repository: kudu
Updated Branches:
refs/heads/master 1610b4ac4 -> c6994d19c
Fix flakyness in exactly_once_writes-itest
This reduces the number of batches to be written so that the test doesn't
timeout on jenkins anymore.
Change-Id: Id66efd437d7c7667db937dc9454ecf919b731977
Reviewed-on: http://gerrit.cloudera.org:8080/4434
Tested-by: Kudu Jenkins
Reviewed-by: Alexey Serbin <as...@cloudera.com>
Project: http://git-wip-us.apache.org/repos/asf/kudu/repo
Commit: http://git-wip-us.apache.org/repos/asf/kudu/commit/a98f0958
Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/a98f0958
Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/a98f0958
Branch: refs/heads/master
Commit: a98f095810621e6941984cb7bdb9912728cc60ff
Parents: 1610b4a
Author: David Alves <dr...@apache.org>
Authored: Thu Sep 15 18:35:00 2016 -0700
Committer: David Ribeiro Alves <dr...@apache.org>
Committed: Fri Sep 16 03:02:56 2016 +0000
----------------------------------------------------------------------
src/kudu/integration-tests/exactly_once_writes-itest.cc | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/kudu/blob/a98f0958/src/kudu/integration-tests/exactly_once_writes-itest.cc
----------------------------------------------------------------------
diff --git a/src/kudu/integration-tests/exactly_once_writes-itest.cc b/src/kudu/integration-tests/exactly_once_writes-itest.cc
index c2eed00..8841267 100644
--- a/src/kudu/integration-tests/exactly_once_writes-itest.cc
+++ b/src/kudu/integration-tests/exactly_once_writes-itest.cc
@@ -257,9 +257,9 @@ TEST_F(ExactlyOnceSemanticsITest, TestWritesWithExactlyOnceSemanticsWithCrashyNo
// log area.
ts_flags.push_back("--log_preallocate_segments=false");
- int num_batches = 50;
+ int num_batches = 10;
if (AllowSlowTests()) {
- num_batches = 500;
+ num_batches = 100;
FLAGS_num_tablet_servers = 7;
FLAGS_num_replicas = 7;
}
@@ -285,9 +285,9 @@ TEST_F(ExactlyOnceSemanticsITest, TestWritesWithExactlyOnceSemanticsWithChurnyEl
ts_flags.push_back("--leader_failure_monitor_check_stddev_ms=1");
ts_flags.push_back("--never_fsync");
- int num_batches = 1000;
+ int num_batches = 200;
if (AllowSlowTests()) {
- num_batches = 5000;
+ num_batches = 1000;
// Only set this to 5 replicas, for slow tests, otherwise we overwhelm the jenkins slaves,
// elections run forever and the test doesn't complete.
FLAGS_num_tablet_servers = 5;
[2/2] kudu git commit: Make tablet history GC itest less flaky
Posted by to...@apache.org.
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";