Skip to content

Commit

Permalink
test: Fix some dependency issues
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelpri10 committed Jun 24, 2024
1 parent 6ab4cfe commit bc7530a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions google-cloud-pubsub/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
<dependency>
<groupId>io.opentelemetry</groupId>
<artifactId>opentelemetry-semconv</artifactId>
<version>1.25.0-alpha</version>
<version>1.26.0-alpha</version>
</dependency>

<!-- Test dependencies -->
Expand Down Expand Up @@ -159,7 +159,7 @@
</dependency>
<dependency>
<groupId>io.opentelemetry</groupId>
<artifactId>opentelemetry-sdk</artifactId>
<artifactId>opentelemetry-sdk-trace</artifactId>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public void testPublishSpansSuccess() {
.containsEntry(SemanticAttributes.MESSAGING_DESTINATION_NAME, FULL_TOPIC_NAME.getTopic())
.containsEntry(PROJECT_ATTR_KEY, FULL_TOPIC_NAME.getProject())
.containsEntry(SemanticAttributes.CODE_FUNCTION, "Publisher.publishCall")
.containsEntry(SemanticAttributes.MESSAGING_OPERATION, "create")
.containsEntry(SemanticAttributes.MESSAGING_OPERATION, "publish")
.containsEntry(SemanticAttributes.MESSAGING_BATCH_MESSAGE_COUNT, messageWrappers.size());

// Check span data, events, links, and attributes for the publisher create span
Expand Down

0 comments on commit bc7530a

Please sign in to comment.