Skip to content

Commit afa55f9

Browse files
committed
Java: Output VAAS_URL before all tests, include slf4j-simple to prevent "SLF4J: No SLF4J providers were found." warning
1 parent fa18e91 commit afa55f9

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

java/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ dependencies {
2525
implementation 'io.github.cdimascio:dotenv-java:3.0.2'
2626
testImplementation 'org.testng:testng:7.10.2'
2727
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.11.3'
28+
testImplementation 'org.slf4j:slf4j-simple:2.0.9'
29+
2830
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.11.3'
2931
testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.11.3'
3032

@@ -45,6 +47,7 @@ test {
4547
exceptionFormat "full"
4648
showCauses true
4749
showStackTraces true
50+
showStandardStreams true
4851
}
4952
}
5053

@@ -59,6 +62,7 @@ tasks.register('testWithoutErrorLogProducer', Test) {
5962
exceptionFormat "full"
6063
showCauses true
6164
showStackTraces true
65+
showStandardStreams true
6266
}
6367
}
6468

java/src/test/java/de/gdata/test/integration/RealApiIntegrationTests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ private static Optional<File> findFile(String name) {
7575
@BeforeAll
7676
public static void setUpAll() throws URISyntaxException, InterruptedException, IOException, ExecutionException,
7777
TimeoutException, VaasAuthenticationException {
78+
System.out.println("VAAS_URL=" + getEnvironmentKey("VAAS_URL"));
7879
vaas = getVaasWithCredentials();
7980
}
8081

0 commit comments

Comments
 (0)