Skip to content

Commit

Permalink
Merge branch 'main' into faster-uuid
Browse files Browse the repository at this point in the history
  • Loading branch information
meiao authored Jul 12, 2022
2 parents 160c117 + 46d5134 commit 86cdd6c
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ guavaVersion=27.1-jre
junitVersion=5.3.1
jsonassertVersion=1.5.0
mockitoVersion=2.23.0
mockserverVersion=5.5.1
mockserverVersion=5.13.2
okhttpVersion=4.8.0
testContainerVersion=1.15.1
testContainerVersion=1.17.3
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import static org.mockserver.model.JsonBody.json;

import com.google.common.collect.ImmutableMap;
import com.google.common.net.MediaType;
import com.newrelic.telemetry.events.Event;
import com.newrelic.telemetry.events.EventBatchSender;
import com.newrelic.telemetry.events.EventBuffer;
Expand Down Expand Up @@ -41,6 +40,7 @@
import org.mockserver.model.HttpRequest;
import org.mockserver.model.HttpResponse;
import org.mockserver.model.JsonBody;
import org.mockserver.model.MediaType;
import org.testcontainers.containers.GenericContainer;
import org.testcontainers.containers.startupcheck.MinimumDurationRunningStartupCheckStrategy;
import org.testcontainers.containers.wait.strategy.WaitAllStrategy;
Expand All @@ -55,7 +55,7 @@ class EventApiIntegrationTest {
private static URL containerUrl;

private static final GenericContainer<?> container =
new GenericContainer<>("jamesdbloom/mockserver:mockserver-5.5.1")
new GenericContainer<>("jamesdbloom/mockserver:mockserver-5.13.2")
.withLogConsumer(outputFrame -> System.out.print(outputFrame.getUtf8String()))
.withExposedPorts(SERVICE_PORT);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import static org.mockserver.model.JsonBody.json;

import com.google.common.collect.ImmutableMap;
import com.google.common.net.MediaType;
import com.newrelic.telemetry.logs.Log;
import com.newrelic.telemetry.logs.LogBatch;
import com.newrelic.telemetry.logs.LogBatchSender;
Expand All @@ -30,6 +29,7 @@
import org.mockserver.matchers.MatchType;
import org.mockserver.model.HttpRequest;
import org.mockserver.model.HttpResponse;
import org.mockserver.model.MediaType;
import org.testcontainers.containers.GenericContainer;
import org.testcontainers.containers.startupcheck.MinimumDurationRunningStartupCheckStrategy;
import org.testcontainers.containers.wait.strategy.WaitAllStrategy;
Expand All @@ -42,7 +42,7 @@ class LogApiIntegrationTest {
private static String containerIpAddress;
private static MockServerClient mockServerClient;
private static final GenericContainer<?> container =
new GenericContainer<>("jamesdbloom/mockserver:mockserver-5.5.1")
new GenericContainer<>("jamesdbloom/mockserver:mockserver-5.13.2")
.withLogConsumer(outputFrame -> System.out.print(outputFrame.getUtf8String()))
.withExposedPorts(SERVICE_PORT);
private static URL endpointUrl;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
import static org.mockserver.model.JsonBody.json;

import com.google.common.collect.ImmutableMap;
import com.google.common.net.MediaType;
import com.newrelic.telemetry.exceptions.DiscardBatchException;
import com.newrelic.telemetry.exceptions.ResponseException;
import com.newrelic.telemetry.exceptions.RetryWithBackoffException;
Expand Down Expand Up @@ -44,6 +43,7 @@
import org.mockserver.model.Delay;
import org.mockserver.model.HttpRequest;
import org.mockserver.model.HttpResponse;
import org.mockserver.model.MediaType;
import org.testcontainers.containers.GenericContainer;
import org.testcontainers.containers.startupcheck.MinimumDurationRunningStartupCheckStrategy;
import org.testcontainers.containers.wait.strategy.WaitAllStrategy;
Expand All @@ -58,7 +58,7 @@ class MetricApiIntegrationTest {
private static URL endpointUrl;

private static final GenericContainer<?> container =
new GenericContainer<>("jamesdbloom/mockserver:mockserver-5.5.1")
new GenericContainer<>("jamesdbloom/mockserver:mockserver-5.13.2")
.withLogConsumer(outputFrame -> System.out.print(outputFrame.getUtf8String()))
.withExposedPorts(SERVICE_PORT);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import static org.mockserver.model.JsonBody.json;

import com.google.common.collect.ImmutableMap;
import com.google.common.net.MediaType;
import com.newrelic.telemetry.spans.Span;
import com.newrelic.telemetry.spans.SpanBatch;
import com.newrelic.telemetry.spans.SpanBatchSender;
Expand All @@ -30,6 +29,7 @@
import org.mockserver.matchers.MatchType;
import org.mockserver.model.HttpRequest;
import org.mockserver.model.HttpResponse;
import org.mockserver.model.MediaType;
import org.testcontainers.containers.GenericContainer;
import org.testcontainers.containers.startupcheck.MinimumDurationRunningStartupCheckStrategy;
import org.testcontainers.containers.wait.strategy.WaitAllStrategy;
Expand All @@ -42,7 +42,7 @@ class SpanApiIntegrationTest {
private static String containerIpAddress;
private static MockServerClient mockServerClient;
private static final GenericContainer<?> container =
new GenericContainer<>("jamesdbloom/mockserver:mockserver-5.5.1")
new GenericContainer<>("jamesdbloom/mockserver:mockserver-5.13.2")
.withLogConsumer(outputFrame -> System.out.print(outputFrame.getUtf8String()))
.withExposedPorts(SERVICE_PORT);
private static URL endpointUrl;
Expand Down Expand Up @@ -91,7 +91,7 @@ void testSuccessfulSpanSend() throws Exception {
"attributes",
ImmutableMap.of(
"duration.ms",
60,
60.0,
"service.name",
"Span Test Service",
"name",
Expand Down

0 comments on commit 86cdd6c

Please sign in to comment.