You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@atlas.apache.org by sa...@apache.org on 2019/04/19 01:31:13 UTC
[atlas] branch master updated: ATLAS-3150: Fix flaky integrations
test in HiveHookIT - testAlterTableLocation()
This is an automated email from the ASF dual-hosted git repository.
sarath pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/atlas.git
The following commit(s) were added to refs/heads/master by this push:
new f234ed1 ATLAS-3150: Fix flaky integrations test in HiveHookIT - testAlterTableLocation()
f234ed1 is described below
commit f234ed1d4958c247dfeb99c996bbbea746ad83b1
Author: Sarath Subramanian <ss...@hortonworks.com>
AuthorDate: Thu Apr 18 18:30:59 2019 -0700
ATLAS-3150: Fix flaky integrations test in HiveHookIT - testAlterTableLocation()
---
addons/hive-bridge/src/test/java/org/apache/atlas/hive/HiveITBase.java | 2 +-
.../src/test/java/org/apache/atlas/hive/hook/HiveHookIT.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/addons/hive-bridge/src/test/java/org/apache/atlas/hive/HiveITBase.java b/addons/hive-bridge/src/test/java/org/apache/atlas/hive/HiveITBase.java
index 002b908..c8c53c4 100644
--- a/addons/hive-bridge/src/test/java/org/apache/atlas/hive/HiveITBase.java
+++ b/addons/hive-bridge/src/test/java/org/apache/atlas/hive/HiveITBase.java
@@ -82,7 +82,7 @@ public class HiveITBase {
protected static final String DGI_URL = "http://localhost:21000/";
protected static final String CLUSTER_NAME = "primary";
protected static final String PART_FILE = "2015-01-01";
- protected static final String INPUTS = "inputs";;
+ protected static final String INPUTS = "inputs";
protected static final String OUTPUTS = "outputs";
diff --git a/addons/hive-bridge/src/test/java/org/apache/atlas/hive/hook/HiveHookIT.java b/addons/hive-bridge/src/test/java/org/apache/atlas/hive/hook/HiveHookIT.java
index 142e355..677043a 100755
--- a/addons/hive-bridge/src/test/java/org/apache/atlas/hive/hook/HiveHookIT.java
+++ b/addons/hive-bridge/src/test/java/org/apache/atlas/hive/hook/HiveHookIT.java
@@ -1388,7 +1388,7 @@ public class HiveHookIT extends HiveITBase {
String testPath = createTestDFSPath("testBaseDir");
String query = "alter table " + tableName + " set location '" + testPath + "'";
- runCommand(query);
+ runCommandWithDelay(query, 5000);
assertTableIsRegistered(DEFAULT_DB, tableName, new AssertPredicate() {
@Override