1
0
Fork 0

fixed test to work on jenkins

This commit is contained in:
Sandro La Bruzzo 2020-11-02 09:35:01 +01:00
parent 39337d8a8a
commit 754c86f33e
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ class SparkScholexplorerAggregationTest {
implicit val pubEncoder: Encoder[DLIPublication] = Encoders.kryo[DLIPublication]
val spark: SparkSession = SparkSession.builder().appName("Test").master("local[*]").getOrCreate()
val spark: SparkSession = SparkSession.builder().appName("Test").master("local[*]").config("spark.driver.bindAddress", "127.0.0.1").getOrCreate()
val ds: Dataset[DLIPublication] = spark.createDataset(spark.sparkContext.parallelize(s)).as[DLIPublication]