Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[datadog_synthetics_test] defaults api_step timeout to 60 to avoid it defaulting to 0 #1497

Merged
merged 2 commits into from
Jul 21, 2022

Conversation

AlaricCalmette
Copy link
Contributor

If no timeout is provided, the fact that timeout is of type int makes TF changing it from nil to 0 which is then what is saved by the api. The actual default should be 60.

@AlaricCalmette AlaricCalmette requested review from a team as code owners July 20, 2022 08:59
@AlaricCalmette AlaricCalmette changed the title [Synthetics] defaults api_step timeout to 60 to avoid it defaulting to 0 [datadog_synthetics_test] defaults api_step timeout to 60 to avoid it defaulting to 0 Jul 20, 2022
dajofo
dajofo previously approved these changes Jul 20, 2022
Copy link
Contributor

@dajofo dajofo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

romainberger
romainberger previously approved these changes Jul 20, 2022
@AlaricCalmette AlaricCalmette dismissed stale reviews from romainberger and dajofo via fcd32a9 July 21, 2022 10:02
@AlaricCalmette AlaricCalmette force-pushed the alaric/fix-default-timeout branch from fcd32a9 to 141d628 Compare July 21, 2022 12:14
@therve therve merged commit d212562 into master Jul 21, 2022
@therve therve deleted the alaric/fix-default-timeout branch July 21, 2022 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants