Repository: kudu Updated Branches: refs/heads/master 3bdc32054 -> 4fea7a3ca
linked_list-test: increase write timeouts to 60s This makes them consistent with the test's read timeouts, and will hopefully help deflake the test (the flaky test dashboard shows that all recent failures were due to writes timing out). I looped a RELEASE build of the test in slow mode 1000 times. Without the patch there were 104 failures, all of them write timeouts. With the patch there was only one failure (a write timeout). Change-Id: I239de15a59f7e9911e4a3fd4d809ec89d644f66e Reviewed-on: http://gerrit.cloudera.org:8080/11186 Reviewed-by: Alexey Serbin <[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/4fea7a3c Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/4fea7a3c Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/4fea7a3c Branch: refs/heads/master Commit: 4fea7a3cadeaedfb0c1dd53e4a7b3c135317328b Parents: 3bdc320 Author: Adar Dembo <[email protected]> Authored: Fri Aug 10 11:06:54 2018 -0700 Committer: Alexey Serbin <[email protected]> Committed: Fri Aug 10 22:05:19 2018 +0000 ---------------------------------------------------------------------- src/kudu/integration-tests/linked_list-test-util.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kudu/blob/4fea7a3c/src/kudu/integration-tests/linked_list-test-util.h ---------------------------------------------------------------------- diff --git a/src/kudu/integration-tests/linked_list-test-util.h b/src/kudu/integration-tests/linked_list-test-util.h index 252d640..0f22aab 100644 --- a/src/kudu/integration-tests/linked_list-test-util.h +++ b/src/kudu/integration-tests/linked_list-test-util.h @@ -283,7 +283,7 @@ class ScopedRowUpdater { private: void RowUpdaterThread() { client::sp::shared_ptr<client::KuduSession> session(table_->client()->NewSession()); - session->SetTimeoutMillis(15000); + session->SetTimeoutMillis(60000 /* 60 seconds */); CHECK_OK(session->SetFlushMode(client::KuduSession::AUTO_FLUSH_BACKGROUND)); int64_t next_key; @@ -483,7 +483,7 @@ Status LinkedListTester::LoadLinkedList( MonoTime deadline = start + run_for; client::sp::shared_ptr<client::KuduSession> session = client_->NewSession(); - session->SetTimeoutMillis(15000); + session->SetTimeoutMillis(60000 /* 60 seconds */); RETURN_NOT_OK_PREPEND(session->SetFlushMode(client::KuduSession::MANUAL_FLUSH), "Couldn't set flush mode");
