File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed
src/test/java/org/testcontainers/grafana Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -3,13 +3,20 @@ description = "Testcontainers :: Grafana"
33dependencies {
44 api project(' :testcontainers' )
55
6+ testRuntimeOnly ' org.junit.platform:junit-platform-launcher:1.11.0'
7+
8+ testImplementation ' org.junit.jupiter:junit-jupiter:5.13.4'
69 testImplementation ' org.assertj:assertj-core:3.27.4'
710 testImplementation ' io.rest-assured:rest-assured:5.5.6'
811 testImplementation ' io.micrometer:micrometer-registry-otlp:1.15.3'
9- testImplementation ' uk.org.webcompere:system-stubs-junit4 :2.1.8'
12+ testImplementation ' uk.org.webcompere:system-stubs-jupiter :2.1.8'
1013
1114 testImplementation platform(' io.opentelemetry:opentelemetry-bom:1.53.0' )
1215 testImplementation ' io.opentelemetry:opentelemetry-api'
1316 testImplementation ' io.opentelemetry:opentelemetry-sdk'
1417 testImplementation ' io.opentelemetry:opentelemetry-exporter-otlp'
1518}
19+
20+ test {
21+ useJUnitPlatform()
22+ }
Original file line number Diff line number Diff line change 2121import io .restassured .RestAssured ;
2222import io .restassured .response .Response ;
2323import org .awaitility .Awaitility ;
24- import org .junit .Test ;
24+ import org .junit .jupiter . api . Test ;
2525import uk .org .webcompere .systemstubs .SystemStubs ;
2626
2727import java .time .Duration ;
2828import java .util .concurrent .TimeUnit ;
2929
3030import static org .assertj .core .api .Assertions .assertThat ;
3131
32- public class LgtmStackContainerTest {
32+ class LgtmStackContainerTest {
3333
3434 @ Test
35- public void shouldPublishMetricsTracesAndLogs () throws Exception {
35+ void shouldPublishMetricsTracesAndLogs () throws Exception {
3636 try ( // container {
3737 LgtmStackContainer lgtm = new LgtmStackContainer ("grafana/otel-lgtm:0.11.1" )
3838 // }
You can’t perform that action at this time.
0 commit comments