Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
atlas
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dataplatform
atlas
Commits
7054e2b1
Commit
7054e2b1
authored
Jul 28, 2019
by
Sarath Subramanian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-3168: Fix intermittent UT failure: HiveHookIT and ImpalaLineageToolIT #2
parent
f54cff2f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
HiveHookIT.java
.../src/test/java/org/apache/atlas/hive/hook/HiveHookIT.java
+2
-2
ImpalaLineageToolIT.java
...est/java/org/apache/atlas/impala/ImpalaLineageToolIT.java
+2
-0
No files found.
addons/hive-bridge/src/test/java/org/apache/atlas/hive/hook/HiveHookIT.java
View file @
7054e2b1
...
@@ -1765,11 +1765,11 @@ public class HiveHookIT extends HiveITBase {
...
@@ -1765,11 +1765,11 @@ public class HiveHookIT extends HiveITBase {
String
newName
=
tableName
();
String
newName
=
tableName
();
String
query
=
"create view "
+
viewName
+
" as select * from "
+
tableName
;
String
query
=
"create view "
+
viewName
+
" as select * from "
+
tableName
;
runCommand
(
query
);
runCommand
WithDelay
(
query
,
5000
);
query
=
"alter view "
+
viewName
+
" rename to "
+
newName
;
query
=
"alter view "
+
viewName
+
" rename to "
+
newName
;
runCommand
(
query
);
runCommand
WithDelay
(
query
,
5000
);
assertTableIsNotRegistered
(
DEFAULT_DB
,
viewName
);
assertTableIsNotRegistered
(
DEFAULT_DB
,
viewName
);
...
...
addons/impala-bridge/src/test/java/org/apache/atlas/impala/ImpalaLineageToolIT.java
View file @
7054e2b1
...
@@ -394,6 +394,8 @@ public class ImpalaLineageToolIT extends ImpalaLineageITBase {
...
@@ -394,6 +394,8 @@ public class ImpalaLineageToolIT extends ImpalaLineageITBase {
String
queryString
=
"insert into table "
+
dbName
+
"."
+
targetTableName
+
" (count, id) select count, id from "
+
dbName
+
"."
+
sourceTableName
;
String
queryString
=
"insert into table "
+
dbName
+
"."
+
targetTableName
+
" (count, id) select count, id from "
+
dbName
+
"."
+
sourceTableName
;
queryString
=
queryString
.
toLowerCase
().
trim
();
queryString
=
queryString
.
toLowerCase
().
trim
();
String
queryString2
=
queryString
;
String
queryString2
=
queryString
;
Thread
.
sleep
(
5000
);
AtlasEntity
processEntity1
=
validateProcess
(
processQFName
,
queryString
);
AtlasEntity
processEntity1
=
validateProcess
(
processQFName
,
queryString
);
List
<
AtlasObjectId
>
processExecutions
=
toAtlasObjectIdList
(
processEntity1
.
getRelationshipAttribute
(
List
<
AtlasObjectId
>
processExecutions
=
toAtlasObjectIdList
(
processEntity1
.
getRelationshipAttribute
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment