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
5 years ago
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
Show 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 {
String
newName
=
tableName
();
String
query
=
"create view "
+
viewName
+
" as select * from "
+
tableName
;
runCommand
(
query
);
runCommand
WithDelay
(
query
,
5000
);
query
=
"alter view "
+
viewName
+
" rename to "
+
newName
;
runCommand
(
query
);
runCommand
WithDelay
(
query
,
5000
);
assertTableIsNotRegistered
(
DEFAULT_DB
,
viewName
);
...
...
This diff is collapsed.
Click to expand it.
addons/impala-bridge/src/test/java/org/apache/atlas/impala/ImpalaLineageToolIT.java
View file @
7054e2b1
...
...
@@ -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
(
...
...
This diff is collapsed.
Click to expand it.
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