diff options
author | Alexandre Garand <alexandre.garand@fretlink.com> | 2019-07-03 10:20:50 +0200 |
---|---|---|
committer | Alexandre Garand <alexandre.garand@fretlink.com> | 2019-07-03 10:20:50 +0200 |
commit | 3d14d0f6d5028255ced812725e0b2d917d32eaa6 (patch) | |
tree | 4a4bc2a2774d49b9a556ac8f100082023edae7d7 | |
parent | 40587421e8d9da047c5e5d64f7b7e774c7622407 (diff) | |
download | terraform-provider-mailgun-3d14d0f6d5028255ced812725e0b2d917d32eaa6.tar.gz terraform-provider-mailgun-3d14d0f6d5028255ced812725e0b2d917d32eaa6.tar.zst terraform-provider-mailgun-3d14d0f6d5028255ced812725e0b2d917d32eaa6.zip |
update test
-rw-r--r-- | mailgun/resource_mailgun_domain.go | 2 | ||||
-rw-r--r-- | mailgun/resource_mailgun_domain_test.go | 10 |
2 files changed, 11 insertions, 1 deletions
diff --git a/mailgun/resource_mailgun_domain.go b/mailgun/resource_mailgun_domain.go index 45397cf..f859230 100644 --- a/mailgun/resource_mailgun_domain.go +++ b/mailgun/resource_mailgun_domain.go | |||
@@ -425,7 +425,7 @@ func ReadDomain(d *schema.ResourceData, meta interface{}) error { | |||
425 | d.Set("unsubscribe_tracking_settings_html_footer", domainTracking.Unsubscribe.HTMLFooter) | 425 | d.Set("unsubscribe_tracking_settings_html_footer", domainTracking.Unsubscribe.HTMLFooter) |
426 | d.Set("unsubscribe_tracking_settings_text_footer", domainTracking.Unsubscribe.TextFooter) | 426 | d.Set("unsubscribe_tracking_settings_text_footer", domainTracking.Unsubscribe.TextFooter) |
427 | 427 | ||
428 | time.Sleep(20 * time.Second) | 428 | time.Sleep(25 * time.Second) |
429 | 429 | ||
430 | ipAddress, err := mg.ListDomainIPS(ctx) | 430 | ipAddress, err := mg.ListDomainIPS(ctx) |
431 | 431 | ||
diff --git a/mailgun/resource_mailgun_domain_test.go b/mailgun/resource_mailgun_domain_test.go index 12e1725..c35df48 100644 --- a/mailgun/resource_mailgun_domain_test.go +++ b/mailgun/resource_mailgun_domain_test.go | |||
@@ -208,11 +208,21 @@ func interpolateTerraformTemplateDomain(template string) string { | |||
208 | const testAccDomainConfig_basic = ` | 208 | const testAccDomainConfig_basic = ` |
209 | resource "mailgun_domain" "exemple" { | 209 | resource "mailgun_domain" "exemple" { |
210 | name="%s" | 210 | name="%s" |
211 | wildcard=true | ||
212 | credentials{ | ||
213 | login="aaaaaaa" | ||
214 | password="adfshfjqdskjhgfksdgfkqgfk" | ||
215 | } | ||
211 | } | 216 | } |
212 | ` | 217 | ` |
213 | 218 | ||
214 | const testAccDomainConfig_update = ` | 219 | const testAccDomainConfig_update = ` |
215 | resource "mailgun_domain" "exemple" { | 220 | resource "mailgun_domain" "exemple" { |
216 | name="%s" | 221 | name="%s" |
222 | credentials{ | ||
223 | login="aaaaaaa" | ||
224 | password="adfshfjqdskjhgfksdgfkqgfk" | ||
225 | } | ||
226 | |||
217 | } | 227 | } |
218 | ` | 228 | ` |