[ECclassification] removed not needed resources

This commit is contained in:
Miriam Baglioni 2023-03-02 11:44:48 +01:00
parent d4fc62c2f6
commit b0c2f7e526
4 changed files with 3 additions and 139658 deletions

View File

@ -13,10 +13,7 @@ import org.apache.spark.SparkConf;
import org.apache.spark.api.java.JavaRDD; import org.apache.spark.api.java.JavaRDD;
import org.apache.spark.api.java.JavaSparkContext; import org.apache.spark.api.java.JavaSparkContext;
import org.apache.spark.sql.SparkSession; import org.apache.spark.sql.SparkSession;
import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.*;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
@ -75,6 +72,7 @@ public class ReadTopicTest {
spark.stop(); spark.stop();
} }
@Disabled
@Test @Test
void readTopics() throws IOException { void readTopics() throws IOException {
String topics = getClass() String topics = getClass()
@ -95,7 +93,7 @@ public class ReadTopicTest {
Assertions.assertEquals("Individual Fellowships", topic.getTitle()); Assertions.assertEquals("Individual Fellowships", topic.getTitle());
Assertions.assertEquals("MSCA-IF-2019", topic.getTopic()); Assertions.assertEquals("MSCA-IF-2019", topic.getTopic());
tmp.foreach(p -> System.out.println(OBJECT_MAPPER.writeValueAsString(p))); //tmp.foreach(p -> System.out.println(OBJECT_MAPPER.writeValueAsString(p)));
} }
} }