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
2bb7f778
Commit
2bb7f778
authored
6 years ago
by
Madhan Neethiraj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-2637: migration-import updates - fix for UT failure
parent
d343a486
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
RelationshipCacheGeneratorTest.java
.../repository/migration/RelationshipCacheGeneratorTest.java
+2
-4
No files found.
repository/src/test/java/org/apache/atlas/repository/migration/RelationshipCacheGeneratorTest.java
View file @
2bb7f778
...
...
@@ -61,8 +61,6 @@ public class RelationshipCacheGeneratorTest {
public
void
createLookup
()
{
final
String
PROCESS_INPUT_KEY
=
"__Process.inputs"
;
final
String
PROCESS_OUTPUT_KEY
=
"__Process.outputs"
;
String
ONE_TO_TWO_STR
=
ONE_TO_TWO
.
toString
();
String
TWO_TO_ONE_STR
=
TWO_TO_ONE
.
toString
();
Map
<
String
,
RelationshipCacheGenerator
.
TypeInfo
>
cache
=
RelationshipCacheGenerator
.
get
(
typeRegistry
);
assertEquals
(
cache
.
size
(),
getLegacyAttributeCount
()
-
1
);
...
...
@@ -72,10 +70,10 @@ public class RelationshipCacheGeneratorTest {
}
assertEquals
(
cache
.
get
(
PROCESS_INPUT_KEY
).
getTypeName
(),
"dataset_process_inputs"
);
assertEquals
(
cache
.
get
(
PROCESS_INPUT_KEY
).
getPropagateTags
(),
ONE_TO_TWO_STR
);
assertEquals
(
cache
.
get
(
PROCESS_INPUT_KEY
).
getPropagateTags
(),
TWO_TO_ONE
);
assertEquals
(
cache
.
get
(
PROCESS_OUTPUT_KEY
).
getTypeName
(),
"process_dataset_outputs"
);
assertEquals
(
cache
.
get
(
PROCESS_OUTPUT_KEY
).
getPropagateTags
(),
TWO_TO_ONE_STR
);
assertEquals
(
cache
.
get
(
PROCESS_OUTPUT_KEY
).
getPropagateTags
(),
ONE_TO_TWO
);
}
private
int
getLegacyAttributeCount
()
{
...
...
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