Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
7847dd8
Fix integration tests by removing hardcoded values
fpighi Jan 19, 2026
69a3f12
Fix AWS Integration tests by replacing opsworks with lambda
fpighi Jan 19, 2026
de123d9
run integration tests in draft PRs if labeled
fpighi Jan 19, 2026
1488945
Fix user data source tests: 500 errors and eventual consistency
fpighi Jan 19, 2026
ad5cbdc
Fix SDS standard pattern test: use pattern's name/description
fpighi Jan 19, 2026
580099f
Fix custom allocation rules test: ensure unmanaged rules in middle
fpighi Jan 20, 2026
e974da6
Skip cloud-dependent tests in integration mode
fpighi Jan 21, 2026
480abc7
Fix monitor config policy test: use unique tag keys
fpighi Jan 26, 2026
3bf3a98
Skip cloud integration tests in non-replay mode
fpighi Jan 26, 2026
2523692
Skip RUM datasource and action connection tests in non-replay mode
fpighi Jan 26, 2026
7752f4f
Skip tests that require specific account data in non-replay mode
fpighi Jan 26, 2026
fa4c04d
Fix monitor config policy test: use unique tag keys and add cleanup
fpighi Feb 4, 2026
3854598
Fix metric metadata tests: use unique metric names
fpighi Feb 4, 2026
f767665
Fix users datasource tests: eventual consistency and invitation errors
fpighi Feb 4, 2026
99e2b4f
Remove parallel execution from monitor tag config test
fpighi Feb 4, 2026
5d9acfc
Fix monitor config policy destroy nil pointer panic
fpighi Feb 4, 2026
7c270ee
Fix monitor assets test ordering issue with set-based checks
fpighi Feb 4, 2026
ae0e060
Fix metric metadata datasource test by creating resource first
fpighi Feb 4, 2026
18ef21d
Fix service account datasource pagination test eventual consistency
fpighi Feb 4, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ env:
jobs:
integration_tests:
runs-on: ubuntu-latest
if: (github.event_name == 'pull_request' && github.event.pull_request.draft == false && contains(github.event.pull_request.labels.*.name, 'ci/integrations')) || github.event_name == 'schedule'
if: (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'ci/integrations')) || github.event_name == 'schedule'
steps:
- name: Start the Datadog Agent locally
uses: datadog/agent-github-action@8240b406d73cb84cd5085a3919a78f59c258da3a
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2025-11-17T10:52:46.185978-05:00
2026-01-20T11:31:05.718925+01:00

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion datadog/tests/cassettes/TestAccDatadogDowntimeDates.freeze
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2022-04-21T12:25:24.289046-04:00
2026-01-19T15:13:33.041017+01:00
263 changes: 177 additions & 86 deletions datadog/tests/cassettes/TestAccDatadogDowntimeDates.yaml
Original file line number Diff line number Diff line change
@@ -1,88 +1,179 @@
---
version: 2
interactions:
- request:
body: |
{"end":4097160000,"message":"tf-TestAccDatadogDowntimeDates-local-1650558324","monitor_tags":["*"],"recurrence":{"period":1,"type":"days"},"scope":["*"],"start":4097124660,"timezone":"UTC"}
form: {}
headers:
Accept:
- application/json
Content-Type:
- application/json
url: https://api.datadoghq.com/api/v1/downtime
method: POST
id: 0
response:
body: '{"recurrence":{"until_date":null,"until_occurrences":null,"week_days":null,"type":"days","period":1},"end":4097160000,"monitor_tags":["*"],"child_id":null,"canceled":null,"monitor_id":null,"mute_first_recovery_notification":false,"created":1650558375,"org_id":321813,"modified":1650558375,"disabled":false,"start":4097124660,"creator_id":1445416,"parent_id":null,"timezone":"UTC","active":false,"scope":["*"],"message":"tf-TestAccDatadogDowntimeDates-local-1650558324","downtime_type":0,"id":1895961304,"updater_id":null}'
headers:
Content-Type:
- application/json
status: 200 OK
code: 200
duration: "0ms"
- request:
body: ""
form: {}
headers:
Accept:
- application/json
url: https://api.datadoghq.com/api/v1/downtime/1895961304
method: GET
id: 1
response:
body: '{"recurrence":{"until_date":null,"until_occurrences":null,"week_days":null,"type":"days","period":1},"end":4097160000,"monitor_tags":["*"],"child_id":null,"canceled":null,"monitor_id":null,"mute_first_recovery_notification":false,"created":1650558375,"org_id":321813,"modified":1650558375,"disabled":false,"start":4097124660,"creator_id":1445416,"parent_id":null,"timezone":"UTC","active":false,"scope":["*"],"message":"tf-TestAccDatadogDowntimeDates-local-1650558324","downtime_type":0,"id":1895961304,"updater_id":null}'
headers:
Content-Type:
- application/json
status: 200 OK
code: 200
duration: "0ms"
- request:
body: ""
form: {}
headers:
Accept:
- application/json
url: https://api.datadoghq.com/api/v1/downtime/1895961304
method: GET
id: 2
response:
body: '{"recurrence":{"until_date":null,"until_occurrences":null,"week_days":null,"type":"days","period":1},"end":4097160000,"monitor_tags":["*"],"child_id":null,"canceled":null,"monitor_id":null,"mute_first_recovery_notification":false,"created":1650558375,"org_id":321813,"modified":1650558375,"disabled":false,"start":4097124660,"creator_id":1445416,"parent_id":null,"timezone":"UTC","active":false,"scope":["*"],"message":"tf-TestAccDatadogDowntimeDates-local-1650558324","downtime_type":0,"id":1895961304,"updater_id":null}'
headers:
Content-Type:
- application/json
status: 200 OK
code: 200
duration: "0ms"
- request:
body: ""
form: {}
headers:
Accept:
- '*/*'
url: https://api.datadoghq.com/api/v1/downtime/1895961304
method: DELETE
id: 3
response:
body: ""
headers: {}
status: 204 No Content
code: 204
duration: "0ms"
- request:
body: ""
form: {}
headers:
Accept:
- application/json
url: https://api.datadoghq.com/api/v1/downtime/1895961304
method: GET
id: 4
response:
body: '{"recurrence":{"until_date":null,"until_occurrences":null,"week_days":null,"type":"days","period":1},"end":4097160000,"monitor_tags":["*"],"child_id":null,"canceled":1650558445,"monitor_id":null,"mute_first_recovery_notification":false,"created":1650558375,"org_id":321813,"modified":1650558445,"disabled":true,"start":4097124660,"creator_id":1445416,"parent_id":null,"timezone":"UTC","active":false,"scope":["*"],"message":"tf-TestAccDatadogDowntimeDates-local-1650558324","downtime_type":0,"id":1895961304,"updater_id":1445416}'
headers:
Content-Type:
- application/json
status: 200 OK
code: 200
duration: "0ms"
- id: 0
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
content_length: 190
transfer_encoding: []
trailer: {}
host: api.datadoghq.com
remote_addr: ""
request_uri: ""
body: |
{"end":4097160000,"message":"tf-TestAccDatadogDowntimeDates-local-1768832013","monitor_tags":["*"],"recurrence":{"period":1,"type":"days"},"scope":["*"],"start":4097124660,"timezone":"UTC"}
form: {}
headers:
Accept:
- application/json
Content-Type:
- application/json
url: https://api.datadoghq.com/api/v1/downtime
method: POST
response:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
transfer_encoding:
- chunked
trailer: {}
content_length: -1
uncompressed: true
body: |
{"id":6253331960,"monitor_id":null,"org_id":321813,"start":4097124660,"end":4097160000,"canceled":null,"created":1768832015,"modified":1768832015,"message":"tf-TestAccDatadogDowntimeDates-local-1768832013","active":false,"disabled":false,"recurrence":{"type":"days","period":1,"week_days":null,"until_occurrences":null,"until_date":null},"timezone":"UTC","parent_id":null,"child_id":null,"creator_id":21235577,"updater_id":null,"downtime_type":0,"status":"scheduled","monitor_tags":["*"],"mute_first_recovery_notification":false,"notify_end_types":["expired"],"notify_end_states":["alert","no data","warn"],"uuid":"6ae3c16a-5db3-4ca8-aaed-9baa4dfc6edc","scope":["*"]}
headers:
Content-Type:
- application/json
status: 200 OK
code: 200
duration: 881.557084ms
- id: 1
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
content_length: 0
transfer_encoding: []
trailer: {}
host: api.datadoghq.com
remote_addr: ""
request_uri: ""
body: ""
form: {}
headers:
Accept:
- application/json
url: https://api.datadoghq.com/api/v1/downtime/6253331960
method: GET
response:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
transfer_encoding:
- chunked
trailer: {}
content_length: -1
uncompressed: true
body: |
{"id":6253331960,"monitor_id":null,"org_id":321813,"start":4097124660,"end":4097160000,"canceled":null,"created":1768832015,"modified":1768832015,"message":"tf-TestAccDatadogDowntimeDates-local-1768832013","active":false,"disabled":false,"recurrence":{"type":"days","period":1,"week_days":null,"until_occurrences":null,"until_date":null},"timezone":"UTC","parent_id":null,"child_id":null,"creator_id":21235577,"updater_id":null,"downtime_type":0,"status":"scheduled","monitor_tags":["*"],"mute_first_recovery_notification":false,"notify_end_types":["expired"],"notify_end_states":["alert","no data","warn"],"uuid":"6ae3c16a-5db3-4ca8-aaed-9baa4dfc6edc","scope":["*"]}
headers:
Content-Type:
- application/json
status: 200 OK
code: 200
duration: 171.272ms
- id: 2
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
content_length: 0
transfer_encoding: []
trailer: {}
host: api.datadoghq.com
remote_addr: ""
request_uri: ""
body: ""
form: {}
headers:
Accept:
- application/json
url: https://api.datadoghq.com/api/v1/downtime/6253331960
method: GET
response:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
transfer_encoding:
- chunked
trailer: {}
content_length: -1
uncompressed: true
body: |
{"id":6253331960,"monitor_id":null,"org_id":321813,"start":4097124660,"end":4097160000,"canceled":null,"created":1768832015,"modified":1768832015,"message":"tf-TestAccDatadogDowntimeDates-local-1768832013","active":false,"disabled":false,"recurrence":{"type":"days","period":1,"week_days":null,"until_occurrences":null,"until_date":null},"timezone":"UTC","parent_id":null,"child_id":null,"creator_id":21235577,"updater_id":null,"downtime_type":0,"status":"scheduled","monitor_tags":["*"],"mute_first_recovery_notification":false,"notify_end_types":["expired"],"notify_end_states":["alert","no data","warn"],"uuid":"6ae3c16a-5db3-4ca8-aaed-9baa4dfc6edc","scope":["*"]}
headers:
Content-Type:
- application/json
status: 200 OK
code: 200
duration: 160.259917ms
- id: 3
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
content_length: 0
transfer_encoding: []
trailer: {}
host: api.datadoghq.com
remote_addr: ""
request_uri: ""
body: ""
form: {}
headers:
Accept:
- '*/*'
url: https://api.datadoghq.com/api/v1/downtime/6253331960
method: DELETE
response:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
transfer_encoding: []
trailer: {}
content_length: 0
uncompressed: false
body: ""
headers:
Content-Type:
- text/html; charset=utf-8
status: 204 No Content
code: 204
duration: 312.011125ms
- id: 4
request:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
content_length: 0
transfer_encoding: []
trailer: {}
host: api.datadoghq.com
remote_addr: ""
request_uri: ""
body: ""
form: {}
headers:
Accept:
- application/json
url: https://api.datadoghq.com/api/v1/downtime/6253331960
method: GET
response:
proto: HTTP/1.1
proto_major: 1
proto_minor: 1
transfer_encoding:
- chunked
trailer: {}
content_length: -1
uncompressed: true
body: |
{"id":6253331960,"monitor_id":null,"org_id":321813,"start":4097124660,"end":4097160000,"canceled":1768832016,"created":1768832015,"modified":1768832016,"message":"tf-TestAccDatadogDowntimeDates-local-1768832013","active":false,"disabled":true,"recurrence":{"type":"days","period":1,"week_days":null,"until_occurrences":null,"until_date":null},"timezone":"UTC","parent_id":null,"child_id":null,"creator_id":21235577,"updater_id":21235577,"downtime_type":0,"status":"canceled","monitor_tags":["*"],"mute_first_recovery_notification":false,"notify_end_types":["expired"],"notify_end_states":["alert","no data","warn"],"uuid":"6ae3c16a-5db3-4ca8-aaed-9baa4dfc6edc","scope":["*"]}
headers:
Content-Type:
- application/json
status: 200 OK
code: 200
duration: 167.240583ms
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2022-04-21T12:24:41.178503-04:00
2026-01-19T15:13:33.036617+01:00
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
---
version: 2
interactions: []
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2022-04-21T12:24:41.177618-04:00
2026-01-19T15:13:33.040625+01:00
Loading
Loading