]> git.immae.eu Git - github/fretlink/terraform-provider-mailgun.git/commitdiff
update test
authorAlexandre Garand <alexandre.garand@fretlink.com>
Wed, 3 Jul 2019 08:20:50 +0000 (10:20 +0200)
committerAlexandre Garand <alexandre.garand@fretlink.com>
Wed, 3 Jul 2019 08:20:50 +0000 (10:20 +0200)
mailgun/resource_mailgun_domain.go
mailgun/resource_mailgun_domain_test.go

index 45397cfa59b8bacd1d15484c2bb3b52bc16d3cc5..f859230d964bc24dd37c1ece9eea3dadb72bcbf4 100644 (file)
@@ -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)
 
index 12e172529e384b69b5543b772e06c2f19f575c67..c35df48ad32ce16d9bd3b4a7a1f4a6f82b00a5da 100644 (file)
@@ -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"
+        }
+
 }
 `