Commit 7054e2b1 by Sarath Subramanian

ATLAS-3168: Fix intermittent UT failure: HiveHookIT and ImpalaLineageToolIT #2

parent f54cff2f
......@@ -1765,11 +1765,11 @@ public class HiveHookIT extends HiveITBase {
String newName = tableName();
String query = "create view " + viewName + " as select * from " + tableName;
runCommand(query);
runCommandWithDelay(query, 5000);
query = "alter view " + viewName + " rename to " + newName;
runCommand(query);
runCommandWithDelay(query, 5000);
assertTableIsNotRegistered(DEFAULT_DB, viewName);
......
......@@ -394,6 +394,8 @@ public class ImpalaLineageToolIT extends ImpalaLineageITBase {
String queryString = "insert into table " + dbName + "." + targetTableName + " (count, id) select count, id from " + dbName + "." + sourceTableName;
queryString = queryString.toLowerCase().trim();
String queryString2 = queryString;
Thread.sleep(5000);
AtlasEntity processEntity1 = validateProcess(processQFName, queryString);
List<AtlasObjectId> processExecutions = toAtlasObjectIdList(processEntity1.getRelationshipAttribute(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment