kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aw...@apache.org
Subject [3/4] kudu git commit: De-flake heavy-update-compaction-itest
Date Sat, 20 Jan 2018 01:18:48 GMT
De-flake heavy-update-compaction-itest

Validated with 100 runs on dist-test with 8 stress threads.

Change-Id: I2be0b12c010e991ee05ffbbb0c433c6ca1a8d8e7
Reviewed-on: http://gerrit.cloudera.org:8080/9067
Tested-by: Kudu Jenkins
Reviewed-by: David Ribeiro Alves <davidralves@gmail.com>


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

Branch: refs/heads/master
Commit: 57b148a019b09006a840e3cd6f3d0c2ac7fb5e7e
Parents: f8d1869
Author: Dan Burkert <danburkert@apache.org>
Authored: Thu Jan 18 14:22:21 2018 -0800
Committer: David Ribeiro Alves <davidralves@gmail.com>
Committed: Fri Jan 19 21:13:45 2018 +0000

----------------------------------------------------------------------
 src/kudu/integration-tests/heavy-update-compaction-itest.cc | 9 +++++++++
 1 file changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kudu/blob/57b148a0/src/kudu/integration-tests/heavy-update-compaction-itest.cc
----------------------------------------------------------------------
diff --git a/src/kudu/integration-tests/heavy-update-compaction-itest.cc b/src/kudu/integration-tests/heavy-update-compaction-itest.cc
index 8cd6e89..4d86682 100644
--- a/src/kudu/integration-tests/heavy-update-compaction-itest.cc
+++ b/src/kudu/integration-tests/heavy-update-compaction-itest.cc
@@ -91,6 +91,15 @@ class HeavyUpdateCompactionITest : public KuduTest {
 
   HeavyUpdateCompactionITest()
       : rand_(SeedRandom()) {
+
+#ifdef THREAD_SANITIZER
+    // The test is very slow with TSAN enabled due to the amount of data
+    // written and compacted, so turn down the volume a bit.
+    if (gflags::GetCommandLineFlagInfoOrDie("rows").is_default) {
+      FLAGS_rows = 20;
+    }
+#endif
+
     KuduSchemaBuilder b;
     b.AddColumn("key")->Type(KuduColumnSchema::INT64)->NotNull()->PrimaryKey();
 


Mime
View raw message