Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
Indexer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OSDU
OSDU Data Platform
System
Indexer
Merge requests
!717
Draft: Checking elasticsearch upgrade
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
Draft: Checking elasticsearch upgrade
hd-elastic
into
azure/m18-master
Overview
0
Commits
4
Pipelines
8
Changes
1
Closed
Harshika Dhoot
requested to merge
hd-elastic
into
azure/m18-master
1 year ago
Overview
0
Commits
4
Pipelines
8
Changes
1
Expand
0
0
Merge request reports
Viewing commit
2170eb85
Prev
Next
Show latest version
1 file
+
0
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
2170eb85
testing
· 2170eb85
Harshika Dhoot
authored
1 year ago
provider/indexer-gc/src/test/java/org/opengroup/osdu/indexer/service/IndexerMappingServiceTest.java
+
1
−
1
Options
@@ -109,7 +109,7 @@ public class IndexerMappingServiceTest {
doReturn
(
mappingResponse
).
when
(
this
.
indicesClient
).
putMapping
(
ArgumentMatchers
.
any
(
PutMappingRequest
.
class
),
ArgumentMatchers
.
any
(
RequestOptions
.
class
));
IndexerMappingServiceImpl
indexerMappingServiceLocal
=
PowerMockito
.
spy
(
new
IndexerMappingServiceImpl
());
doReturn
(
false
).
when
(
indexerMappingServiceLocal
).
isTypeExist
(
ArgumentMatchers
.
any
(),
ArgumentMatchers
.
any
(),
ArgumentMatchers
.
any
());
doReturn
(
false
).
when
(
indexerMappingServiceLocal
).
isTypeExist
(
ArgumentMatchers
.
any
(),
ArgumentMatchers
.
any
());
String
mapping
=
this
.
sut
.
createMapping
(
this
.
restHighLevelClient
,
this
.
indexSchema
,
this
.
index
,
true
);
assertEquals
(
this
.
mappingValid
,
mapping
);
}
catch
(
Exception
e
)
{
Loading