kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject [1/2] kudu git commit: Fix flakyness in exactly_once_writes-itest
Date Fri, 16 Sep 2016 04:38:15 GMT
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 <aserbin@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 <dralves@apache.org>
Authored: Thu Sep 15 18:35:00 2016 -0700
Committer: David Ribeiro Alves <dralves@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;


Mime
View raw message