From: Alexandre Garand Date: Wed, 3 Jul 2019 08:20:50 +0000 (+0200) Subject: update test X-Git-Tag: v0.1.0~14 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=3d14d0f6d5028255ced812725e0b2d917d32eaa6;p=github%2Ffretlink%2Fterraform-provider-mailgun.git update test --- 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" + } + } `