Skip to content

Commit 6760ac3

Browse files
mabdinurduncanista
andauthored
ci(aws_lambda): run aws lambda tests in circleci [backport #5349 to 1.9] (#5368)
Backports: #5349 ## Checklist - [x] Change(s) are motivated and described in the PR description. - [x] Testing strategy is described if automated tests are not included in the PR. - [x] Risk is outlined (performance impact, potential for breakage, maintainability, etc). - [x] Change is maintainable (easy to change, telemetry, documentation). - [x] [Library release note guidelines](https://ddtrace.readthedocs.io/en/stable/contributing.html#Release-Note-Guidelines) are followed. - [x] Documentation is included (in-code, generated user docs, [public corp docs](https://github.com/DataDog/documentation/)). - [x] Author is aware of the performance implications of this PR as reported in the benchmarks PR comment. ## Reviewer Checklist - [x] Title is accurate. - [x] No unnecessary changes are introduced. - [x] Description motivates each change. - [x] Avoids breaking [API](https://ddtrace.readthedocs.io/en/stable/versioning.html#interfaces) changes unless absolutely necessary. - [x] Testing strategy adequately addresses listed risk(s). - [x] Change is maintainable (easy to change, telemetry, documentation). - [x] Release note makes sense to a user of the library. - [x] Reviewer is aware of, and discussed the performance implications of this PR as reported in the benchmarks PR comment. --------- Co-authored-by: jordan gonzález <[email protected]>
1 parent 122f4a2 commit 6760ac3

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.circleci/config.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,13 @@ jobs:
365365
- run_test:
366366
pattern: 'appsec'
367367
snapshot: true
368+
369+
aws_lambda:
370+
<<: *machine_executor
371+
steps:
372+
- run_test:
373+
pattern: 'aws_lambda'
374+
snapshot: true
368375

369376
internal:
370377
<<: *contrib_job
@@ -1142,6 +1149,7 @@ requires_tests: &requires_tests
11421149
- asyncpg
11431150
- algoliasearch
11441151
- asgi
1152+
- aws_lambda
11451153
- benchmarks
11461154
- boto
11471155
- bottle
@@ -1243,6 +1251,7 @@ workflows:
12431251
- asyncpg: *requires_base_venvs
12441252
- algoliasearch: *requires_base_venvs
12451253
- asgi: *requires_base_venvs
1254+
- aws_lambda: *requires_base_venvs
12461255
- benchmarks: *requires_base_venvs
12471256
- boto: *requires_base_venvs
12481257
- bottle: *requires_base_venvs

tests/contrib/aws_lambda/test_aws_lambda.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def test_continue_on_early_trace_ending(context):
7171

7272
patch()
7373

74-
datadog(finishing_spans_early_handler)({}, context())
74+
datadog(finishing_spans_early_handler)({}, context)
7575

7676

7777
@pytest.mark.snapshot

0 commit comments

Comments
 (0)