test: Turns off ACLs for catalog and health WAN translation tests.
Since this was doing registration to a foreign DC, it needs extra time for the route to the ACL datacenter to be set up. ACLs aren't part of this test, so by disabling them we make this more reliable and converge faster than if we had added a retry.
This commit is contained in:
parent
c77663fe65
commit
b9fb20d0cf
|
@ -195,6 +195,7 @@ func TestCatalogNodes_WanTranslation(t *testing.T) {
|
|||
func(c *Config) {
|
||||
c.Datacenter = "dc1"
|
||||
c.TranslateWanAddrs = true
|
||||
c.ACLDatacenter = ""
|
||||
})
|
||||
defer os.RemoveAll(dir1)
|
||||
defer srv1.Shutdown()
|
||||
|
@ -205,6 +206,7 @@ func TestCatalogNodes_WanTranslation(t *testing.T) {
|
|||
func(c *Config) {
|
||||
c.Datacenter = "dc2"
|
||||
c.TranslateWanAddrs = true
|
||||
c.ACLDatacenter = ""
|
||||
})
|
||||
defer os.RemoveAll(dir2)
|
||||
defer srv2.Shutdown()
|
||||
|
@ -674,6 +676,7 @@ func TestCatalogServiceNodes_WanTranslation(t *testing.T) {
|
|||
func(c *Config) {
|
||||
c.Datacenter = "dc1"
|
||||
c.TranslateWanAddrs = true
|
||||
c.ACLDatacenter = ""
|
||||
})
|
||||
defer os.RemoveAll(dir1)
|
||||
defer srv1.Shutdown()
|
||||
|
@ -684,6 +687,7 @@ func TestCatalogServiceNodes_WanTranslation(t *testing.T) {
|
|||
func(c *Config) {
|
||||
c.Datacenter = "dc2"
|
||||
c.TranslateWanAddrs = true
|
||||
c.ACLDatacenter = ""
|
||||
})
|
||||
defer os.RemoveAll(dir2)
|
||||
defer srv2.Shutdown()
|
||||
|
@ -913,6 +917,7 @@ func TestCatalogNodeServices_WanTranslation(t *testing.T) {
|
|||
func(c *Config) {
|
||||
c.Datacenter = "dc1"
|
||||
c.TranslateWanAddrs = true
|
||||
c.ACLDatacenter = ""
|
||||
})
|
||||
defer os.RemoveAll(dir1)
|
||||
defer srv1.Shutdown()
|
||||
|
@ -923,6 +928,7 @@ func TestCatalogNodeServices_WanTranslation(t *testing.T) {
|
|||
func(c *Config) {
|
||||
c.Datacenter = "dc2"
|
||||
c.TranslateWanAddrs = true
|
||||
c.ACLDatacenter = ""
|
||||
})
|
||||
defer os.RemoveAll(dir2)
|
||||
defer srv2.Shutdown()
|
||||
|
|
|
@ -1280,6 +1280,7 @@ func TestDNS_ServiceLookup_WanAddress(t *testing.T) {
|
|||
func(c *Config) {
|
||||
c.Datacenter = "dc1"
|
||||
c.TranslateWanAddrs = true
|
||||
c.ACLDatacenter = ""
|
||||
}, nil)
|
||||
defer os.RemoveAll(dir1)
|
||||
defer srv1.Shutdown()
|
||||
|
@ -1287,6 +1288,7 @@ func TestDNS_ServiceLookup_WanAddress(t *testing.T) {
|
|||
dir2, srv2 := makeDNSServerConfig(t, func(c *Config) {
|
||||
c.Datacenter = "dc2"
|
||||
c.TranslateWanAddrs = true
|
||||
c.ACLDatacenter = ""
|
||||
}, nil)
|
||||
defer os.RemoveAll(dir2)
|
||||
defer srv2.Shutdown()
|
||||
|
|
|
@ -738,6 +738,7 @@ func TestHealthServiceNodes_WanTranslation(t *testing.T) {
|
|||
func(c *Config) {
|
||||
c.Datacenter = "dc1"
|
||||
c.TranslateWanAddrs = true
|
||||
c.ACLDatacenter = ""
|
||||
})
|
||||
defer os.RemoveAll(dir1)
|
||||
defer srv1.Shutdown()
|
||||
|
@ -748,6 +749,7 @@ func TestHealthServiceNodes_WanTranslation(t *testing.T) {
|
|||
func(c *Config) {
|
||||
c.Datacenter = "dc2"
|
||||
c.TranslateWanAddrs = true
|
||||
c.ACLDatacenter = ""
|
||||
})
|
||||
defer os.RemoveAll(dir2)
|
||||
defer srv2.Shutdown()
|
||||
|
|
Loading…
Reference in New Issue