You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by da...@apache.org on 2016/06/02 23:28:41 UTC

incubator-kudu git commit: increase table_locations-itest timeout

Repository: incubator-kudu
Updated Branches:
  refs/heads/master fc1619be9 -> 244c92ea3


increase table_locations-itest timeout

The table_locations-itest is frequently timing out while creating an 8 tablet, 3
replica table. The current timeout is 5 seconds, this commit raises it to 38.

Change-Id: I982ece11c93a2853e0d8ae29d66bb0ccdd0a1288
Reviewed-on: http://gerrit.cloudera.org:8080/3287
Tested-by: Kudu Jenkins
Reviewed-by: Adar Dembo <ad...@cloudera.com>


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

Branch: refs/heads/master
Commit: 244c92ea3301f9faf9e205d9cf2b811579826162
Parents: fc1619b
Author: Dan Burkert <da...@cloudera.com>
Authored: Thu Jun 2 13:16:25 2016 -0700
Committer: Dan Burkert <da...@cloudera.com>
Committed: Thu Jun 2 23:28:16 2016 +0000

----------------------------------------------------------------------
 src/kudu/integration-tests/table_locations-itest.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kudu/blob/244c92ea/src/kudu/integration-tests/table_locations-itest.cc
----------------------------------------------------------------------
diff --git a/src/kudu/integration-tests/table_locations-itest.cc b/src/kudu/integration-tests/table_locations-itest.cc
index 24b6cb9..6dfbe56 100644
--- a/src/kudu/integration-tests/table_locations-itest.cc
+++ b/src/kudu/integration-tests/table_locations-itest.cc
@@ -154,7 +154,7 @@ TEST_F(TableLocationsTest, TestGetTableLocations) {
 
       if (resp.has_error()) {
         ASSERT_EQ(MasterErrorPB::TABLET_NOT_RUNNING, resp.error().code());
-        SleepFor(MonoDelta::FromMilliseconds(i * 100));
+        SleepFor(MonoDelta::FromMilliseconds(i * i * 100));
       } else {
         ASSERT_EQ(8, resp.tablet_locations().size());
         break;