Skip to content

Conversation

@laurit
Copy link
Contributor

@laurit laurit commented Sep 16, 2024

https://ge.opentelemetry.io/s/xz3tis5zw7xec/tests/task/:instrumentation:couchbase:couchbase-2.6:javaagent:test/details/io.opentelemetry.javaagent.instrumentation.couchbase.v2_6.springdata.CouchbaseSpringTemplate26Test/remove(CouchbaseTemplate)%5B2%5D?expanded-stacktrace=WyIxIiwiMCJd&top-execution=1
During java conversion I made attributes that were previously optional, like network.type, required. This made tests flaky because there is race condition in the instrumentation where virtual field could be read before the value is set on another thread. Hopefully moving setting virtual field to the start of the method resolves the issue.

@laurit laurit requested a review from a team September 16, 2024 14:32
@trask trask merged commit 9936812 into open-telemetry:main Sep 16, 2024
56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants