Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
Data Flow
Data Enrichment
wks
Commits
a4574ae1
Commit
a4574ae1
authored
Aug 20, 2021
by
Riabokon Stanislav(EPAM)[GCP]
Browse files
Merge branch 'gcp-fix-int-tests' into 'master'
fix gcp IT See merge request
!89
parents
a4ae49fc
6308a370
Pipeline
#61592
failed with stages
in 43 minutes and 13 seconds
Changes
2
Pipelines
2
Expand all
Hide whitespace changes
Inline
Side-by-side
NOTICE
View file @
a4574ae1
This diff is collapsed.
Click to expand it.
testing/wks-test-core/src/test/java/org/opengroup/osdu/wks/stepdefs/RelationshipBlockTestStepDefs.java
View file @
a4574ae1
...
...
@@ -193,8 +193,14 @@ public class RelationshipBlockTestStepDefs implements En {
List
<
String
>
ids
=
commonMethods
.
extractRecordIdFromPayload
(
relatedinputPayload
);
List
<
String
>
wksRecordIdsInRelationshipBlock
=
new
ArrayList
<>();
for
(
String
id
:
ids
)
{
wksRecordIdsInRelationshipBlock
.
add
(
this
.
commonMethods
.
createWKSRecordId
(
id
,
//TODO unreadable test cases with "magic numbers" for GCP works only "magic" number 1 not 2
if
(!
"gcp"
.
equals
(
context
.
getVendor
())){
wksRecordIdsInRelationshipBlock
.
add
(
this
.
commonMethods
.
createWKSRecordId
(
id
,
AutomationConstants
.
TARGET_FOR_TESTSOURCE_F_TESTENTITY_F
.
get
(
2
)));
}
else
{
wksRecordIdsInRelationshipBlock
.
add
(
this
.
commonMethods
.
createWKSRecordId
(
id
,
AutomationConstants
.
TARGET_FOR_TESTSOURCE_F_TESTENTITY_F
.
get
(
1
)));
}
}
commonMethods
.
verifyRelationshipsBlockOfWksCreated
(
expectedRelationshipBlock
,
wksRecordIdsInRelationshipBlock
,
AutomationConstants
.
OS_TARGET_SCHEMA_KIND
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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