Skip to content

Commit 8d97e63

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit c0ba835 of spec repo
1 parent b81c9b3 commit 8d97e63

File tree

2 files changed

+20
-4
lines changed

2 files changed

+20
-4
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.4.1.dev11",
7-
"regenerated": "2021-07-16 09:58:15.370893",
8-
"spec_repo_commit": "36f6365"
7+
"regenerated": "2021-07-19 12:08:35.179307",
8+
"spec_repo_commit": "c0ba835"
99
},
1010
"v2": {
1111
"apigentools_version": "1.4.1.dev11",
12-
"regenerated": "2021-07-16 09:58:38.548922",
13-
"spec_repo_commit": "36f6365"
12+
"regenerated": "2021-07-19 12:09:03.890376",
13+
"spec_repo_commit": "c0ba835"
1414
}
1515
}
1616
}

tests/v1/features/synthetics.feature

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,22 @@ Feature: Synthetics
1515
And a valid "appKeyAuth" key in the system
1616
And an instance of "Synthetics" API
1717

18+
@replay-only @skip-python @skip-typescript @skip-java @skip-ruby
19+
Scenario: Client is resilient to enum and oneOf deserialization errors
20+
Given new "ListTests" request
21+
When the request is sent
22+
Then the response status is 200 OK - Returns the list of all Synthetic tests.
23+
And the response "tests" has length 6
24+
And the response "tests[0].config.assertions" has length 3
25+
And the response "tests[0].config.assertions[0].operator" is equal to "lessThan"
26+
And the response "tests[0].config.assertions[2].operator" is equal to "A non existent operator"
27+
And the response "tests[1].config.assertions[0].operator" is equal to "lessThan"
28+
And the response "tests[1].config.assertions[1].type" is equal to "A non existent assertion type"
29+
And the response "tests[2].options.device_ids" has length 3
30+
And the response "tests[2].options.device_ids[2]" is equal to "A non existent device ID"
31+
And the response "tests[3].type" is equal to "A non existent test type"
32+
And the response "tests[4].config.request.method" is equal to "A non existent method"
33+
1834
@generated @skip
1935
Scenario: Create a browser test returns "- JSON format is wrong" response
2036
Given new "CreateSyntheticsBrowserTest" request

0 commit comments

Comments
 (0)