aboutsummaryrefslogtreecommitdiffhomepage
path: root/mailgun
diff options
context:
space:
mode:
authorAlexandre Garand <alexandre.garand@fretlink.com>2019-07-03 10:20:50 +0200
committerAlexandre Garand <alexandre.garand@fretlink.com>2019-07-03 10:20:50 +0200
commit3d14d0f6d5028255ced812725e0b2d917d32eaa6 (patch)
tree4a4bc2a2774d49b9a556ac8f100082023edae7d7 /mailgun
parent40587421e8d9da047c5e5d64f7b7e774c7622407 (diff)
downloadterraform-provider-mailgun-3d14d0f6d5028255ced812725e0b2d917d32eaa6.tar.gz
terraform-provider-mailgun-3d14d0f6d5028255ced812725e0b2d917d32eaa6.tar.zst
terraform-provider-mailgun-3d14d0f6d5028255ced812725e0b2d917d32eaa6.zip
update test
Diffstat (limited to 'mailgun')
-rw-r--r--mailgun/resource_mailgun_domain.go2
-rw-r--r--mailgun/resource_mailgun_domain_test.go10
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 {
208const testAccDomainConfig_basic = ` 208const testAccDomainConfig_basic = `
209resource "mailgun_domain" "exemple" { 209resource "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
214const testAccDomainConfig_update = ` 219const testAccDomainConfig_update = `
215resource "mailgun_domain" "exemple" { 220resource "mailgun_domain" "exemple" {
216 name="%s" 221 name="%s"
222 credentials{
223 login="aaaaaaa"
224 password="adfshfjqdskjhgfksdgfkqgfk"
225 }
226
217} 227}
218` 228`