Skip to content

Commit

Permalink
Regenerate client from commit 0b10309 of spec repo (#511)
Browse files Browse the repository at this point in the history
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec authored Jul 23, 2021
1 parent 38cc5a8 commit 4209e2a
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.4.1.dev11",
"regenerated": "2021-07-21 11:36:31.229907",
"spec_repo_commit": "a4f22f3"
"regenerated": "2021-07-23 09:17:27.076054",
"spec_repo_commit": "0b10309"
},
"v2": {
"apigentools_version": "1.4.1.dev11",
"regenerated": "2021-07-21 11:36:53.312662",
"spec_repo_commit": "a4f22f3"
"regenerated": "2021-07-23 09:17:49.537097",
"spec_repo_commit": "0b10309"
}
}
}
16 changes: 16 additions & 0 deletions tests/v1/features/synthetics.feature
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,22 @@ Feature: Synthetics
And a valid "appKeyAuth" key in the system
And an instance of "Synthetics" API

@replay-only @skip-python @skip-typescript @skip-java @skip-ruby
Scenario: Client is resilient to enum and oneOf deserialization errors
Given new "ListTests" request
When the request is sent
Then the response status is 200 OK - Returns the list of all Synthetic tests.
And the response "tests" has length 6
And the response "tests[0].config.assertions" has length 3
And the response "tests[0].config.assertions[0].operator" is equal to "lessThan"
And the response "tests[0].config.assertions[2].operator" is equal to "A non existent operator"
And the response "tests[1].config.assertions[0].operator" is equal to "lessThan"
And the response "tests[1].config.assertions[1].type" is equal to "A non existent assertion type"
And the response "tests[2].options.device_ids" has length 3
And the response "tests[2].options.device_ids[2]" is equal to "A non existent device ID"
And the response "tests[3].type" is equal to "A non existent test type"
And the response "tests[4].config.request.method" is equal to "A non existent method"

@generated @skip
Scenario: Create a browser test returns "- JSON format is wrong" response
Given new "CreateSyntheticsBrowserTest" request
Expand Down

0 comments on commit 4209e2a

Please sign in to comment.