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

Fix up the GCP and User tests #238

Merged
merged 2 commits into from
Jun 17, 2019
Merged

Conversation

nmuesch
Copy link
Contributor

@nmuesch nmuesch commented Jun 14, 2019

Fixes up the last two integration tests as of this writing:

TestAccDatadogIntegrationGCP and TestAccDatadogUser_Updated
Neither of these tests were inherently broken, just needed some coercion to play nicely with the CI

GCP:
The project drifted a bit from the CI but is difficult to fix with limited access. This should address that for now while working on a longer term solution

User:
A user may only edit their own email via the API, not someone elses. The CI DD account likely has a test@ user in the org. However this doesn't play nicely with running the integration tests locally. This uses a random user email so we get the same test behavior both on the CI and locally.

@ghost ghost added the size/XS label Jun 14, 2019
Copy link
Contributor

@bkabrda bkabrda left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for fixing these!

@nmuesch nmuesch merged commit 3b5b0af into DataDog:master Jun 17, 2019
@nmuesch nmuesch deleted the nick/update_tests branch June 17, 2019 14:14
jbenais pushed a commit to jbenais/terraform-provider-datadog that referenced this pull request Aug 20, 2019
* Update and fix tests

* Remove the extra log lines
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants