Commit 28d37e25 authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Try disabled.

parent ef5f7195
Pipeline #20348 passed with stages
in 5 minutes and 14 seconds
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment