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

fixed tests. should fail #14878

Merged
merged 5 commits into from
Jun 5, 2017

Conversation

opteemister
Copy link
Contributor

No description provided.

@opteemister
Copy link
Contributor Author

opteemister commented May 27, 2017

That's strange. 1st commit should fail tests, but passed. 2nd commit should pass tests, but failed.
1st - because there are no changes of required field were made. You can see it from changes in 2nd commit
2nd - That should be there because of https://github.com/zorkian/go-datadog-api/blob/master/monitors.go#L47
I found autogenerated file vendor/gopkg.in/zorkian/go-datadog-api.v2/datadog-accessors.go which should fit to that change, but I don't know how to check if it applies latest changes.

Can someone help me with this? Or advice how to improve this?

@opteemister
Copy link
Contributor Author

@stack72 could you please review this? I hope that fix will be in the next version of terraform. Thanks

@stack72
Copy link
Contributor

stack72 commented Jun 5, 2017

Hi @opteemister

Sorry for the delay here - this LGTM!

% make testacc TEST=./builtin/providers/datadog                                                                                              ✭
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/06/05 14:45:34 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/datadog -v  -timeout 120m
=== RUN   TestDatadogDowntime_import
--- PASS: TestDatadogDowntime_import (4.22s)
=== RUN   TestDatadogMonitor_import
--- PASS: TestDatadogMonitor_import (4.76s)
=== RUN   TestDatadogUser_import
--- PASS: TestDatadogUser_import (6.38s)
=== RUN   TestProvider
--- PASS: TestProvider (0.00s)
=== RUN   TestProvider_impl
--- PASS: TestProvider_impl (0.00s)
=== RUN   TestAccDatadogDowntime_Basic
--- PASS: TestAccDatadogDowntime_Basic (2.82s)
=== RUN   TestAccDatadogDowntime_BasicMultiScope
--- PASS: TestAccDatadogDowntime_BasicMultiScope (2.87s)
=== RUN   TestAccDatadogDowntime_BasicNoRecurrence
--- PASS: TestAccDatadogDowntime_BasicNoRecurrence (2.64s)
=== RUN   TestAccDatadogDowntime_BasicUntilDateRecurrence
--- PASS: TestAccDatadogDowntime_BasicUntilDateRecurrence (3.00s)
=== RUN   TestAccDatadogDowntime_BasicUntilOccurrencesRecurrence
--- PASS: TestAccDatadogDowntime_BasicUntilOccurrencesRecurrence (2.85s)
=== RUN   TestAccDatadogDowntime_WeekDayRecurring
--- PASS: TestAccDatadogDowntime_WeekDayRecurring (3.04s)
=== RUN   TestAccDatadogDowntime_Updated
--- PASS: TestAccDatadogDowntime_Updated (5.69s)
=== RUN   TestAccDatadogDowntime_TrimWhitespace
--- PASS: TestAccDatadogDowntime_TrimWhitespace (2.87s)
=== RUN   TestResourceDatadogDowntimeRecurrenceTypeValidation
--- PASS: TestResourceDatadogDowntimeRecurrenceTypeValidation (0.00s)
=== RUN   TestResourceDatadogDowntimeRecurrenceWeekDaysValidation
--- PASS: TestResourceDatadogDowntimeRecurrenceWeekDaysValidation (0.00s)
=== RUN   TestAccDatadogMonitor_Basic
--- PASS: TestAccDatadogMonitor_Basic (3.42s)
=== RUN   TestAccDatadogMonitor_BasicNoTreshold
--- PASS: TestAccDatadogMonitor_BasicNoTreshold (3.22s)
=== RUN   TestAccDatadogMonitor_Updated
--- PASS: TestAccDatadogMonitor_Updated (8.02s)
=== RUN   TestAccDatadogMonitor_TrimWhitespace
--- PASS: TestAccDatadogMonitor_TrimWhitespace (3.22s)
=== RUN   TestAccDatadogMonitor_Basic_float_int
--- PASS: TestAccDatadogMonitor_Basic_float_int (6.65s)
=== RUN   TestAccDatadogTimeboard_update
--- PASS: TestAccDatadogTimeboard_update (10.01s)
=== RUN   TestValidateAggregatorMethod
--- PASS: TestValidateAggregatorMethod (0.00s)
=== RUN   TestAccDatadogUser_Updated
--- PASS: TestAccDatadogUser_Updated (7.17s)
PASS
ok  	github.com/hashicorp/terraform/builtin/providers/datadog	82.874s

Paul

@stack72 stack72 merged commit bc83cae into hashicorp:master Jun 5, 2017
@ghost
Copy link

ghost commented Apr 11, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants