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
f2342f59
Commit
f2342f59
authored
7 years ago
by
Sarath Subramanian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-2349: Fix IT failures related to jackson serialization #2
parent
74e56544
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
SqoopHookIT.java
...rc/test/java/org/apache/atlas/sqoop/hook/SqoopHookIT.java
+2
-2
StormAtlasHookIT.java
...st/java/org/apache/atlas/storm/hook/StormAtlasHookIT.java
+2
-2
No files found.
addons/sqoop-bridge/src/test/java/org/apache/atlas/sqoop/hook/SqoopHookIT.java
View file @
f2342f59
...
...
@@ -110,12 +110,12 @@ public class SqoopHookIT {
waitFor
(
MAX_WAIT_TIME
,
new
Predicate
()
{
@Override
public
boolean
evaluate
()
throws
Exception
{
Array
Node
results
=
atlasClient
.
search
(
query
,
10
,
0
);
Json
Node
results
=
atlasClient
.
search
(
query
,
10
,
0
);
return
results
.
size
()
>
0
;
}
});
Array
Node
results
=
atlasClient
.
search
(
query
,
10
,
0
);
Json
Node
results
=
atlasClient
.
search
(
query
,
10
,
0
);
JsonNode
row
=
results
.
get
(
0
).
get
(
"t"
);
return
row
.
get
(
"id"
).
asText
();
...
...
This diff is collapsed.
Click to expand it.
addons/storm-bridge/src/test/java/org/apache/atlas/storm/hook/StormAtlasHookIT.java
View file @
f2342f59
...
...
@@ -89,8 +89,8 @@ public class StormAtlasHookIT {
String
query
=
String
.
format
(
"from %s where name = \"%s\""
,
StormDataTypes
.
STORM_TOPOLOGY
.
getName
(),
TOPOLOGY_NAME
);
Array
Node
results
=
atlasClient
.
search
(
query
,
10
,
0
);
JsonNode
row
=
results
.
get
(
0
);
Json
Node
results
=
atlasClient
.
search
(
query
,
10
,
0
);
JsonNode
row
=
results
.
get
(
0
);
return
row
.
has
(
"$id$"
)
?
row
.
get
(
"$id$"
).
get
(
"id"
).
asText
()
:
null
;
}
...
...
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