From 2e674202ff2393d715abe537d40a49a56665ed59 Mon Sep 17 00:00:00 2001 From: John Blum Date: Mon, 26 Sep 2022 13:08:47 -0700 Subject: [PATCH] Configure the Gradle test task to run SDG tests. Resolves #623. --- spring-data-geode/spring-data-geode.gradle | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/spring-data-geode/spring-data-geode.gradle b/spring-data-geode/spring-data-geode.gradle index 9752491c..bbc7a33a 100644 --- a/spring-data-geode/spring-data-geode.gradle +++ b/spring-data-geode/spring-data-geode.gradle @@ -63,7 +63,20 @@ dependencies { } testRuntimeOnly "org.apache.logging.log4j:log4j-to-slf4j" + testRuntimeOnly "org.junit.vintage:junit-vintage-engine" testRuntimeOnly "org.iq80.snappy:snappy" testRuntimeOnly "org.springframeork.shell:spring-shell" } + +test { + //include "**/*Tests.java", "**/*Test.java" + maxParallelForks = 1 + + systemProperties['java.util.logging.config.file'] = "${project.projectDir}/src/test/resources/java-util-logging.properties" + systemProperties['gemfire.disableShutdownHook'] = "true" + systemProperties['logback.log.level'] = "error" + systemProperties['spring.profiles.active'] = "apache-geode" + + useJUnitPlatform() +}