Skip to content

Commit

Permalink
Enable e2e resource detection test for Cloud Run
Browse files Browse the repository at this point in the history
  • Loading branch information
aabmass committed Jul 31, 2024
1 parent e0a4154 commit cd8a185
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions e2e-test-server/e2e_test_server/scenarios.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,14 +137,6 @@ def basic_propagator(request: Request) -> Response:

def detect_resource(request: Request) -> Response:
"""Create a trace with GCP resource detector"""

# Temporarily skip if on Cloud Run until it is implemented
if "K_CONFIGURATION" in os.environ:
return Response(
status_code=code_pb2.UNIMPLEMENTED,
data=b"Resource detection not yet implemented on Cloud Run",
)

with _tracer_setup(
tracer_provider_config={
"resource": GoogleCloudResourceDetector(
Expand Down

0 comments on commit cd8a185

Please sign in to comment.