File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed
main/java/org/testcontainers/grafana
test/java/org/testcontainers/grafana Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -8,3 +8,9 @@ dependencies {
88 testImplementation ' io.micrometer:micrometer-registry-otlp:1.13.4'
99 testImplementation ' uk.org.webcompere:system-stubs-junit4:2.1.6'
1010}
11+
12+ tasks. japicmp {
13+ methodExcludes = [
14+ " org.testcontainers.grafana.LgtmStackContainer#getPromehteusHttpUrl()"
15+ ]
16+ }
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ public String getOtlpHttpUrl() {
5858 return "http://" + getHost () + ":" + getMappedPort (OTLP_HTTP_PORT );
5959 }
6060
61- public String getPromehteusHttpUrl () {
61+ public String getPrometheusHttpUrl () {
6262 return "http://" + getHost () + ":" + getMappedPort (PROMETHEUS_PORT );
6363 }
6464
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ public void shouldPublishMetric() throws Exception {
4646 Response response = RestAssured
4747 .given ()
4848 .queryParam ("query" , "test_counter_total{job=\" testcontainers\" }" )
49- .get (String .format ("%s/api/v1/query" , lgtm .getPromehteusHttpUrl ()))
49+ .get (String .format ("%s/api/v1/query" , lgtm .getPrometheusHttpUrl ()))
5050 .prettyPeek ()
5151 .thenReturn ();
5252 assertThat (response .getStatusCode ()).isEqualTo (200 );
You can’t perform that action at this time.
0 commit comments