From 3d14d0f6d5028255ced812725e0b2d917d32eaa6 Mon Sep 17 00:00:00 2001 From: Alexandre Garand Date: Wed, 3 Jul 2019 10:20:50 +0200 Subject: update test --- mailgun/resource_mailgun_domain.go | 2 +- mailgun/resource_mailgun_domain_test.go | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) (limited to 'mailgun') 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 { d.Set("unsubscribe_tracking_settings_html_footer", domainTracking.Unsubscribe.HTMLFooter) d.Set("unsubscribe_tracking_settings_text_footer", domainTracking.Unsubscribe.TextFooter) - time.Sleep(20 * time.Second) + time.Sleep(25 * time.Second) ipAddress, err := mg.ListDomainIPS(ctx) 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 { const testAccDomainConfig_basic = ` resource "mailgun_domain" "exemple" { name="%s" + wildcard=true + credentials{ + login="aaaaaaa" + password="adfshfjqdskjhgfksdgfkqgfk" + } } ` const testAccDomainConfig_update = ` resource "mailgun_domain" "exemple" { name="%s" + credentials{ + login="aaaaaaa" + password="adfshfjqdskjhgfksdgfkqgfk" + } + } ` -- cgit v1.2.3