Skip to content

Commit 3d077b4

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Fix retry count for public documentation (#1688)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent d18397b commit 3d077b4

13 files changed

+33
-31
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2023-09-27 19:58:16.875808",
8-
"spec_repo_commit": "b001e122"
7+
"regenerated": "2023-09-27 21:01:00.369843",
8+
"spec_repo_commit": "e497e690"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2023-09-27 19:58:16.910041",
13-
"spec_repo_commit": "b001e122"
12+
"regenerated": "2023-09-27 21:01:00.384197",
13+
"spec_repo_commit": "e497e690"
1414
}
1515
}
1616
}

examples/v1/synthetics/CreateSyntheticsBrowserTest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
min_location_failed=1,
6363
no_screenshot=True,
6464
retry=SyntheticsTestOptionsRetry(
65-
count=3,
65+
count=2,
6666
interval=10.0,
6767
),
6868
tick_every=300,

examples/v1/synthetics/CreateSyntheticsBrowserTest_2932742688.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
min_location_failed=1,
5757
no_screenshot=True,
5858
retry=SyntheticsTestOptionsRetry(
59-
count=3,
59+
count=2,
6060
interval=10.0,
6161
),
6262
rum_settings=SyntheticsBrowserTestRumSettings(

examples/v1/synthetics/CreateSyntheticsBrowserTest_397420811.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
min_location_failed=1,
5555
no_screenshot=True,
5656
retry=SyntheticsTestOptionsRetry(
57-
count=3,
57+
count=2,
5858
interval=10.0,
5959
),
6060
tick_every=300,
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2022-08-30T12:58:36.103Z
1+
2023-09-26T16:16:35.258Z

tests/v1/cassettes/test_scenarios/test_create_a_browser_test_returns_ok_returns_saved_rumsettings_response.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
interactions:
22
- request:
33
body: '{"config":{"assertions":[],"configVariables":[{"example":"content-type","name":"PROPERTY","pattern":"content-type","type":"text"}],"request":{"certificateDomains":["https://datadoghq.com"],"method":"GET","url":"https://datadoghq.com"},"setCookie":"name:test"},"locations":["aws:us-east-2"],"message":"Test
4-
message","name":"Test-Create_a_browser_test_returns_OK_Returns_saved_rumSettings_response-1661864316","options":{"accept_self_signed":false,"allow_insecure":true,"ci":{"executionRule":"skipped"},"device_ids":["tablet"],"disableCors":true,"disableCsp":true,"follow_redirects":true,"ignoreServerCertificateError":true,"initialNavigationTimeout":200,"min_failure_duration":10,"min_location_failed":1,"noScreenshot":true,"retry":{"count":3,"interval":10},"rumSettings":{"applicationId":"mockApplicationId","clientTokenId":12345,"isEnabled":true},"tick_every":300},"steps":[{"allowFailure":false,"isCritical":true,"name":"Refresh
4+
message","name":"Test-Create_a_browser_test_returns_OK_Returns_saved_rumSettings_response-1695744995","options":{"accept_self_signed":false,"allow_insecure":true,"ci":{"executionRule":"skipped"},"device_ids":["tablet"],"disableCors":true,"disableCsp":true,"follow_redirects":true,"ignoreServerCertificateError":true,"initialNavigationTimeout":200,"min_failure_duration":10,"min_location_failed":1,"noScreenshot":true,"retry":{"count":2,"interval":10},"rumSettings":{"applicationId":"mockApplicationId","clientTokenId":12345,"isEnabled":true},"tick_every":300},"steps":[{"allowFailure":false,"isCritical":true,"name":"Refresh
55
page","params":{},"type":"refresh"}],"tags":["testing:browser"],"type":"browser"}'
66
headers:
77
accept:
@@ -12,17 +12,17 @@ interactions:
1212
uri: https://api.datadoghq.com/api/v1/synthetics/tests/browser
1313
response:
1414
body:
15-
string: '{"status":"paused","public_id":"jsu-a6z-5fw","tags":["testing:browser"],"org_id":321813,"locations":["aws:us-east-2"],"message":"Test
16-
message","deleted_at":null,"name":"Test-Create_a_browser_test_returns_OK_Returns_saved_rumSettings_response-1661864316","monitor_id":81568552,"type":"browser","created_at":"2022-08-30T12:58:36.698302+00:00","modified_at":"2022-08-30T12:58:36.698302+00:00","steps":[{"name":"Refresh
17-
page","allowFailure":false,"params":{},"isCritical":true,"type":"refresh"}],"config":{"setCookie":"name:test","request":{"url":"https://datadoghq.com","certificateDomains":["https://datadoghq.com"],"method":"GET"},"assertions":[],"configVariables":[{"pattern":"content-type","type":"text","example":"content-type","name":"PROPERTY"}]},"options":{"disableCsp":true,"accept_self_signed":false,"retry":{"count":3,"interval":10},"min_location_failed":1,"allow_insecure":true,"follow_redirects":true,"min_failure_duration":10,"ci":{"executionRule":"skipped"},"noScreenshot":true,"rumSettings":{"isEnabled":true,"applicationId":"mockApplicationId","clientTokenId":12345},"initialNavigationTimeout":200,"disableCors":true,"device_ids":["tablet"],"tick_every":300,"ignoreServerCertificateError":true}}'
15+
string: '{"public_id":"xe7-4ub-t2m","name":"Test-Create_a_browser_test_returns_OK_Returns_saved_rumSettings_response-1695744995","status":"paused","type":"browser","tags":["testing:browser"],"created_at":"2023-09-26T16:16:35.485692+00:00","modified_at":"2023-09-26T16:16:35.485692+00:00","config":{"assertions":[],"configVariables":[{"example":"content-type","name":"PROPERTY","pattern":"content-type","type":"text"}],"request":{"certificateDomains":["https://datadoghq.com"],"method":"GET","url":"https://datadoghq.com"},"setCookie":"name:test"},"message":"Test
16+
message","options":{"accept_self_signed":false,"allow_insecure":true,"ci":{"executionRule":"skipped"},"device_ids":["tablet"],"disableCors":true,"disableCsp":true,"follow_redirects":true,"ignoreServerCertificateError":true,"initialNavigationTimeout":200,"min_failure_duration":10,"min_location_failed":1,"noScreenshot":true,"retry":{"count":2,"interval":10},"rumSettings":{"applicationId":"mockApplicationId","clientTokenId":12345,"isEnabled":true},"tick_every":300},"locations":["aws:us-east-2"],"created_by":{"name":null,"handle":"[email protected]","email":"[email protected]"},"deleted_at":null,"monitor_id":132050365,"org_id":321813,"modified_by":{"name":null,"handle":"[email protected]","email":"[email protected]"},"steps":[{"name":"Refresh
17+
page","params":{},"type":"refresh","allowFailure":false,"isCritical":true}],"stepCount":{"assertions":0,"subtests":0,"total":1}}'
1818
headers:
1919
content-type:
2020
- application/json
2121
status:
2222
code: 200
2323
message: OK
2424
- request:
25-
body: '{"public_ids":["jsu-a6z-5fw"]}'
25+
body: '{"public_ids":["xe7-4ub-t2m"]}'
2626
headers:
2727
accept:
2828
- application/json
@@ -32,7 +32,9 @@ interactions:
3232
uri: https://api.datadoghq.com/api/v1/synthetics/tests/delete
3333
response:
3434
body:
35-
string: '{"deleted_tests":[{"deleted_at":"2022-08-30T12:58:42.293815+00:00","public_id":"jsu-a6z-5fw"}]}'
35+
string: '{"deleted_tests":[{"public_id":"xe7-4ub-t2m","deleted_at":"2023-09-26T16:16:35.702812+00:00"}]}
36+
37+
'
3638
headers:
3739
content-type:
3840
- application/json
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2023-05-17T14:58:39.831Z
1+
2023-09-26T16:16:35.839Z

tests/v1/cassettes/test_scenarios/test_create_a_browser_test_returns_ok_returns_the_created_test_details_response.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
interactions:
22
- request:
33
body: '{"config":{"assertions":[],"configVariables":[{"example":"content-type","name":"PROPERTY","pattern":"content-type","secure":true,"type":"text"}],"request":{"method":"GET","url":"https://datadoghq.com"},"setCookie":"name:test","variables":[{"example":"secret","name":"TEST_VARIABLE","pattern":"secret","secure":true,"type":"text"}]},"locations":["aws:us-east-2"],"message":"Test
4-
message","name":"Test-Create_a_browser_test_returns_OK_Returns_the_created_test_details_response-1684335519","options":{"accept_self_signed":false,"allow_insecure":true,"device_ids":["tablet"],"disableCors":true,"follow_redirects":true,"min_failure_duration":10,"min_location_failed":1,"noScreenshot":true,"retry":{"count":3,"interval":10},"tick_every":300},"steps":[{"allowFailure":false,"isCritical":true,"name":"Refresh
4+
message","name":"Test-Create_a_browser_test_returns_OK_Returns_the_created_test_details_response-1695744995","options":{"accept_self_signed":false,"allow_insecure":true,"device_ids":["tablet"],"disableCors":true,"follow_redirects":true,"min_failure_duration":10,"min_location_failed":1,"noScreenshot":true,"retry":{"count":2,"interval":10},"tick_every":300},"steps":[{"allowFailure":false,"isCritical":true,"name":"Refresh
55
page","params":{},"type":"refresh"}],"tags":["testing:browser"],"type":"browser"}'
66
headers:
77
accept:
@@ -12,17 +12,17 @@ interactions:
1212
uri: https://api.datadoghq.com/api/v1/synthetics/tests/browser
1313
response:
1414
body:
15-
string: '{"public_id":"mwh-zx5-9qv","name":"Test-Create_a_browser_test_returns_OK_Returns_the_created_test_details_response-1684335519","status":"paused","type":"browser","tags":["testing:browser"],"created_at":"2023-05-17T14:58:40.195477+00:00","modified_at":"2023-05-17T14:58:40.195477+00:00","config":{"assertions":[],"configVariables":[{"name":"PROPERTY","secure":true,"type":"text"}],"request":{"method":"GET","url":"https://datadoghq.com"},"setCookie":"name:test","variables":[{"name":"TEST_VARIABLE","secure":true,"type":"text"}]},"message":"Test
16-
message","options":{"accept_self_signed":false,"allow_insecure":true,"device_ids":["tablet"],"disableCors":true,"follow_redirects":true,"min_failure_duration":10,"min_location_failed":1,"noScreenshot":true,"retry":{"count":3,"interval":10},"tick_every":300},"locations":["aws:us-east-2"],"deleted_at":null,"monitor_id":119298217,"org_id":321813,"steps":[{"name":"Refresh
17-
page","params":{},"type":"refresh","allowFailure":false,"isCritical":true}]}'
15+
string: '{"public_id":"nrw-sne-nnu","name":"Test-Create_a_browser_test_returns_OK_Returns_the_created_test_details_response-1695744995","status":"paused","type":"browser","tags":["testing:browser"],"created_at":"2023-09-26T16:16:36.081358+00:00","modified_at":"2023-09-26T16:16:36.081358+00:00","config":{"assertions":[],"configVariables":[{"name":"PROPERTY","secure":true,"type":"text"}],"request":{"method":"GET","url":"https://datadoghq.com"},"setCookie":"name:test","variables":[{"name":"TEST_VARIABLE","secure":true,"type":"text"}]},"message":"Test
16+
message","options":{"accept_self_signed":false,"allow_insecure":true,"device_ids":["tablet"],"disableCors":true,"follow_redirects":true,"min_failure_duration":10,"min_location_failed":1,"noScreenshot":true,"retry":{"count":2,"interval":10},"tick_every":300},"locations":["aws:us-east-2"],"created_by":{"name":null,"handle":"[email protected]","email":"[email protected]"},"deleted_at":null,"monitor_id":132050366,"org_id":321813,"modified_by":{"name":null,"handle":"[email protected]","email":"[email protected]"},"steps":[{"name":"Refresh
17+
page","params":{},"type":"refresh","allowFailure":false,"isCritical":true}],"stepCount":{"assertions":0,"subtests":0,"total":1}}'
1818
headers:
1919
content-type:
2020
- application/json
2121
status:
2222
code: 200
2323
message: OK
2424
- request:
25-
body: '{"public_ids":["mwh-zx5-9qv"]}'
25+
body: '{"public_ids":["nrw-sne-nnu"]}'
2626
headers:
2727
accept:
2828
- application/json
@@ -32,7 +32,7 @@ interactions:
3232
uri: https://api.datadoghq.com/api/v1/synthetics/tests/delete
3333
response:
3434
body:
35-
string: '{"deleted_tests":[{"public_id":"mwh-zx5-9qv","deleted_at":"2023-05-17T14:58:40.497772+00:00"}]}
35+
string: '{"deleted_tests":[{"public_id":"nrw-sne-nnu","deleted_at":"2023-09-26T16:16:36.330841+00:00"}]}
3636
3737
'
3838
headers:
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2023-01-18T15:32:01.522Z
1+
2023-09-26T16:16:36.921Z

tests/v1/cassettes/test_scenarios/test_create_a_browser_test_with_advanced_scheduling_options_returns_ok_returns_the_created_test_details_response.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
interactions:
22
- request:
33
body: '{"config":{"assertions":[],"configVariables":[{"example":"content-type","name":"PROPERTY","pattern":"content-type","type":"text"}],"request":{"method":"GET","url":"https://datadoghq.com"},"setCookie":"name:test"},"locations":["aws:us-east-2"],"message":"Test
4-
message","name":"Test-Create_a_browser_test_with_advanced_scheduling_options_returns_OK_Returns_the_created_test_details_r-1674055921","options":{"accept_self_signed":false,"allow_insecure":true,"device_ids":["tablet"],"disableCors":true,"follow_redirects":true,"min_failure_duration":10,"min_location_failed":1,"noScreenshot":true,"retry":{"count":3,"interval":10},"scheduling":{"timeframes":[{"day":1,"from":"07:00","to":"16:00"},{"day":3,"from":"07:00","to":"16:00"}],"timezone":"America/New_York"},"tick_every":300},"steps":[{"allowFailure":false,"isCritical":true,"name":"Refresh
4+
message","name":"Test-Create_a_browser_test_with_advanced_scheduling_options_returns_OK_Returns_the_created_test_details_r-1695744996","options":{"accept_self_signed":false,"allow_insecure":true,"device_ids":["tablet"],"disableCors":true,"follow_redirects":true,"min_failure_duration":10,"min_location_failed":1,"noScreenshot":true,"retry":{"count":2,"interval":10},"scheduling":{"timeframes":[{"day":1,"from":"07:00","to":"16:00"},{"day":3,"from":"07:00","to":"16:00"}],"timezone":"America/New_York"},"tick_every":300},"steps":[{"allowFailure":false,"isCritical":true,"name":"Refresh
55
page","params":{},"type":"refresh"}],"tags":["testing:browser"],"type":"browser"}'
66
headers:
77
accept:
@@ -12,17 +12,17 @@ interactions:
1212
uri: https://api.datadoghq.com/api/v1/synthetics/tests/browser
1313
response:
1414
body:
15-
string: '{"status":"paused","public_id":"f8y-yzi-hv8","tags":["testing:browser"],"org_id":321813,"locations":["aws:us-east-2"],"message":"Test
16-
message","deleted_at":null,"name":"Test-Create_a_browser_test_with_advanced_scheduling_options_returns_OK_Returns_the_created_test_details_r-1674055921","monitor_id":108240886,"type":"browser","created_at":"2023-01-18T15:32:01.800845+00:00","modified_at":"2023-01-18T15:32:01.800845+00:00","steps":[{"name":"Refresh
17-
page","allowFailure":false,"params":{},"isCritical":true,"type":"refresh"}],"config":{"setCookie":"name:test","request":{"url":"https://datadoghq.com","method":"GET"},"assertions":[],"configVariables":[{"pattern":"content-type","type":"text","example":"content-type","name":"PROPERTY"}]},"options":{"accept_self_signed":false,"retry":{"count":3,"interval":10},"min_location_failed":1,"allow_insecure":true,"follow_redirects":true,"min_failure_duration":10,"noScreenshot":true,"disableCors":true,"scheduling":{"timezone":"America/New_York","timeframes":[{"to":"16:00","from":"07:00","day":1},{"to":"16:00","from":"07:00","day":3}]},"device_ids":["tablet"],"tick_every":300}}'
15+
string: '{"public_id":"6mk-9ey-6p5","name":"Test-Create_a_browser_test_with_advanced_scheduling_options_returns_OK_Returns_the_created_test_details_r-1695744996","status":"paused","type":"browser","tags":["testing:browser"],"created_at":"2023-09-26T16:16:37.134602+00:00","modified_at":"2023-09-26T16:16:37.134602+00:00","config":{"assertions":[],"configVariables":[{"example":"content-type","name":"PROPERTY","pattern":"content-type","type":"text"}],"request":{"method":"GET","url":"https://datadoghq.com"},"setCookie":"name:test"},"message":"Test
16+
message","options":{"accept_self_signed":false,"allow_insecure":true,"device_ids":["tablet"],"disableCors":true,"follow_redirects":true,"min_failure_duration":10,"min_location_failed":1,"noScreenshot":true,"retry":{"count":2,"interval":10},"scheduling":{"timeframes":[{"day":1,"from":"07:00","to":"16:00"},{"day":3,"from":"07:00","to":"16:00"}],"timezone":"America/New_York"},"tick_every":300},"locations":["aws:us-east-2"],"created_by":{"name":null,"handle":"[email protected]","email":"[email protected]"},"deleted_at":null,"monitor_id":132050367,"org_id":321813,"modified_by":{"name":null,"handle":"[email protected]","email":"[email protected]"},"steps":[{"name":"Refresh
17+
page","params":{},"type":"refresh","allowFailure":false,"isCritical":true}],"stepCount":{"assertions":0,"subtests":0,"total":1}}'
1818
headers:
1919
content-type:
2020
- application/json
2121
status:
2222
code: 200
2323
message: OK
2424
- request:
25-
body: '{"public_ids":["f8y-yzi-hv8"]}'
25+
body: '{"public_ids":["6mk-9ey-6p5"]}'
2626
headers:
2727
accept:
2828
- application/json
@@ -32,7 +32,7 @@ interactions:
3232
uri: https://api.datadoghq.com/api/v1/synthetics/tests/delete
3333
response:
3434
body:
35-
string: '{"deleted_tests":[{"deleted_at":"2023-01-18T15:32:02.187090+00:00","public_id":"f8y-yzi-hv8"}]}
35+
string: '{"deleted_tests":[{"public_id":"6mk-9ey-6p5","deleted_at":"2023-09-26T16:16:37.344201+00:00"}]}
3636
3737
'
3838
headers:

0 commit comments

Comments
 (0)