You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by se...@apache.org on 2015/09/28 21:10:40 UTC

[38/43] hive git commit: HIVE-11946: TestNotificationListener is flaky (Jimmy, reviewed by Sergio)

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/7fb8d68c
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/7fb8d68c
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/7fb8d68c

Branch: refs/heads/llap
Commit: 7fb8d68c76434b046d5963e5b176bd1e111cb805
Parents: ba21806
Author: Jimmy Xiang <jx...@cloudera.com>
Authored: Thu Sep 24 11:05:19 2015 -0700
Committer: Jimmy Xiang <jx...@cloudera.com>
Committed: Mon Sep 28 09:06:18 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/7fb8d68c/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 {