diff options
author | Paul Stack <public@paulstack.co.uk> | 2017-02-16 16:20:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-16 16:20:23 +0200 |
commit | e7c3fa5620554870596fc3291745089b49eccf8a (patch) | |
tree | 3369dd19351508179724110fbb46b868a179b0c5 | |
parent | 90db3fb0ba1aff53f83ece8f5d62f56943ed090e (diff) | |
download | terraform-provider-statuscake-e7c3fa5620554870596fc3291745089b49eccf8a.tar.gz terraform-provider-statuscake-e7c3fa5620554870596fc3291745089b49eccf8a.tar.zst terraform-provider-statuscake-e7c3fa5620554870596fc3291745089b49eccf8a.zip |
provider/statuscake: Fixing up the StatusCake acceptance tests (#12006)
```
% make testacc TEST=./builtin/providers/statuscake 2 ↵ ✹
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/02/16 15:30:40 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/statuscake -v -timeout 120m
=== RUN TestProvider
--- PASS: TestProvider (0.00s)
=== RUN TestProvider_impl
--- PASS: TestProvider_impl (0.00s)
=== RUN TestAccStatusCake_basic
--- PASS: TestAccStatusCake_basic (2.14s)
=== RUN TestAccStatusCake_tcp
--- PASS: TestAccStatusCake_tcp (1.66s)
=== RUN TestAccStatusCake_withUpdate
--- PASS: TestAccStatusCake_withUpdate (3.62s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/statuscake 7.435s
```
-rw-r--r-- | resource_statuscaketest_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/resource_statuscaketest_test.go b/resource_statuscaketest_test.go index 17940ed..d38dc1c 100644 --- a/resource_statuscaketest_test.go +++ b/resource_statuscaketest_test.go | |||
@@ -168,7 +168,7 @@ resource "statuscake_test" "google" { | |||
168 | test_type = "HTTP" | 168 | test_type = "HTTP" |
169 | check_rate = 300 | 169 | check_rate = 300 |
170 | timeout = 10 | 170 | timeout = 10 |
171 | contact_id = 12345 | 171 | contact_id = 43402 |
172 | confirmations = 1 | 172 | confirmations = 1 |
173 | } | 173 | } |
174 | ` | 174 | ` |
@@ -190,7 +190,7 @@ resource "statuscake_test" "google" { | |||
190 | test_type = "TCP" | 190 | test_type = "TCP" |
191 | check_rate = 300 | 191 | check_rate = 300 |
192 | timeout = 10 | 192 | timeout = 10 |
193 | contact_id = 12345 | 193 | contact_id = 43402 |
194 | confirmations = 1 | 194 | confirmations = 1 |
195 | port = 80 | 195 | port = 80 |
196 | } | 196 | } |