Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
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
28d37e25
Commit
28d37e25
authored
Jan 19, 2021
by
Jonas Waeber
Browse files
Try disabled.
parent
ef5f7195
Pipeline
#20348
passed with stages
in 5 minutes and 14 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
src/test/kotlin/TestElasticSearchWrapper.kt
View file @
28d37e25
...
...
@@ -13,7 +13,6 @@ import org.elasticsearch.client.RequestOptions
import
org.elasticsearch.client.RestClient
import
org.elasticsearch.client.RestHighLevelClient
import
org.elasticsearch.client.indices.GetIndexRequest
import
org.junit.Ignore
import
org.junit.jupiter.api.Disabled
import
org.junit.jupiter.api.Test
import
org.junit.jupiter.api.TestInstance
...
...
@@ -23,12 +22,15 @@ import org.memobase.model.FacetContainer
import
org.memobase.model.LanguageContainer
@TestInstance
(
TestInstance
.
Lifecycle
.
PER_CLASS
)
@
Ignore
@
Disabled
(
"Does not work in CI environment."
)
class
TestElasticSearchWrapper
{
private
val
log
=
LogManager
.
getLogger
(
TestElasticSearchWrapper
::
class
.
java
)
private
val
host
=
"localhost"
private
val
port
=
8080
private
val
documentsIndex
=
"documents-v17"
private
val
client
:
RestHighLevelClient
=
connect
()
private
fun
connect
():
RestHighLevelClient
{
...
...
@@ -66,7 +68,7 @@ class TestElasticSearchWrapper {
* and update the index and record set identifier as necessary.
*/
@Test
@
Ignore
@
Disabled
fun
`test
getDocumentTypesFromRecords`
()
{
val
props
=
Properties
()
props
.
setProperty
(
"elastic.index"
,
documentsIndex
)
...
...
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