Repository: kudu Updated Branches: refs/heads/master 8f8dfe174 -> 0efc1e26a
[delete_table-test] Disable log compression on some tests Some tests rely on log rolls but with compression enabled these might take a while. So long that it might trip test timeouts. I inspected the logs and the test failures this addresses don't have another visible cause. The log is silent for a full minute while writes are going on and then the wait fails on a timeout. This just disables compression in these cases. Change-Id: I8630cc73f431f5f2e4f567ae02733cdafe073666 Reviewed-on: http://gerrit.cloudera.org:8080/6200 Reviewed-by: Todd Lipcon <[email protected]> Tested-by: Kudu Jenkins Project: http://git-wip-us.apache.org/repos/asf/kudu/repo Commit: http://git-wip-us.apache.org/repos/asf/kudu/commit/82882f6a Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/82882f6a Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/82882f6a Branch: refs/heads/master Commit: 82882f6a3e5b853951266b83a8fa500e44bf726a Parents: 8f8dfe1 Author: David Alves <[email protected]> Authored: Tue Feb 28 22:35:01 2017 -0800 Committer: David Ribeiro Alves <[email protected]> Committed: Wed Mar 1 07:43:39 2017 +0000 ---------------------------------------------------------------------- src/kudu/integration-tests/delete_table-test.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kudu/blob/82882f6a/src/kudu/integration-tests/delete_table-test.cc ---------------------------------------------------------------------- diff --git a/src/kudu/integration-tests/delete_table-test.cc b/src/kudu/integration-tests/delete_table-test.cc index b4c27fc..0f1a6ff 100644 --- a/src/kudu/integration-tests/delete_table-test.cc +++ b/src/kudu/integration-tests/delete_table-test.cc @@ -576,7 +576,8 @@ TEST_F(DeleteTableTest, TestAutoTombstoneAfterCrashDuringTabletCopy) { TEST_F(DeleteTableTest, TestAutoTombstoneAfterTabletCopyRemoteFails) { vector<string> ts_flags = { "--enable_leader_failure_detection=false", // Make test deterministic. - "--log_segment_size_mb=1" // Faster log rolls. + "--log_segment_size_mb=1", // Faster log rolls. + "--log_compression_codec=NO_COMPRESSION" // Faster log rolls. }; vector<string> master_flags = { "--catalog_manager_wait_for_new_tablets_to_elect_leader=false", @@ -1178,6 +1179,7 @@ TEST_P(DeleteTableTombstonedParamTest, TestTabletTombstone) { flags.push_back("--log_segment_size_mb=1"); flags.push_back("--log_async_preallocate_segments=false"); flags.push_back("--log_min_segments_to_retain=3"); + flags.push_back("--log_compression_codec=NO_COMPRESSION"); NO_FATALS(StartCluster(flags)); const string fault_flag = GetParam(); LOG(INFO) << "Running with fault flag: " << fault_flag;
