You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: instrumentation/kafka/kafka-connect-2.6/testing/src/test/java/io/opentelemetry/instrumentation/kafkaconnect/v2_6/MongoKafkaConnectSinkTaskTest.java
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -130,7 +130,8 @@ public void testKafkaConnectMongoSinkTaskInstrumentation()
130
130
.hasLinksSatisfying(
131
131
links ->
132
132
assertThat(links)
133
-
.isEmpty()), // Verify no span links since no traceparent header was injected
133
+
.isEmpty()), // Verify no span links since no traceparent header
Copy file name to clipboardExpand all lines: instrumentation/kafka/kafka-connect-2.6/testing/src/test/java/io/opentelemetry/instrumentation/kafkaconnect/v2_6/PostgresKafkaConnectSinkTaskTest.java
+16-14Lines changed: 16 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -149,7 +149,8 @@ public void testKafkaConnectPostgresSinkTaskInstrumentation()
149
149
.hasLinksSatisfying(
150
150
links ->
151
151
assertThat(links)
152
-
.isEmpty()), // Verify no span links since no traceparent header was injected
152
+
.isEmpty()), // Verify no span links since no traceparent header
153
+
// was injected
153
154
span ->
154
155
span.hasName("SELECT test")
155
156
.hasKind(SpanKind.CLIENT)
@@ -340,12 +341,12 @@ public void testKafkaConnectPostgresSinkTaskMultiTopicInstrumentation() throws I
340
341
.filter(
341
342
span ->
342
343
((span.getName().contains(topicName1)
343
-
|| span.getName().contains(topicName2)
344
-
|| span.getName().contains(topicName3))
345
-
|| (span.getName().contains("[")
346
-
&& span.getName().contains("]")
347
-
&& span.getName().contains("process"))
348
-
|| span.getName().equals("unknown process"))
344
+
|| span.getName().contains(topicName2)
345
+
|| span.getName().contains(topicName3))
346
+
|| (span.getName().contains("[")
347
+
&& span.getName().contains("]")
348
+
&& span.getName().contains("process"))
349
+
|| span.getName().equals("unknown process"))
349
350
&& span.getKind() == CONSUMER)
350
351
.count();
351
352
@@ -398,7 +399,8 @@ public void testKafkaConnectPostgresSinkTaskMultiTopicInstrumentation() throws I
0 commit comments