Skip to content

Commit 03dd2cb

Browse files
committed
Address test failures.
1 parent 98ca851 commit 03dd2cb

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

pyproject.toml

-2
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@ urllib3 = [
3333
{version = "<2.0.0", python = "<3.11", optional = true},
3434
{version = "<2.1.0", python = ">=3.11", optional = true},
3535
]
36-
importlib_metadata = {version = "*", python = "<3.8"}
3736
boto3 = { version = "^1.28.0", optional = true }
38-
typing_extensions = {version = "^4.0", python = "<3.8"}
3937
requests = { version ="^2.22.0", optional = true }
4038
pytest = { version= "^8.0.0", optional = true }
4139
pytest-benchmark = { version = "^4.0", optional = true }

tests/test_wrapper.py

+1
Original file line numberDiff line numberDiff line change
@@ -534,6 +534,7 @@ def lambda_handler(event, context):
534534
lambda_context = get_mock_context()
535535
test_span = tracer.trace("test_span")
536536
trace_ctx = tracer.current_trace_context()
537+
trace_ctx.sampling_priority = 1
537538
test_span.finish()
538539
lambda_handler.inferred_span = test_span
539540
lambda_handler.make_inferred_span = False

0 commit comments

Comments
 (0)