Skip to content

Commit 9bc1a1e

Browse files
committed
Feedback
1 parent a563c9b commit 9bc1a1e

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

dd-java-agent/instrumentation/vertx-web-3.4/src/test/java/server/VertxTestServer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ private static void exception() {
254254
private static void controller(
255255
RoutingContext ctx, final ServerEndpoint endpoint, final Runnable runnable) {
256256
assert activeSpan() != null : "Controller should have a parent span.";
257-
assert isAsyncPropagationEnabled() : "Scope should be propagating async.";
257+
assert isAsyncPropagationEnabled() : "Span should be propagating async.";
258258
ctx.response()
259259
.putHeader(
260260
HttpServerTest.getIG_RESPONSE_HEADER(), HttpServerTest.getIG_RESPONSE_HEADER_VALUE());

dd-java-agent/instrumentation/vertx-web-3.9/src/test/java/server/IastVertx39TestVerticle.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ private static void exception() {
252252
private static void controller(
253253
RoutingContext ctx, final ServerEndpoint endpoint, final Runnable runnable) {
254254
assert activeSpan() != null : "Controller should have a parent span.";
255-
assert isAsyncPropagationEnabled() : "Scope should be propagating async.";
255+
assert isAsyncPropagationEnabled() : "Span should be propagating async.";
256256
ctx.response()
257257
.putHeader(
258258
HttpServerTest.getIG_RESPONSE_HEADER(), HttpServerTest.getIG_RESPONSE_HEADER_VALUE());

dd-java-agent/instrumentation/vertx-web-4.0/src/latestDepTest/java/server/VertxTestServer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ private static void exception() {
271271
private static void controller(
272272
RoutingContext ctx, final ServerEndpoint endpoint, final Runnable runnable) {
273273
assert activeSpan() != null : "Controller should have a parent span.";
274-
assert isAsyncPropagationEnabled() : "Scope should be propagating async.";
274+
assert isAsyncPropagationEnabled() : "Span should be propagating async.";
275275
ctx.response()
276276
.putHeader(
277277
HttpServerTest.getIG_RESPONSE_HEADER(), HttpServerTest.getIG_RESPONSE_HEADER_VALUE());

dd-java-agent/instrumentation/vertx-web-4.0/src/test/java/server/VertxTestServer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ private static void exception() {
281281
private static void controller(
282282
RoutingContext ctx, final ServerEndpoint endpoint, final Runnable runnable) {
283283
assert activeSpan() != null : "Controller should have a parent span.";
284-
assert isAsyncPropagationEnabled() : "Scope should be propagating async.";
284+
assert isAsyncPropagationEnabled() : "Span should be propagating async.";
285285
ctx.response()
286286
.putHeader(
287287
HttpServerTest.getIG_RESPONSE_HEADER(), HttpServerTest.getIG_RESPONSE_HEADER_VALUE());

dd-java-agent/instrumentation/vertx-web-5.0/src/test/java/server/VertxTestServer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ private static void exception() {
271271
private static void controller(
272272
RoutingContext ctx, final ServerEndpoint endpoint, final Runnable runnable) {
273273
assert activeSpan() != null : "Controller should have a parent span.";
274-
assert isAsyncPropagationEnabled() : "Scope should be propagating async.";
274+
assert isAsyncPropagationEnabled() : "Span should be propagating async.";
275275
ctx.response()
276276
.putHeader(
277277
HttpServerTest.getIG_RESPONSE_HEADER(), HttpServerTest.getIG_RESPONSE_HEADER_VALUE());

dd-java-agent/testing/src/main/groovy/datadog/trace/agent/test/base/HttpServerTest.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ abstract class HttpServerTest<SERVER> extends WithHttpServer<SERVER> {
528528
static <T> T controller(ServerEndpoint endpoint, Closure<T> closure) {
529529
assert activeSpan() != null: "Controller should have a parent span."
530530
assert activeSpan() != noopSpan(): "Parent span shouldn't be noopSpan"
531-
assert isAsyncPropagationEnabled(): "Scope should be propagating async."
531+
assert isAsyncPropagationEnabled(): "Span should be propagating async."
532532
if (endpoint == NOT_FOUND || endpoint == UNKNOWN) {
533533
return closure()
534534
}

0 commit comments

Comments
 (0)