You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by we...@apache.org on 2017/01/23 21:53:04 UTC

hive git commit: HIVE-15589 : Lengthen HIVE_TXN_TIMEOUT in TestDbTxnManager.setup to avoid unnecessary test failure (Wei Zheng)

Repository: hive
Updated Branches:
  refs/heads/master c7ac34056 -> 4a42bec6b


HIVE-15589 : Lengthen HIVE_TXN_TIMEOUT in TestDbTxnManager.setup to avoid unnecessary test failure (Wei Zheng)


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/4a42bec6
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/4a42bec6
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/4a42bec6

Branch: refs/heads/master
Commit: 4a42bec6ba4cb8257dec517bc7c45b6a8f5a9e67
Parents: c7ac340
Author: Wei Zheng <we...@apache.org>
Authored: Mon Jan 23 13:53:04 2017 -0800
Committer: Wei Zheng <we...@apache.org>
Committed: Mon Jan 23 13:53:04 2017 -0800

----------------------------------------------------------------------
 .../test/org/apache/hadoop/hive/ql/lockmgr/TestDbTxnManager.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/4a42bec6/ql/src/test/org/apache/hadoop/hive/ql/lockmgr/TestDbTxnManager.java
----------------------------------------------------------------------
diff --git a/ql/src/test/org/apache/hadoop/hive/ql/lockmgr/TestDbTxnManager.java b/ql/src/test/org/apache/hadoop/hive/ql/lockmgr/TestDbTxnManager.java
index 3f99571..8f26099 100644
--- a/ql/src/test/org/apache/hadoop/hive/ql/lockmgr/TestDbTxnManager.java
+++ b/ql/src/test/org/apache/hadoop/hive/ql/lockmgr/TestDbTxnManager.java
@@ -474,7 +474,7 @@ public class TestDbTxnManager {
     readEntities = new HashSet<ReadEntity>();
     writeEntities = new HashSet<WriteEntity>();
     conf.setTimeVar(HiveConf.ConfVars.HIVE_TIMEDOUT_TXN_REAPER_START, 0, TimeUnit.SECONDS);
-    conf.setTimeVar(HiveConf.ConfVars.HIVE_TXN_TIMEOUT, 1, TimeUnit.SECONDS);
+    conf.setTimeVar(HiveConf.ConfVars.HIVE_TXN_TIMEOUT, 10, TimeUnit.SECONDS);
     houseKeeperService = new AcidHouseKeeperService();
   }