File tree Expand file tree Collapse file tree
java-showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -136,6 +136,13 @@ void testTracing_successfulEcho_grpc() throws Exception {
136136 .getAttributes ()
137137 .get (AttributeKey .stringKey (ObservabilityAttributes .GRPC_RPC_METHOD_ATTRIBUTE )))
138138 .isEqualTo ("google.showcase.v1beta1.Echo/Echo" );
139+ // {x-version-update-start:gapic-showcase:current}
140+ assertThat (
141+ attemptSpan
142+ .getAttributes ()
143+ .get (AttributeKey .stringKey (ObservabilityAttributes .VERSION_ATTRIBUTE )))
144+ .isEqualTo ("0.0.0-SNAPSHOT" );
145+ // {x-version-update-end}
139146 }
140147 }
141148
@@ -178,11 +185,13 @@ void testTracing_successfulEcho_httpjson() throws Exception {
178185 .getAttributes ()
179186 .get (AttributeKey .stringKey (ObservabilityAttributes .REPO_ATTRIBUTE )))
180187 .isEqualTo (SHOWCASE_REPO );
188+ // {x-version-update-start:gapic-showcase:current}
181189 assertThat (
182190 attemptSpan
183- .getAttributes ()
184- .get (AttributeKey .stringKey (ObservabilityAttributes .ARTIFACT_ATTRIBUTE )))
185- .isEqualTo (SHOWCASE_ARTIFACT );
191+ .getAttributes ()
192+ .get (AttributeKey .stringKey (ObservabilityAttributes .VERSION_ATTRIBUTE )))
193+ .isEqualTo ("0.0.0-SNAPSHOT" );
194+ // {x-version-update-end}
186195 }
187196 }
188197}
You can’t perform that action at this time.
0 commit comments