trying to fix a test that fails only on Jenkins

This commit is contained in:
Claudio Atzori 2022-09-27 15:21:37 +02:00
parent de7bc9350e
commit f3f7604e6c
1 changed files with 3 additions and 0 deletions

View File

@ -54,6 +54,9 @@ class DataciteToOAFTest extends AbstractVocabularyTest {
val path = getClass.getResource("/eu/dnetlib/dhp/actionmanager/datacite/dataset").getPath val path = getClass.getResource("/eu/dnetlib/dhp/actionmanager/datacite/dataset").getPath
val conf = new SparkConf() val conf = new SparkConf()
conf.set("spark.driver.host", "localhost")
conf.set("spark.ui.enabled", "false")
val spark: SparkSession = SparkSession val spark: SparkSession = SparkSession
.builder() .builder()
.config(conf) .config(conf)