kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [3/3] kudu git commit: master-test: fix another source of test flakiness
Date Thu, 28 Sep 2017 04:49:35 GMT
master-test: fix another source of test flakiness

This timeout is behind one failure on the flaky test dashboard:

  /data/jenkins-workspace/kudu-workspace/src/kudu/master/master-test.cc:110: Failure
  Failed
  Bad status: Timed out: Maximum time exceeded waiting for master leadership: OK

Change-Id: I65c7eae0afb2774cbe756007ef6b8d7fa66f2cd9
Reviewed-on: http://gerrit.cloudera.org:8080/8160
Reviewed-by: Alexey Serbin <aserbin@cloudera.com>
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/54aef924
Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/54aef924
Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/54aef924

Branch: refs/heads/master
Commit: 54aef924a4fab41d1fc939a479894ecd561b8d43
Parents: 37571b1
Author: Adar Dembo <adar@cloudera.com>
Authored: Wed Sep 27 17:08:26 2017 -0700
Committer: Adar Dembo <adar@cloudera.com>
Committed: Thu Sep 28 04:49:09 2017 +0000

----------------------------------------------------------------------
 src/kudu/master/master-test.cc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kudu/blob/54aef924/src/kudu/master/master-test.cc
----------------------------------------------------------------------
diff --git a/src/kudu/master/master-test.cc b/src/kudu/master/master-test.cc
index 5684eb9..dc5da9a 100644
--- a/src/kudu/master/master-test.cc
+++ b/src/kudu/master/master-test.cc
@@ -107,7 +107,8 @@ class MasterTest : public KuduTest {
     mini_master_.reset(new MiniMaster(GetTestPath("Master"), HostPort("127.0.0.1", 0)));
     ASSERT_OK(mini_master_->Start());
     master_ = mini_master_->master();
-    ASSERT_OK(master_->WaitUntilCatalogManagerIsLeaderAndReadyForTests(MonoDelta::FromSeconds(5)));
+    ASSERT_OK(master_->WaitUntilCatalogManagerIsLeaderAndReadyForTests(
+        MonoDelta::FromSeconds(90)));
 
     // Create a client proxy to it.
     MessengerBuilder bld("Client");


Mime
View raw message