Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
memoriav
Memobase 2020
services
Elasticsearch Services
Search Doc Service
Commits
a5458009
Commit
a5458009
authored
Dec 08, 2020
by
Jonas Waeber
Browse files
Fix ESW Test
parent
85165cad
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/test/kotlin/TestElasticSearchWrapper.kt
View file @
a5458009
...
@@ -14,22 +14,6 @@ class TestElasticSearchWrapper {
...
@@ -14,22 +14,6 @@ class TestElasticSearchWrapper {
private
val
documentTypeLabelPath
=
"src/test/resources/configs/document-type-labels.csv"
private
val
documentTypeLabelPath
=
"src/test/resources/configs/document-type-labels.csv"
@Test
@Disabled
fun
`test
connect`
()
{
val
props
=
Properties
()
props
.
setProperty
(
"elastic.host"
,
"localhost"
)
props
.
setProperty
(
"elastic.port"
,
"8080"
)
props
.
setProperty
(
"elastic.index"
,
"documents-v14"
)
props
.
setProperty
(
KEYS
.
SettingsProps
.
documentTypeLabelsPath
,
documentTypeLabelPath
)
val
wrapper
=
ElasticSearchWrapper
(
props
)
val
client
=
wrapper
.
connect
()
assertAll
(
""
,
{
assertThat
(
client
).
isNotNull
}
)
}
@Test
@Test
@Disabled
@Disabled
fun
`test
getDocumentTypesFromRecords`
()
{
fun
`test
getDocumentTypesFromRecords`
()
{
...
...
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