hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jxi...@apache.org
Subject hive git commit: HIVE-11946: TestNotificationListener is flaky (Jimmy, reviewed by Sergio)
Date Mon, 28 Sep 2015 17:03:24 GMT
Repository: hive
Updated Branches:
  refs/heads/branch-1 00bee1313 -> 67e33f3e9


HIVE-11946: TestNotificationListener is flaky (Jimmy, reviewed by Sergio)


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

Branch: refs/heads/branch-1
Commit: 67e33f3e9511bd2247c22ed4b1c2790df7761cef
Parents: 00bee13
Author: Jimmy Xiang <jxiang@cloudera.com>
Authored: Thu Sep 24 11:05:19 2015 -0700
Committer: Jimmy Xiang <jxiang@cloudera.com>
Committed: Mon Sep 28 09:58:44 2015 -0700

----------------------------------------------------------------------
 .../apache/hive/hcatalog/listener/TestNotificationListener.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/67e33f3e/hcatalog/server-extensions/src/test/java/org/apache/hive/hcatalog/listener/TestNotificationListener.java
----------------------------------------------------------------------
diff --git a/hcatalog/server-extensions/src/test/java/org/apache/hive/hcatalog/listener/TestNotificationListener.java
b/hcatalog/server-extensions/src/test/java/org/apache/hive/hcatalog/listener/TestNotificationListener.java
index 827031a..b667454 100644
--- a/hcatalog/server-extensions/src/test/java/org/apache/hive/hcatalog/listener/TestNotificationListener.java
+++ b/hcatalog/server-extensions/src/test/java/org/apache/hive/hcatalog/listener/TestNotificationListener.java
@@ -19,11 +19,11 @@
 
 package org.apache.hive.hcatalog.listener;
 
-import java.util.ArrayList;
 import java.util.Arrays;
 import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
+import java.util.Vector;
 
 import javax.jms.Connection;
 import javax.jms.ConnectionFactory;
@@ -64,7 +64,7 @@ import org.junit.Test;
 
 public class TestNotificationListener extends HCatBaseTest implements MessageListener {
 
-  private List<String> actualMessages = new ArrayList<String>();
+  private List<String> actualMessages = new Vector<String>();
 
   @Before
   public void setUp() throws Exception {


Mime
View raw message