Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

update google-auth-library to 0.17.2 #789

Merged
merged 2 commits into from Sep 26, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions dependencies.properties
Expand Up @@ -34,8 +34,8 @@ version.io_grpc=1.23.0
# 2) Replace all characters which are neither alphabetic nor digits with the underscore ('_') character
maven.com_google_api_grpc_proto_google_common_protos=com.google.api.grpc:proto-google-common-protos:1.15.0
maven.com_google_api_grpc_grpc_google_common_protos=com.google.api.grpc:grpc-google-common-protos:1.15.0
maven.com_google_auth_google_auth_library_oauth2_http=com.google.auth:google-auth-library-oauth2-http:0.17.1
maven.com_google_auth_google_auth_library_credentials=com.google.auth:google-auth-library-credentials:0.17.1
maven.com_google_auth_google_auth_library_oauth2_http=com.google.auth:google-auth-library-oauth2-http:0.17.2
maven.com_google_auth_google_auth_library_credentials=com.google.auth:google-auth-library-credentials:0.17.2
maven.io_opencensus_opencensus_api=io.opencensus:opencensus-api:0.23.0
maven.io_opencensus_opencensus_contrib_grpc_metrics=io.opencensus:opencensus-contrib-grpc-metrics:0.23.0
maven.io_opencensus_opencensus_contrib_http_util=io.opencensus:opencensus-contrib-http-util:0.23.0
Expand Down
Expand Up @@ -92,8 +92,7 @@ public void testImplicitParentSpan() {
new OpencensusTracerFactory(internalTracer, defaultSpanAttributes);

Span parentSpan = mock(Span.class);
Context origContext =
Context.current().withValue(ContextUtils.CONTEXT_SPAN_KEY, parentSpan).attach();
Context origContext = ContextUtils.withValue(Context.current(), parentSpan).attach();

try {
factory.newTracer(
Expand Down Expand Up @@ -130,8 +129,7 @@ public void testExplicitParentOverridesImplicit() {
OpencensusTracer parentTracer =
new OpencensusTracer(internalTracer, parentSpan, OperationType.Unary);

Context origContext =
Context.current().withValue(ContextUtils.CONTEXT_SPAN_KEY, parentSpan).attach();
Context origContext = ContextUtils.withValue(Context.current(), parentSpan).attach();

try {
factory.newTracer(parentTracer, SpanName.of("FakeClient", "FakeMethod"), OperationType.Unary);
Expand Down